/* ========== CONTENEDOR PRINCIPAL ========== */
html, body {
  background: #f7f7f7;
}

.desk-nav {
  display: none !important;
}

.container {
  width: 100%;
  height: 100vh;
  background: #f7f7f7;
}

/* ========== TITULOS Y ENCABEZADOS ========== */
h1 {
  font-family: var(--font-heading);
  color: #000 !important;
  font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
  padding: 0;
  margin: 0 0 0.5em 0;
  line-height: 1.15;
}

/* ========== SECCIÓN IZQUIERDA (LOGO) ========== */
.left-section {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-section img {
  font-size: clamp(1rem, 0.3rem + 3.5vw, 4.5rem);
  max-width: 6em;
  width: 100%;
  padding: 12px;
  display: block;
}

/* ========== SECCIÓN DERECHA (FORMULARIO) ========== */
.right-section {
  width: 100%;
  padding: 35px 20px;
  margin: auto;
  box-sizing: border-box;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  font-family: var(--font-heading) !important;
  color: var(--color-black);
  font-size: 0.9rem;
  width: 100%;
  line-height: 2.1;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  font-size: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 0.55em 0.7em;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 1.15em;
}

label:last-child input {
  margin-bottom: 0;
}

button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #000;
}

/* ========== TIPOGRAFÍA PERSONALIZADA ========== */
.font-body {
  font-family: var(--font-body) !important;
  font-weight: normal !important;
}
.font-heading {
  font-family: var(--font-heading) !important;
  font-weight: normal !important;
}
/* ========== CAJAS Y CONTENEDORES ========== */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-container label {
  font-weight: normal;
}

.forgot-password a {
  color: #6f6f6f;
  text-decoration: none;
}

.forgot-password a:hover {
  color: var(--color-black);
}

.extra-buttons {
  display: flex;
  grid-gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap; 
}

.extra-buttons button {
  flex: 1;
  margin: 0;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  width: 100%;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

.circle {
  font-size: 16px;
  font-weight: 300;
  color: #9f9f9f;
  padding: 0 25px;
  background: none;
  border: none;
}

p.alert {
  margin-top: 0;
  margin-right: auto;
}

p.alert.success {
  color: #6f6f6f;
}

p.alert.error {
  color: #e5121b;
}

/* ========== CHECKBOX PERSONALIZADO ========== */
.remember-user input[type="checkbox"] {
  display: none;
}

.remember-user label {
  position: relative;
  padding-left: 1.35em;
  cursor: pointer;
  font-size: 1rem;
  color: #6f6f6f;
  user-select: none;
}

.remember-user label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1em;
  height: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  transition: background 0.1s, border-color 0.1s;
  font-size: 1rem;
}

.remember-user label::after {
  content: "";
  position: absolute;
  left: 0.67em;
  font-size: 10px;
  top: 0.4em;
  width: 0.25em;
  height: 0.9em;
  border: solid #333;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.1s, transform 0.1s;
}

.remember-user input[type="checkbox"]:checked + label::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.remember-user label:hover::before {
  border-color: #666;
}

/* ========== LINKS Y CONTENEDORES DE LINKS ========== */
.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 25px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

/* ========== MEDIA QUERIES ========== */
@media screen and (min-width: 999px) {
  header {
      display: none !important;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
      margin-bottom: 1.5em;
      padding: 0.82em 1em;
  }

  label {
      font-size: 1rem;
      line-height: 2.25;
  }

  .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
  }

  .left-section {
      height: 100%;
  }

  .right-section {
      max-width: 95%;
  }
}

@media screen and (min-width: 1350px) {
  .right-section {
      max-width: 80%;
  }
}

@media screen and (min-width: 1550px) {
  .right-section {
      max-width: 70%;
  }
}

@media screen and (min-width: 1650px) {
  .right-section {
      max-width: 60%;
  }
}

@media screen and (max-width: 999px) {
  .left-section {
      display: none;
  }
  .call-gray {
    display: none !important;
}
}