/* ============================================================
   EXTENDED COMPONENTS — Premium Emerald + Navy + Gold System
   Classes introduced by design agents (auth, profile, admin, etc.)
   ============================================================ */

/* ── Auth Pages — Split Screen ── */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 200px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: var(--surface);
  margin: var(--space-8) auto;
  max-width: 1200px;
}
.auth-split__visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--navy) 100%);
  color: var(--text-on-dark);
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-split__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.auth-split__brand { position: relative; z-index: 2; }
.auth-split__logo {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: var(--space-2);
  display: inline-block;
}
.auth-split__logo span { color: var(--gold); }
.auth-split__tagline {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-top: var(--space-8);
  position: relative;
  z-index: 2;
}
.auth-split__sub {
  font-size: var(--text-lg);
  opacity: 0.85;
  margin-top: var(--space-3);
  position: relative;
  z-index: 2;
}
.auth-split__features {
  margin-top: var(--space-8);
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 2;
}
.auth-split__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  opacity: 0.9;
}
.auth-split__features li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--text-on-gold);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}
.auth-split__form {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}
.auth-form-wrap { max-width: 420px; width: 100%; margin: 0 auto; }
.auth-form-wrap h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.auth-form-wrap > p { color: var(--text-light); margin-bottom: var(--space-8); }
.auth-trust {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.auth-trust span { display: flex; align-items: center; gap: 4px; }

/* Centered Auth Card */
.auth-centered {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--gold-light) 100%);
}
.auth-centered__card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-2xl);
  text-align: center;
  position: relative;
}
.auth-centered__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.auth-centered__card h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.auth-centered__card p {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: var(--space-2);
  display: flex;
  gap: 4px;
}
.password-strength__bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background var(--duration-normal) var(--ease-out);
}
.password-strength__bar.active-weak { background: var(--danger); }
.password-strength__bar.active-medium { background: var(--warning); }
.password-strength__bar.active-strong { background: var(--success); }

/* OTP Input */
.otp-input {
  width: 100%;
  font-size: var(--text-4xl);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5em;
  padding: var(--space-4);
  font-family: 'Courier New', monospace;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all var(--duration-normal) var(--ease-out);
}
.otp-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* 2FA QR + Secret */
.twofa-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.twofa-qr__frame {
  padding: var(--space-6);
  background: var(--surface);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  display: inline-block;
  box-shadow: var(--shadow-gold);
}
.twofa-qr__frame svg,
.twofa-qr__frame img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}
.twofa-secret {
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  text-align: center;
  margin: var(--space-4) 0;
}
.twofa-secret__code {
  font-family: 'Courier New', monospace;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  word-break: break-all;
}

/* Backup Codes */
.backup-codes {
  background: var(--bg);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gold);
}
.backup-codes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.backup-codes__item {
  background: var(--surface);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  letter-spacing: 0.05em;
}

/* Profile Page */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: flex-start;
}
.profile-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
  border: 1px solid var(--border);
}
.profile-main { min-width: 0; }
.profile-avatar {
  text-align: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-4);
}
.profile-avatar__circle {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-3);
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  color: var(--text-on-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  font-weight: 800;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.profile-avatar__name {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: 4px;
}
.profile-avatar__email {
  font-size: var(--text-sm);
  color: var(--text-muted);
  word-break: break-all;
}
.profile-nav { display: flex; flex-direction: column; gap: 4px; }
.profile-nav__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-out);
}
.profile-nav__item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.profile-nav__item.active {
  background: var(--primary);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-emerald);
}

/* File Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}
.file-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-dropzone__icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.file-dropzone__text {
  color: var(--text-light);
  font-weight: 500;
}

/* Warranty Hero */
.warranty-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  color: var(--text-on-dark);
  padding: var(--space-16) var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}
.warranty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.2) 0%, transparent 50%);
  pointer-events: none;
}
.warranty-hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--gold);
  color: var(--text-on-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  z-index: 1;
}
.warranty-hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.warranty-hero p {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.warranty-result { margin-top: var(--space-6); }

/* Error Pages */
.error-page {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.error-page__inner {
  text-align: center;
  max-width: 560px;
}
.error-illustration {
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-illustration--404 {
  font-size: clamp(6rem, 16vw, 10rem);
  font-weight: 900;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  line-height: 1;
}
.error-illustration__digit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-illustration__orb {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--gold-dark));
  border-radius: 50%;
  position: relative;
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.4);
  animation: float 3s ease-in-out infinite;
}
.error-illustration__orb::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 25%;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  filter: blur(8px);
}
.error-illustration__shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%);
  border-radius: 50%;
}
.error-illustration__shield {
  width: 180px;
  height: 200px;
  color: var(--danger);
}
.error-illustration--500 svg,
.error-illustration--403 svg {
  width: 200px;
  height: 200px;
}
.error-illustration__code {
  font-size: var(--text-xl);
  color: var(--text-muted);
  margin-top: var(--space-4);
  font-family: 'Courier New', monospace;
}
.error-page h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.error-page p {
  font-size: var(--text-lg);
  color: var(--text-light);
  margin-bottom: var(--space-8);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Terms Page */
.terms-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: flex-start;
}
.terms-toc {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
  border: 1px solid var(--border);
}
.terms-toc h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
}
.terms-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.terms-toc__link {
  padding: var(--space-2) var(--space-3);
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out);
  border-inline-start: 3px solid transparent;
}
.terms-toc__link:hover,
.terms-toc__link.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-inline-start-color: var(--gold);
}
.terms-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.terms-prose h1,
.terms-prose h2,
.terms-prose h3 {
  color: var(--navy);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.terms-prose h1 { font-size: var(--text-3xl); margin-top: 0; }
.terms-prose h2 { font-size: var(--text-2xl); }
.terms-prose h3 { font-size: var(--text-xl); }
.terms-prose p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: var(--space-4);
}
.terms-prose ul,
.terms-prose ol {
  padding-inline-start: var(--space-6);
  margin-bottom: var(--space-4);
  color: var(--text);
  line-height: 1.9;
}
.terms-prose li { margin-bottom: var(--space-2); }
.security-tips {
  background: var(--gold-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border-inline-start: 4px solid var(--gold);
}
.security-tips h3 {
  color: var(--navy);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  font-weight: 700;
}
.security-tips ul { list-style: none; padding: 0; }
.security-tips li {
  padding: var(--space-2) 0;
  padding-inline-start: var(--space-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-light);
}
.security-tips li::before {
  content: '\1F6E1';
  position: absolute;
  inset-inline-start: 0;
}

/* E-commerce Extended */
.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.bank-info-row:last-child { border-bottom: none; }

/* Checkout Steps Indicator */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  counter-reset: step-counter;
}
.step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: all var(--duration-normal) var(--ease-out);
}
.step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--border);
  color: var(--text-light);
  border-radius: 50%;
  font-weight: 800;
  font-size: var(--text-xs);
}
.step--active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-emerald);
}
.step--active::before {
  background: var(--gold);
  color: var(--text-on-gold);
}
.step--done {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.step--done::before {
  background: var(--success);
  color: #fff;
  content: '\2713';
}

.summary-sticky { position: sticky; top: 120px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-8);
}

/* Admin Extended */
.stat-card--primary { border-inline-start: 4px solid var(--primary); }
.stat-card--success { border-inline-start: 4px solid var(--success); }
.stat-card--warning { border-inline-start: 4px solid var(--warning); }
.stat-card--danger { border-inline-start: 4px solid var(--danger); }
.stat-card--gold { border-inline-start: 4px solid var(--gold); }
.stat-card--navy { border-inline-start: 4px solid var(--navy); }

.stat-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--space-3);
  flex-shrink: 0;
  overflow: hidden;
}
.stat-card__icon svg {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px;
  max-height: 26px;
  flex-shrink: 0;
}
/* Fallback: constrain any stray oversized SVG inside admin cards */
.admin-main svg:not([width]):not([height]),
.card svg:not([width]):not([height]),
.stat-card svg:not([width]):not([height]) {
  width: 24px;
  height: 24px;
  max-width: 100%;
}
.stat-card--success .stat-card__icon { background: var(--success-light); color: var(--success); }
.stat-card--warning .stat-card__icon { background: var(--warning-light); color: var(--warning); }
.stat-card--danger .stat-card__icon { background: var(--danger-light); color: var(--danger); }
.stat-card--gold .stat-card__icon { background: var(--gold-light); color: var(--gold-dark); }
.stat-card--navy .stat-card__icon { background: #E2E8F0; color: var(--navy); }

.stat-card__body { flex: 1; }
.stat-card__unit {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-inline-start: 4px;
  font-weight: 500;
}

.admin-page {
  padding: var(--space-6);
  max-width: 100%;
}
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.admin-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}
.admin-breadcrumb a:hover { color: var(--primary); }
.admin-breadcrumb span + span::before {
  content: '/';
  color: var(--text-muted);
  margin: 0 var(--space-2);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row__label { color: var(--text-light); font-size: var(--text-sm); }
.info-row__value { color: var(--text); font-weight: 600; }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.pagination__item {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out);
}
.pagination__item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pagination__item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-emerald);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split__visual { padding: var(--space-8); min-height: auto; }
  .auth-split__form { padding: var(--space-8); }
  .profile-layout,
  .terms-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar,
  .terms-toc,
  .summary-sticky {
    position: static;
  }
}
@media (max-width: 767px) {
  .auth-centered__card { padding: var(--space-8) var(--space-6); }
  .auth-form-wrap h1 { font-size: var(--text-2xl); }
  .backup-codes__grid { grid-template-columns: 1fr; }
  .error-illustration--404 { font-size: 5rem; }
  .error-illustration__orb { width: 80px; height: 80px; }
  .step { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
  .step::before { width: 22px; height: 22px; }
  .warranty-hero { padding: var(--space-10) var(--space-4); }
  .warranty-hero h1 { font-size: var(--text-2xl); }
}

/* ============================================================
   Login Page Premium Enhancements
   ============================================================ */
.auth-split--premium {
  max-width: 1280px;
  min-height: 680px;
}
.auth-split__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}
.auth-split__logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.auth-split__logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
  flex-shrink: 0;
}
.auth-split__logo-mark svg { width: 36px; height: 36px; }
.auth-split__logo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.auth-split__logo span { color: var(--gold); }
.auth-split__badge {
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 100px;
}
.auth-split__tagline {
  font-size: 40px !important;
  line-height: 1.15 !important;
  color: #fff;
  font-weight: 800;
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
.auth-split__tagline .text-gold { color: var(--gold) !important; }
.auth-split__sub {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
}
.auth-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.35);
  flex-shrink: 0;
}
.auth-feature-icon svg { width: 18px; height: 18px; }
.auth-split__features li::before { display: none !important; }
.auth-split__features li {
  font-weight: 500;
  color: rgba(255,255,255,0.92) !important;
}
.auth-split__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 2;
}
.auth-stat {
  text-align: center;
}
.auth-stat__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.auth-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Form side enhancements */
.auth-form-header {
  margin-bottom: 32px;
}
.auth-form-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.auth-form-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.auth-form-sub {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.auth-form .form-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.auth-form .form-control-lg {
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all 250ms ease;
}
.auth-form .form-control-lg:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 44, 74, 0.08);
}
.password-wrap {
  position: relative;
}
.password-toggle {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 200ms ease;
}
.password-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.auth-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35) !important;
  transition: all 250ms ease !important;
}
.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.45) !important;
}
.auth-submit svg {
  transition: transform 250ms ease;
}
.auth-submit:hover svg {
  transform: translateX(4px);
}
[dir="rtl"] .auth-submit:hover svg {
  transform: translateX(-4px);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-trust {
  display: flex !important;
  justify-content: center;
  gap: 16px !important;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 0 !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 16px !important;
  flex-wrap: wrap;
}
.auth-trust__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}
.auth-trust__item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.auth-cta-register {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1023px) {
  .auth-split__tagline { font-size: 32px !important; }
  .auth-split__logo { font-size: 24px; }
  .auth-split__logo-mark { width: 52px; height: 52px; }
  .auth-form-title { font-size: 26px; }
  .auth-split__stats { gap: 8px; }
  .auth-stat__value { font-size: 22px; }
}
@media (max-width: 767px) {
  .auth-split--premium { min-height: auto; margin: 16px; }
  .auth-split__tagline { font-size: 24px !important; }
  .auth-split__sub { font-size: 14px !important; }
  .auth-split__logo-wrap { margin-bottom: 24px; }
  .auth-form-title { font-size: 22px; }
  .auth-form-header { margin-bottom: 20px; }
  .auth-split__stats { margin-top: 20px; padding-top: 20px; }
  .auth-stat__value { font-size: 20px; }
  .auth-stat__label { font-size: 11px; }
}

/* ============================================================
   Logo — Purple Star branding
   ============================================================ */
.navbar-brand.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
  padding: 8px 0;
  text-decoration: none;
}
.navbar-brand.logo .logo-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.navbar-brand.logo .logo-sub {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
  line-height: 1;
}
@media (max-width: 767px) {
  .navbar-brand.logo .logo-brand { font-size: 20px; }
  .navbar-brand.logo .logo-sub { font-size: 11px; }
}

/* Language toggle button in header */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  transition: all 200ms ease;
  text-decoration: none !important;
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
  border-color: var(--gold);
}
.lang-toggle svg { opacity: 0.9; }
