/* ?? Layout general ?? */
.login-wrap {
  display: flex;
  gap: 32px;
  align-items: stretch;
  min-height: 100vh;
}

.login-left,
.login-right {
  flex: 1;
  background: #fff;
}

.login-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-card {
  max-width: 520px;
  width: 100%;
}

/* ?? Marca ?? */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.brand img {
  height: 80px;
}

/* ?? Títulos ?? */
.login-title {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.login-sub {
  color: #666;
  margin: 0 0 18px;
}

/* ?? Formulario ?? */
.login-form .u-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e7e7e9;
  background: #fff;
}

.login-form .u-input:focus {
  outline: none;
  border-color: #cfd0d3;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 16px;
}

.btn-block {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 0;
}

.btn-continue {
  background: #f0f1f3;
  color: #b9bbc1;
  cursor: not-allowed;
}

.btn-continue.enabled {
  background: #5aa638;
  color: #fff;
  cursor: pointer;
}

.divider {
  display: none;
}

.social {
  display: none;
}

/* ?? Ayuda y términos ?? */
.help {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 18px 0;
  color: #111;
}

.terms {
  font-size: 12px;
  color: #8a8b91;
  text-align: center;
  margin-top: 6px;
}

/* ?? Columna derecha ?? */
.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}

.illu-card {
  background: #5aa638;
  border: 5px solid #6eab54;
  border-radius: 20px;
  overflow: hidden;
  max-width: 460px;
  width: 90%;
}

.illu-img {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.illu-copy {
  padding: 20px 22px;
}

.illu-title {
  font-size: 30px;
  margin: 0 0 6px;
}

.illu-sub {
  margin: 0;
  color: black;
}

/* ?? Contraseña ?? */
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  color: #666;
}

.pw-wrap {
  position: relative;
}

/* ?? Responsive ?? */
@media (max-width: 992px) {
  .login-wrap {
    flex-direction: column;
    padding: 20px;
  }
  .login-right {
    order: -1;
  }
}
