/**
 * anhet login / auth pages
 */

.anhet-auth-page {
  min-height: 100vh;
  background: var(--anhet-surface, #f7faf9);
}

.anhet-auth-shell {
  display: flex;
  min-height: 100vh;
}

/* Left brand panel */
.anhet-auth-brand-panel {
  flex: 1 1 48%;
  background: var(--anhet-hero-gradient);
  color: #fff;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.anhet-auth-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--anhet-hero-glow);
  pointer-events: none;
}

.anhet-auth-brand-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--anhet-orange);
  opacity: 0.12;
  bottom: -80px;
  right: -60px;
  filter: blur(20px);
  pointer-events: none;
}

.anhet-auth-brand-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.anhet-auth-brand-logo .anhet-auth-logo-img {
  max-height: 56px !important;
  width: auto;
  display: block;
  margin-bottom: 2rem;
}

.anhet-auth-brand-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.anhet-auth-brand-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
}

.anhet-auth-brand-tagline::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--anhet-orange);
  box-shadow: 0 0 0 4px rgba(245, 145, 33, 0.25);
}

.anhet-auth-brand-text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Right form panel */
.anhet-auth-form-panel {
  flex: 1 1 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.anhet-auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(26, 127, 127, 0.1);
  box-shadow:
    0 4px 6px rgba(18, 61, 46, 0.04),
    0 20px 48px rgba(18, 61, 46, 0.1);
  overflow: hidden;
}

.anhet-auth-card-top {
  height: 4px;
  background: linear-gradient(90deg, var(--anhet-green-dark), var(--anhet-teal), var(--anhet-orange));
}

.anhet-auth-card-body {
  padding: 2rem 2rem 2.25rem;
}

.anhet-auth-mobile-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.anhet-auth-mobile-logo img {
  max-height: 44px !important;
  width: auto;
}

.anhet-auth-card h4 {
  color: var(--anhet-green-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.anhet-auth-card .auth-subtitle {
  color: #697a8d;
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.anhet-auth-card .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--anhet-green-dark);
  margin-bottom: 0.4rem;
}

.anhet-auth-card .form-control {
  border-radius: 12px;
  border-color: #d9dee3;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  min-height: 2.75rem;
}

.anhet-auth-card .form-control:focus {
  border-color: var(--anhet-teal);
  box-shadow: 0 0 0 0.2rem var(--anhet-teal-soft);
}

.anhet-auth-card .input-group-merge .input-group-text {
  border-radius: 0 12px 12px 0;
  border-color: #d9dee3;
  background: #f8fafc;
  color: #697a8d;
}

.anhet-auth-card .input-group-merge .form-control {
  border-radius: 12px 0 0 12px !important;
}

.anhet-auth-card .input-group-merge:focus-within .input-group-text {
  border-color: var(--anhet-teal);
}

.anhet-auth-card .form-check-input:checked {
  background-color: var(--anhet-teal);
  border-color: var(--anhet-teal);
}

.anhet-auth-card .form-check-label {
  font-size: 0.88rem;
  color: #566a7f;
}

.anhet-auth-card .btn-login {
  min-height: 2.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--anhet-teal), var(--anhet-teal-light));
  border: none;
  box-shadow: 0 8px 22px var(--anhet-teal-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anhet-auth-card .btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px var(--anhet-teal-glow);
  background: linear-gradient(135deg, #166b6b, var(--anhet-teal));
}

.anhet-auth-card .invalid-feedback {
  font-size: 0.82rem;
}

@media (max-width: 991.98px) {
  .anhet-auth-form-panel {
    background: linear-gradient(180deg, var(--anhet-teal-pale) 0%, var(--anhet-surface) 35%);
  }
}
