/* —— Panel azul (mapa estratégico) —— */

.login-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}

.login-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #0a1628 0%, #132a52 42%, #1e4080 100%);
}
.login-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(96, 165, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(30, 64, 175, 0.25), transparent 45%);
  pointer-events: none;
}

.login-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.75rem 1.5rem;
  width: 100%;
  max-width: none;
}

/* Marca — logo a la izquierda, textos a la derecha */
.login-hero__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.login-hero__logo {
  height: 3.75rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.login-hero__brand-text {
  min-width: 0;
  flex: 1;
}
.login-hero__title {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  white-space: nowrap;
}
.login-hero__clinic {
  font-size: 0.95rem;
  font-weight: 600;
  color: #93c5fd;
  margin: 0.35rem 0 0;
  white-space: nowrap;
}

.login-hero__divider {
  flex-shrink: 0;
  height: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, rgba(147, 197, 253, 0.6), rgba(147, 197, 253, 0.1));
}

/* Objetivos — lista vertical */
.login-hero__section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-hero__section-title {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7dd3fc;
  margin: 0 0 1rem;
}

.login-hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.login-hero__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s;
}
.login-hero__item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.login-hero__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #fff;
  color: #1e3570;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-hero__item-body {
  flex: 1;
  min-width: 0;
}
.login-hero__item-body h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}
.login-hero__item-body h3 i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #93c5fd;
}

.login-hero__foot {
  flex-shrink: 0;
  padding-top: 1rem;
  font-size: 0.7rem;
  color: #64748b;
  text-align: left;
}

/* —— Formulario —— */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
}

.login-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
}

.login-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-field:focus-within {
  border-color: #29438a;
  box-shadow: 0 0 0 4px rgba(41, 67, 138, 0.12);
}
.login-field__icon {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}
.login-field .login-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.login-field .login-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #0f172a;
}
.login-toggle-pwd {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 0.5rem;
  cursor: pointer;
}
.login-toggle-pwd:hover {
  color: #29438a;
  background: #f1f5f9;
}
.login-submit {
  background: #29438a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(41, 67, 138, 0.25);
  cursor: pointer;
  margin-top: 0.25rem;
}
.login-submit:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
}
.login-submit:not(:disabled):hover {
  background: #1e3570;
}

@media (max-height: 760px) {
  .login-hero__content {
    padding: 1.5rem 2rem 1rem;
  }
  .login-hero__logo {
    height: 3rem;
  }
  .login-hero__title {
    white-space: normal;
    font-size: 1.2rem;
  }
  .login-hero__clinic {
    white-space: normal;
  }
  .login-hero__divider {
    margin: 1rem 0;
  }
  .login-hero__item {
    padding: 0.65rem 0.85rem;
  }
}
