/* ══════════════════════════════════════════
   DASHBOARD SIDEBAR
   ══════════════════════════════════════════ */

.sidebar {
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, #1e1e2f 0%, #27293d 100%);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
}


/* ══════════════════════════════════════════
   AUTH LAYOUT  —  login / forgot / reset
   ══════════════════════════════════════════ */

.auth-body {
  margin: 0;
  padding: 0;
}

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

/* ── Brand panel (left) ── */

.auth-brand-panel {
  flex: 1;
  background-color: #1a3668;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.auth-brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Large decorative ring */
.auth-brand-panel::after {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.auth-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 3rem 2.5rem;
  gap: 1.5rem;
}

.auth-globe-svg {
  width: 108px;
  height: 108px;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.08));
}

.auth-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.auth-brand-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.auth-brand-name {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  margin: 0;
  line-height: 1.1;
}

.auth-brand-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.auth-brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.auth-brand-line {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.auth-brand-office {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Form panel (right) ── */

.auth-form-panel {
  width: 460px;
  min-width: 360px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form-inner {
  width: 100%;
  max-width: 340px;
  padding: 2.5rem 2rem;
}

/* ── Form elements ── */

.auth-form-header {
  margin-bottom: 2rem;
}

.auth-form-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.auth-form-subtitle {
  font-size: 0.84rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 1.375rem;
}

.auth-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #374151;
  margin-bottom: 0.35rem;
}

.auth-input {
  display: block;
  width: 100%;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #d1d5db;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus {
  border-bottom-color: #1a3668;
  outline: none;
  box-shadow: none;
}

.auth-input::placeholder {
  color: #9ca3af;
}

.auth-submit-btn {
  display: block;
  width: 100%;
  padding: 0.8rem;
  margin-top: 1.75rem;
  background: #1a3668;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-submit-btn:hover {
  background: #15305a;
}

.auth-submit-btn:active {
  background: #102447;
}

.auth-footer-link {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}

.auth-footer-link a {
  color: #6b7280;
  text-decoration: none;
}

.auth-footer-link a:hover {
  color: #1a3668;
}

/* Back-link variant used on forgot/reset pages */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.auth-back-link:hover {
  color: #1a3668;
}

/* ── Responsive: stack vertically on mobile ── */

@media (max-width: 768px) {
  .auth-split {
    flex-direction: column;
  }

  .auth-brand-panel {
    flex: none;
    min-height: 220px;
  }

  .auth-form-panel {
    width: 100%;
    min-width: unset;
    flex: 1;
  }
}
