/* ============================================
   Zyqual Auth – Modern Split-Screen Login
   ============================================ */

/* ── Page Reset ── */
.zq-auth-page {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: #2e2e2e;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Split Layout ── */
.zq-auth-split {
  display: flex;
  min-height: 100vh;
}

/* ── Brand Panel (Left) ── */
.zq-auth-brand {
  flex: 0 0 55%;
  background: linear-gradient(135deg, #38006b 0%, #4a148c 25%, #1B5062 60%, #0d3445 100%);
  color: #fff;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100vh;
  display: flex;
}

/* Subtle scrollbar for brand panel */
.zq-auth-brand::-webkit-scrollbar {
  width: 5px;
}
.zq-auth-brand::-webkit-scrollbar-track {
  background: transparent;
}
.zq-auth-brand::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.zq-auth-brand::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
.zq-auth-brand {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.zq-auth-brand-inner {
  display: flex;
  flex-direction: column;
  padding: 160px 48px 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.zq-auth-brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Floating Shapes */
.zq-auth-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  z-index: 1;
}

.zq-auth-shape--1 {
  width: 120px;
  height: 120px;
  top: 28px;
  left: 40px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 3;
  overflow: hidden;
}

.zq-auth-shape-logo {
  width: 78px;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
}

.zq-auth-shape--2 {
  width: 250px;
  height: 250px;
  bottom: 60px;
  left: -80px;
  background: rgba(255, 235, 59, 0.06);
}

.zq-auth-shape--3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 15%;
  background: rgba(255, 255, 255, 0.03);
}

/* Logo (hidden — circular shape replaces it) */
.zq-auth-logo {
  display: none;
  margin-bottom: 32px;
}

.zq-auth-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Tagline */
.zq-auth-tagline {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px 0;
  color: #fff;
  letter-spacing: -0.5px;
  max-width: 480px;
}

/* Platform Description */
.zq-auth-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px 0;
  max-width: 520px;
}

/* ── Credibility Line ── */
.zq-auth-credibility {
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin: -16px 0 28px 0;
}

/* ── Section Label ── */
.zq-auth-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  margin: 0 0 14px 0;
}

/* ── Feature Cards ── */
.zq-auth-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.zq-auth-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.zq-auth-feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* AI-highlighted card variant */
.zq-auth-feature-card--ai {
  background: rgba(255, 235, 59, 0.06);
  border-color: rgba(255, 235, 59, 0.15);
}

.zq-auth-feature-card--ai:hover {
  background: rgba(255, 235, 59, 0.1);
}

/* ── Expandable Card ── */
.zq-auth-feature-card--expandable {
  padding: 0;
  cursor: default;
  flex-direction: column;
  align-items: stretch;
}

.zq-auth-feature-card--expandable:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.zq-auth-feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.zq-auth-feature-chevron {
  margin-left: auto;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.zq-auth-feature-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.zq-auth-feature-detail-list {
  padding: 0 16px 14px 56px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zq-auth-feature-detail-list li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
}

.zq-auth-feature-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 235, 59, 0.6);
}

/* Expanded state */
.zq-auth-feature-card--expanded .zq-auth-feature-detail {
  max-height: 160px;
  opacity: 1;
}

.zq-auth-feature-card--expanded .zq-auth-feature-chevron {
  transform: rotate(180deg);
}

.zq-auth-feature-card--expanded {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

/* AI card expanded state */
.zq-auth-feature-card--ai.zq-auth-feature-card--expanded {
  background: rgba(255, 235, 59, 0.09);
  border-color: rgba(255, 235, 59, 0.22);
}

/* Focus-visible for expandable cards */
.zq-auth-feature-card--expandable:focus-within {
  outline: 2px solid rgba(255, 235, 59, 0.5);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .zq-auth-feature-chevron,
  .zq-auth-feature-detail {
    transition: none;
  }
}

.zq-auth-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zq-auth-feature-icon i.material-icons {
  font-size: 22px;
  color: #ffeb3b;
}

.zq-auth-feature-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.zq-auth-feature-text span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* ── Outcomes Section ── */
.zq-auth-outcomes {
  margin-bottom: 28px;
}

.zq-auth-outcomes-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px 0;
  letter-spacing: 0.2px;
}

.zq-auth-outcomes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.zq-auth-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.zq-auth-outcome-item i.material-icons {
  font-size: 20px;
  color: #69f0ae;
  flex-shrink: 0;
  margin-top: 1px;
}

.zq-auth-outcome-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zq-auth-outcome-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.zq-auth-outcome-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ── Trust Strip (bottom of brand panel) ── */
.zq-auth-trust-strip {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zq-auth-trust-mission {
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.zq-auth-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.zq-auth-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
}

.zq-auth-trust-badge i.material-icons {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.zq-auth-trust-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Form Panel (Right) ── */
.zq-auth-form-panel {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #f8fafc;
}

.zq-auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* ── Login Card ── */
.zq-login-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  padding: 36px 32px;
}

/* Secure indicator */
.zq-login-secure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #4caf50;
  background: #e8f5e9;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zq-login-secure i.material-icons {
  font-size: 14px;
}

/* Logo */
.zq-login-logo {
  text-align: center;
  margin-bottom: 16px;
}

.zq-login-logo img {
  height: 64px;
  width: auto;
}

/* Title */
.zq-login-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.zq-login-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 28px 0;
}

/* ── Form Fields ── */
.zq-login-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.zq-field {
  margin-bottom: 20px;
}

.zq-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.zq-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.zq-field-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.zq-field-input:focus {
  border-color: #4a148c;
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

.zq-field-input::placeholder {
  color: #9ca3af;
}

/* Password wrapper with toggle */
.zq-field-password-wrap {
  position: relative;
}

.zq-field-password-wrap .zq-field-input {
  padding-right: 44px;
}

.zq-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
}

.zq-password-toggle:hover {
  color: #4a148c;
}

.zq-password-toggle i.material-icons {
  font-size: 20px;
}

/* Forgot link */
.zq-forgot-link {
  font-size: 13px;
  font-weight: 500;
  color: #4a148c;
  text-decoration: none;
}

.zq-forgot-link:hover {
  color: #7b1fa2;
  text-decoration: underline;
}

/* Field error */
.zq-field-error {
  display: block;
  font-size: 12px;
  color: #f44336;
  margin-top: 4px;
}

/* ── Alerts ── */
.zq-login-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.zq-login-alert i.material-icons {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.zq-login-alert--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.zq-login-alert--error i.material-icons {
  color: #f44336;
}

.zq-login-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.zq-login-alert--success i.material-icons {
  color: #4caf50;
}

/* Validation summary */
.zq-login-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}

.zq-login-error.validation-summary-valid {
  display: none;
}

.zq-login-error li {
  margin-bottom: 2px;
}

/* ── Submit Button ── */
.zq-login-submit {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  color: #ffffff;
  background: #4a148c;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(74, 20, 140, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.zq-login-submit:hover {
  background: #5c2d91;
  box-shadow: 0 6px 20px rgba(74, 20, 140, 0.3);
  transform: translateY(-1px);
}

.zq-login-submit:active {
  transform: translateY(0);
}

.zq-login-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.zq-login-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zq-spinner {
  flex-shrink: 0;
}

/* ── Registration Links ── */
.zq-login-register {
  text-align: center;
  margin-top: 20px;
}

.zq-login-register > span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.zq-register-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.zq-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1.5px solid #4a148c;
  color: #4a148c;
  background: #fff;
}

.zq-register-btn:hover,
.zq-register-btn:focus {
  background: #4a148c;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(74, 20, 140, 0.25);
}

.zq-register-btn .material-icons {
  font-size: 16px;
}

.zq-register-btn--school {
  border-color: #00695c;
  color: #00695c;
}

.zq-register-btn--school:hover,
.zq-register-btn--school:focus {
  background: #00695c;
  color: #fff;
  border-color: #00695c;
  box-shadow: 0 2px 8px rgba(0, 105, 92, 0.25);
}

/* ── Help Footer ── */
.zq-login-help {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #9ca3af;
}

.zq-login-help a {
  color: #4a148c;
  text-decoration: none;
  font-weight: 500;
}

.zq-login-help a:hover {
  text-decoration: underline;
}

/* ── Entrance Animation ── */
@keyframes zqFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zq-animate-in {
  animation: zqFadeInUp 0.5s ease both;
}

/* ============================================
   Full-Width Mode (SchoolSelection, Registration, etc.)
   — hides brand panel, gives form area 100% width
   — uses Zyqual purple gradient on the page banner
   ============================================ */
.zq-auth-full .zq-auth-brand {
  display: none;
}

.zq-auth-full .zq-auth-form-panel {
  flex: 1 1 100%;
  display: block;            /* override flex centering — fixes bootstrap-select click */
  align-items: initial;
  justify-content: initial;
  padding: 0;
  background: #f1f3f6;
}

.zq-auth-full .zq-auth-form-wrapper {
  max-width: none;
  width: 100%;
}

/* ── Branded page header banner (Zyqual purple gradient) ── */
.zq-auth-full .top_heading_out {
  margin: 0;
}

.zq-auth-full .top_site_main {
  padding-top: 80px !important;
  padding-bottom: 36px;
  min-height: auto;
  position: relative;
  background: linear-gradient(135deg, #4a148c 0%, #1B5062 50%, #0d3445 100%) !important;
  overflow: hidden;
}

.zq-auth-full .overlay-top-header {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent !important;
  pointer-events: none;
}

/* Decorative shapes on banner (like login brand panel) */
.zq-auth-full .top_site_main::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -80px;
  right: -60px;
  z-index: 0;
}

.zq-auth-full .top_site_main::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 235, 59, 0.06);
  bottom: -40px;
  left: 10%;
  z-index: 0;
}

.zq-auth-full .page-title-wrapper {
  position: relative;
  z-index: 2;
}

.zq-auth-full .page-title-wrapper h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Breadcrumbs bar */
.zq-auth-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.zq-auth-full .breadcrumbs-wrapper {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.zq-auth-full .breadcrumbs {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #6b7280;
}

.zq-auth-full .breadcrumbs li + li::before {
  content: "\203A";
  margin-right: 6px;
  color: #9ca3af;
}

.zq-auth-full .breadcrumbs a {
  color: #4a148c;
  text-decoration: none;
}

.zq-auth-full .breadcrumbs a:hover {
  text-decoration: underline;
}

/* Auth actions in breadcrumb bar (user label + sign out) */
.zq-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zq-auth-user-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.zq-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #4a148c;
  color: #fff;
}

.zq-auth-btn:hover {
  background: #5c2d91;
  box-shadow: 0 2px 8px rgba(74, 20, 140, 0.25);
}

.zq-auth-btn-outline {
  background: transparent;
  color: #4a148c;
  border: 1.5px solid #4a148c;
}

.zq-auth-btn-outline:hover {
  background: #4a148c;
  color: #fff;
}

.zq-auth-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* Full-width content area */
.zq-auth-full .site-content.zq-auth {
  padding: 24px 0;
}

/* Modern filter card */
.zq-auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.zq-auth-card.zq-auth-filters {
  padding: 20px 24px 8px;
}

.zq-auth-card.zq-auth-filters label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.zq-auth-card.zq-auth-filters .form-control {
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  font-size: 14px;
  padding: 8px 12px;
  transition: border-color 0.2s ease;
}

.zq-auth-card.zq-auth-filters .form-control:focus {
  border-color: #4a148c;
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
  outline: none;
}

/* School selection form card */
.zq-auth-full .thim-login {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  padding: 24px;
}

.zq-auth-full .thim-login .title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Fix bootstrap-select inside auth pages */
.zq-auth-full .bootstrap-select {
  width: 100% !important;
}

.zq-auth-full .bootstrap-select .dropdown-toggle {
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  padding: 8px 12px;
  font-size: 14px;
  height: auto;
  transition: border-color 0.2s ease;
}

.zq-auth-full .bootstrap-select .dropdown-toggle:focus,
.zq-auth-full .bootstrap-select.open .dropdown-toggle {
  border-color: #4a148c;
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
  outline: none;
}

.zq-auth-full .bootstrap-select .dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
  padding: 4px 0;
  z-index: 1060;
}

.zq-auth-full .bootstrap-select .dropdown-menu > li > a {
  padding: 8px 16px;
  font-size: 14px;
  color: #374151;
}

.zq-auth-full .bootstrap-select .dropdown-menu > li > a:hover,
.zq-auth-full .bootstrap-select .dropdown-menu > .active > a {
  background: #efe9f6;
  color: #4a148c;
}

.zq-auth-full .bootstrap-select .bs-searchbox input {
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  padding: 8px 12px;
  font-size: 14px;
}

/* Submit / Continue button */
.zq-auth-full .button-primary,
.zq-auth-full input[type="submit"].zq-auth-btn {
  background: #4a148c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.zq-auth-full .button-primary:hover,
.zq-auth-full input[type="submit"].zq-auth-btn:hover {
  background: #5c2d91;
  box-shadow: 0 4px 14px rgba(74, 20, 140, 0.25);
}

/* Calendar — keep contained */
.zq-auth-full #calendar {
  max-width: 100%;
  overflow-x: auto;
}

/* ============================================
   Footer (All Auth Pages — matches Public Site footer)
   4-column: Brand+Social, Services, Pages, Newsletter
   ============================================ */
.zq-auth-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #2e2e2e 50%, #2a1a4a 100%);
  color: #fff;
  padding: 0;
  margin-top: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

.zq-auth-full .zq-auth-footer {
  margin-top: 40px;
}

/* 4-column grid layout */
.zq-auth-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.zq-auth-footer-col {
  flex: 1 1 200px;
  min-width: 0;
}

.zq-auth-footer-brand {
  flex: 1 1 260px;
  min-width: 240px;
}

.zq-auth-footer-logo {
  height: 56px;
  width: 56px;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

.zq-auth-footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px 0;
  max-width: 260px;
  line-height: 1.5;
}

.zq-auth-footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer link lists */
.zq-auth-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zq-auth-footer-links-list li {
  margin-bottom: 8px;
}

.zq-auth-footer-links-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zq-auth-footer-links-list a::before {
  content: '\203A';
  color: #ffeb3b;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.zq-auth-footer-links-list a:hover {
  color: #fff;
}

/* Social icons */
.zq-auth-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zq-auth-footer-social a {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 16px;
}

.zq-auth-footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Newsletter signup */
.zq-auth-footer-signup {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}

.zq-auth-footer-email {
  flex: 1 1 160px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.zq-auth-footer-email::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.zq-auth-footer-email:focus {
  border-color: #ffeb3b;
}

.zq-auth-footer-btn-signup {
  padding: 10px 18px;
  border-radius: 0 8px 8px 0;
  border: none;
  background: #ffeb3b;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.zq-auth-footer-btn-signup:hover {
  background: #fdd835;
}

.zq-auth-footer-help {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zq-auth-footer-help span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.zq-auth-footer-phone {
  color: #ffeb3b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.zq-auth-footer-phone:hover {
  color: #fff;
}

/* Copyright bar */
.zq-auth-footer-copyright {
  text-align: center;
  padding: 20px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Social Media FAB (Floating Action Button)
   ============================================ */
.zq-social-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.zq-social-fab-links {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  pointer-events: none;
}

.zq-social-fab-open .zq-social-fab-links {
  display: flex;
  pointer-events: auto;
  animation: zqFabFadeIn 0.3s ease forwards;
}

@keyframes zqFabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.zq-social-fab-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.zq-social-fab-link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #4a148c;
}

.zq-social-fab-link .material-icons {
  font-size: 20px;
}

.zq-social-fab-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.zq-social-fab-link i.fa {
  font-size: 1.25rem;
  color: inherit;
}

.zq-social-fab-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffeb3b;
  color: #222;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 50;
}

.zq-social-fab-button:hover {
  background: #fdd835;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.zq-social-fab-button .material-icons {
  font-size: 28px;
}

/* FAB button horn image (matches _Layout.cshtml FAB) */
.zq-social-fab-button .zq-fab-horn-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.zq-social-fab-button .zq-fab-horn-fallback {
  display: none;
}

/* Show fallback icon if horn image fails to load */
.zq-social-fab-button.zq-fab-horn-missing .zq-fab-horn-img {
  display: none;
}

.zq-social-fab-button.zq-fab-horn-missing .zq-fab-horn-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive: Split-Screen (Login) ── */
@media (max-width: 1024px) {
  .zq-auth-brand {
    flex: 0 0 48%;
  }

  .zq-auth-form-panel {
    flex: 0 0 52%;
  }

  .zq-auth-brand-inner {
    padding: 32px 32px 24px;
  }

  .zq-auth-tagline {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .zq-auth-description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .zq-auth-feature-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .zq-auth-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
  }

  .zq-auth-feature-icon i.material-icons {
    font-size: 18px;
  }

  .zq-auth-feature-text strong {
    font-size: 13px;
  }

  .zq-auth-feature-text span {
    font-size: 12px;
  }

  .zq-auth-features {
    gap: 8px;
    margin-bottom: 20px;
  }

  .zq-auth-section-label {
    font-size: 10px;
  }

  .zq-auth-credibility {
    font-size: 12px;
  }

  .zq-auth-feature-chevron {
    font-size: 18px;
  }

  .zq-auth-feature-detail-list {
    padding-left: 46px;
  }

  .zq-auth-outcomes-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .zq-auth-outcomes {
    margin-bottom: 20px;
  }

  .zq-auth-trust-badges {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .zq-auth-split {
    flex-direction: column;
  }

  .zq-auth-brand {
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
    overflow: hidden;
  }

  .zq-auth-brand-inner {
    padding: 100px 24px 16px;
    text-align: center;
    align-items: center;
  }

  .zq-auth-shape--1 {
    width: 72px;
    height: 72px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .zq-auth-shape-logo {
    width: 48px;
  }

  .zq-auth-tagline {
    font-size: 18px;
    margin-bottom: 10px;
    max-width: none;
  }

  /* Hide prose content on mobile — keep cards visible */
  .zq-auth-description,
  .zq-auth-credibility,
  .zq-auth-outcomes {
    display: none;
  }

  /* Compact feature cards for mobile */
  .zq-auth-section-label {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .zq-auth-features {
    gap: 6px;
    margin-bottom: 12px;
  }

  .zq-auth-feature-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 10px;
  }

  .zq-auth-feature-card--expandable {
    padding: 0;
  }

  .zq-auth-feature-header {
    padding: 10px 12px;
    gap: 10px;
  }

  .zq-auth-feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }

  .zq-auth-feature-icon i.material-icons {
    font-size: 16px;
  }

  .zq-auth-feature-text strong {
    font-size: 12px;
  }

  .zq-auth-feature-text span {
    font-size: 11px;
  }

  .zq-auth-feature-chevron {
    font-size: 16px;
  }

  .zq-auth-feature-detail-list {
    padding-left: 42px;
  }

  .zq-auth-feature-detail-list li {
    font-size: 11px;
  }

  .zq-auth-trust-strip {
    border-top: none;
    padding-top: 0;
    margin-top: 8px;
  }

  .zq-auth-trust-mission {
    display: none;
  }

  .zq-auth-trust-badges {
    justify-content: center;
    gap: 14px;
    margin-bottom: 0;
  }

  .zq-auth-trust-copyright {
    display: none;
  }

  .zq-auth-form-panel {
    flex: 1;
    padding: 24px 16px;
  }

  .zq-login-card {
    padding: 28px 24px;
    border-radius: 14px;
  }

  /* Full-width responsive */
  .zq-auth-full .page-title-wrapper h1 {
    font-size: 22px;
  }

  .zq-auth-full .top_site_main {
    padding-top: 48px !important;
    padding-bottom: 24px;
  }

  .zq-auth-breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .zq-auth-footer-grid {
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .zq-auth-footer-col {
    flex: 1 1 100%;
  }

  .zq-auth-footer-brand {
    flex: 1 1 100%;
    min-width: 0;
  }

  .zq-auth-footer-brand p {
    max-width: 100%;
  }

  .zq-social-fab {
    bottom: 16px;
    right: 16px;
  }

  .zq-social-fab-button {
    width: 48px;
    height: 48px;
  }

  .zq-social-fab-button .material-icons {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .zq-auth-brand-inner {
    padding: 80px 16px 12px;
  }

  .zq-auth-shape--1 {
    width: 56px;
    height: 56px;
    top: 12px;
  }

  .zq-auth-shape-logo {
    width: 38px;
  }

  .zq-auth-tagline {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .zq-auth-trust-badges {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .zq-auth-trust-badge {
    font-size: 11px;
  }

  .zq-auth-form-panel {
    padding: 16px 12px;
  }

  .zq-login-card {
    padding: 24px 18px;
  }

  .zq-login-logo img {
    height: 52px;
  }

  .zq-login-title {
    font-size: 20px;
  }

  .zq-register-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .zq-register-btn {
    justify-content: center;
  }

  /* Full-width mobile */
  .zq-auth-full .site-content.zq-auth {
    padding: 16px 0;
  }

  .zq-auth-full .zq-auth-card {
    padding: 16px;
    border-radius: 10px;
  }

  .zq-auth-full .thim-login {
    padding: 16px;
    border-radius: 10px;
  }

  .zq-auth-full .page-title-wrapper h1 {
    font-size: 18px;
  }

  .zq-auth-full .top_site_main {
    padding-top: 40px !important;
    padding-bottom: 20px;
  }

  .zq-auth-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .zq-auth-full .login-username {
    max-width: 100%;
  }

  .zq-auth-full .submit.login-submit {
    max-width: 100%;
  }

  .zq-auth-footer-grid {
    padding: 24px 12px 12px;
    gap: 20px;
  }

  .zq-auth-footer-signup {
    flex-direction: column;
    gap: 8px;
  }

  .zq-auth-footer-email {
    border-radius: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .zq-auth-footer-btn-signup {
    border-radius: 8px;
  }
}

/* ============================================
   Change Email / Verify Email — Modern Flow
   ============================================ */

/* ── Step Indicator ── */
.zq-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.zq-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.zq-step span {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zq-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.zq-step--active .zq-step-dot {
  background: #4a148c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(74, 20, 140, 0.3);
}

.zq-step--active span {
  color: #4a148c;
}

.zq-step--done .zq-step-dot {
  background: #4caf50;
  color: #fff;
}

.zq-step--done span {
  color: #4caf50;
}

.zq-step-line {
  flex: 0 0 48px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 8px;
  margin-bottom: 22px;
  border-radius: 1px;
}

.zq-step-line--done {
  background: #4caf50;
}

/* ── Change Email Icon ── */
.zq-change-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ede7f6 0%, #e8eaf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.zq-change-icon i.material-icons {
  font-size: 30px;
  color: #4a148c;
}

.zq-change-icon--verify {
  background: linear-gradient(135deg, #e8f5e9 0%, #e0f2f1 100%);
}

.zq-change-icon--verify i.material-icons {
  color: #2e7d32;
}

/* ── Info Alert variant ── */
.zq-login-alert--info {
  background: #e8eaf6;
  color: #283593;
  border: 1px solid #c5cae9;
}

.zq-login-alert--info i.material-icons {
  color: #3f51b5;
}

.zq-login-alert--info strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

/* ── Email Combo Input ── */
.zq-email-combo {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zq-email-combo:focus-within {
  border-color: #4a148c;
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

.zq-email-user {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
  padding: 11px 14px !important;
}

.zq-email-user:focus {
  box-shadow: none !important;
  border: none !important;
}

.zq-email-at {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  padding: 0 2px;
  user-select: none;
}

.zq-email-domain {
  border: none !important;
  border-left: 1.5px solid #e5e7eb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 200px;
  padding: 11px 10px !important;
  font-size: 13px !important;
  color: #374151;
  background: #fafafa !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  padding-right: 28px !important;
}

.zq-email-domain:focus {
  box-shadow: none !important;
  border-left-color: #c5cae9 !important;
  background-color: #f5f3ff !important;
}

/* ── Email Preview ── */
.zq-email-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  background: #f5f3ff;
  border-radius: 6px;
  font-size: 12px;
  color: #4a148c;
  font-weight: 500;
}

.zq-email-preview i.material-icons {
  font-size: 14px;
  color: #7c4dff;
}

/* ── Match Indicator ── */
.zq-match-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.zq-match-indicator i.material-icons {
  font-size: 16px;
}

.zq-match--ok {
  color: #2e7d32;
}

.zq-match--ok i.material-icons {
  color: #4caf50;
}

.zq-match--error {
  color: #c62828;
}

.zq-match--error i.material-icons {
  color: #f44336;
}

/* ── Action Area ── */
.zq-change-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.zq-change-signout {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zq-change-signout:hover {
  color: #c62828;
  text-decoration: none;
}

/* ── Approved Domains Hint ── */
.zq-domains-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 13px;
  color: #6b7280;
}

.zq-domains-hint > i.material-icons {
  font-size: 20px;
  color: #4a148c;
  flex-shrink: 0;
  margin-top: 1px;
}

.zq-domains-hint strong {
  display: block;
  color: #374151;
  margin-bottom: 6px;
  font-size: 13px;
}

.zq-domains-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zq-domain-chip {
  display: inline-block;
  padding: 2px 10px;
  background: #f5f3ff;
  color: #4a148c;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #ede7f6;
}

/* ── OTP Page Styles ── */
.zq-otp-info {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zq-otp-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
}

.zq-otp-info-row i.material-icons {
  font-size: 18px;
  color: #6b7280;
  flex-shrink: 0;
}

.zq-otp-wrap {
  position: relative;
}

.zq-otp-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #9ca3af;
  pointer-events: none;
}

.zq-otp-input {
  padding-left: 44px !important;
  font-size: 16px !important;
  letter-spacing: 2px;
  font-weight: 600;
}

.zq-otp-input::placeholder {
  letter-spacing: 0;
  font-weight: 400;
  font-size: 14px;
}

/* ── Responsive: Change Email ── */
@media (max-width: 480px) {
  .zq-email-combo {
    flex-direction: column;
    gap: 0;
  }

  .zq-email-at {
    display: none;
  }

  .zq-email-user {
    border-bottom: 1px solid #e5e7eb !important;
  }

  .zq-email-domain {
    border-left: none !important;
    border-top: 1px solid #e5e7eb !important;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .zq-steps {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .zq-step {
    min-width: 60px;
  }

  .zq-step span {
    font-size: 10px;
  }

  .zq-step-line {
    flex: 0 0 32px;
  }

  .zq-change-icon {
    width: 52px;
    height: 52px;
  }

  .zq-change-icon i.material-icons {
    font-size: 24px;
  }

  .zq-domains-hint {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .zq-domains-list {
    justify-content: center;
  }
}
