* {
  color: #333333;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  overflow-y: auto;
  scrollbar-width: none;
}

body {
  position: relative;
  font-family: var(--font-poppins), sans-serif;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background-color: #f9f9f9;
}

main {
  position: relative;
}

footer {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background-color: #003e79;
  z-index: 0;
  overflow: hidden;
}

footer p {
  color: white;
  max-width: 900px;
  z-index: 2;
  font-size: 1.4rem;
}

.mainContainer {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  height: 100%;
  width: 100%;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  position: relative;
  padding: 1.5rem;
  margin: 1.5rem auto;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  width: 90%;
  max-width: 1500px;
  height: 600px;
  min-height: 520px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #f9f9f9;
  z-index: 0;
}

.containerSection {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.containerForm {
  width: 100%;
  max-width: 450px;
}

.img {
  position: absolute;
  top: 0;
  right: 0;
  width: 725px;
  height: 615px;
  background-image: url("/rock2.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  z-index: -1;
  opacity: 1;
}

.img::after {
  display: flex;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
}

input,
select {
  flex: 1;
  width: 100%;
  min-width: 200px;
  max-width: 500px;
  padding: 0.75rem;
  border: 1px solid #cfcfcf;
  background-color: #fff;
  border-radius: 4px;
  font-size: 1.5rem;
  color: black;
  height: 3.5rem;
}

input:focus,
select:focus {
  background-color: #f9f9f9;
  outline: none;
  box-shadow: 0px 0px 8px 2px rgba(0, 62, 121, 0.5);
  transition: all 0.2s ease-in-out;
}

select:-webkit-scrollbar {
  width: 6px;
}

option {
  font-size: 1.5rem;
}

input[type="checkbox"] {
  min-width: 3rem;
}

.radio-grid {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  background: #fff;
  transition: all 0.25s ease;
  font-size: 1.4rem;
  font-weight: 500;
}

.radio-card:hover {
  border-color: #002b7f;
  background: rgba(0, 43, 127, 0.05);
}

.radio-card input {
  display: none;
}

.radio-ui {
  width: 22px;
  height: 22px;
  border: 2px solid #002b7f;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.radio-ui::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #c9a227;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.radio-card input:checked+.radio-ui::after {
  opacity: 1;
}

.radio-card input:checked~.radio-text {
  color: #002b7f;
  font-weight: 600;
}

.radio-card input:checked {
  +.radio-ui {
    border-color: #002b7f;
  }
}

@media (max-width: 640px) {
  .radio-grid {
    flex-direction: column;
  }
}

label {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}

button {
  font-size: 1.5rem;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  cursor: pointer;
  height: 3.5rem;
}

button:disabled {
  background-color: #bfc6d1;
  cursor: not-allowed;
  opacity: 0.7;
}

.groupInput {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.button {
  font-weight: bold;
  border: none;
  color: #ffffff;
  transition: background-color 0.2s ease;
  max-width: 240px;
}

.buttonSearch {
  background-color: #2563eb;
}

.buttonSearch:hover {
  background-color: #1d4ed8;
}

.buttonCharge {
  background-color: #16a34a;
}

.buttonCharge:hover {
  background-color: #15803d;
}

.buttonCancel {
  background-color: #d32f2f;
}

.buttonCancel:hover {
  background-color: #d12020;
}

.absoluteButton {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
}

ul {
  list-style: none;
  font-size: 1.5rem;
}

.containerInput {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.containerButton {
  display: flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
  width: 100%;
}

a {
  text-decoration: none;
}

.information {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 450px;
  margin-top: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: fit-content;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.informationList {
  list-style: none;
  padding: 0 1rem;
  margin: 0;
}

.informationItem {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #e5e5e5;
  height: 35px;
}

.informationItem:last-child {
  border-bottom: none;
}

.informationKey {
  font-weight: 600;
  text-transform: capitalize;
  min-width: 80px;
}

.informationValue {
  color: #555;
  font-size: 1.25rem;
}

.title {
  top: 0;
  left: 0;
  width: 100%;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: start;
  color: #bd8c01;
  border-bottom: 1px solid #cfcfcf;
  margin-bottom: 10px;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.padding {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggleSection {
  width: 100%;
  max-width: 750px;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: fit-content;
  overflow: hidden;
}

.toggleGroup {
  display: flex;
  background-color: #f3f4f6;
  border-radius: 6px;
  flex-wrap: wrap;
  min-height: 45px;
}

.toggleButton {
  flex: 1;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 500;
  overflow: hidden;
  max-height: 60px;
  padding: 1rem 0.5rem;
  min-width: 100px;
  min-height: 45px;
}

.toggleButton.active {
  font-weight: 600;
  background-color: #ffffff;
  color: rgb(1, 92, 184);
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}

.toggleContent {
  overflow-y: auto;
  scrollbar-width: none;
}

p {
  font-size: 1.5rem;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
  table-layout: auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  color: #333;
}

table th,
table td {
  padding: 1rem 1.5rem;
}

table th {
  position: sticky;
  top: 0;
  color: #ffffff;
  background-color: #2563eb;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  z-index: 2;
  border: none;
  min-height: 35px;
}

table td {
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border: none;
}

table tr {
  background-color: rgb(255, 255, 255);
  transition: background-color 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

thead tr {
  background-color: #2563eb;
  position: relative;
  z-index: 1;
}

tbody tr {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  z-index: 0;
}

tbody tr.hidden {
  transform: translateY(-10px);
  opacity: 0;
  height: 0;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #cfcfcf;
}

table th:first-child,
table td:first-child {
  border-radius: 4px 0 0 4px;
}

table th:last-child,
table td:last-child {
  border-radius: 0 4px 4px 0;
}

.tableContainer {
  margin-top: 10px;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid #cfcfcf;
  max-height: 430px;
  scrollbar-color: rgb(1, 92, 184) rgba(0, 0, 0, 0);
  background-color: #f9f9f9;
  width: 100%;
}

.centerGrid {
  display: grid;
  grid-template-columns: auto 725px;
  justify-content: center;
  align-items: center;
}

.centerGrido {
  display: grid;
  grid-template-columns: auto 200px;
  justify-content: center;
  align-items: center;
}

.impressions-title {
  font-size: 1.75rem;
  font-weight: bold;
  text-align: start;
}

.loginContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.pass {
  display: flex;
  width: 300px;
}

.containerAlert {
  position: absolute;
  background-color: #003e79;
  z-index: 10;
}

.checkbox-grid label {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
  margin: 0;
  padding: 0;
  transform: scale(1);
  /* mantiene el tamaño */
}

@media (max-width: 1330px) {
  .centerGrid {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 1300px) {
  .container {
    width: 100%;
    max-width: none;
  }

  .containerSection {
    overflow: auto;
    scrollbar-width: none;
  }
}

@media (max-width: 800px) {

  .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 650px;
    max-height: 650px;
    border-radius: 0;
  }

  .img {
    background-image: url("/rock.jpg");
    right: 50%;
    transform: translateX(50%);
    width: 600px;
    opacity: 1;
    height: 650px;
  }

  .img::before,
  .img::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
  }

  .img::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
  }

  .img::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, rgba(128, 128, 128, 0));
  }

  .containerSection {
    align-items: start;
    scrollbar-width: none;
  }

  .centerGrid {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  footer p {
    font-size: 1.2rem;
  }

  label {
    font-size: 1.5rem;
  }

  input,
  select {
    font-size: 1.5rem;
  }

  button {
    padding: 1rem 1.5rem;
  }

  .toggleButton {
    padding: 0;
  }

  .toggleSection {
    margin-top: 2rem;
    overflow: auto;
  }

}

@media (max-height: 960px) {
  .container {
    margin: 0;
  }
}

@media (max-width: 700px) {
  .title {
    max-width: 250px;
    overflow-wrap: break-word;
    font-size: 2.2rem;
    min-height: 50px;
    align-items: center;
  }
}