/* ==========================================================================
   1styme — Modern Marketplace Design System
   Palette: White Background, Dark Charcoal Text, Gold Brand Buttons
   ========================================================================== */

:root {
  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;

  /* Typography */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Brand Accents - Rich Gold & Amber */
  --gold-primary: #f2a93b;
  --gold-dark: #d97706;
  --gold-deep: #b45309;
  --gold-light: #fef3c7;
  --gold-glow: rgba(242, 169, 59, 0.25);

  /* Functional Status Colors */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-focus: #f2a93b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 8px 24px -4px rgba(242, 169, 59, 0.35);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main.container {
  padding-top: 1.5rem;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.tb-heading,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.text-dark {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: #0f172a !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tb-heading-serif {
  font-family: 'Fraunces', Georgia, serif;
}

/* Nav Pills (Gold Active State) */
.nav-pills .nav-link {
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.nav-pills .nav-link:hover {
  background: #fef3c7;
  color: var(--gold-dark);
  border-color: var(--gold-primary);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: var(--gold-primary) !important;
  border-color: var(--gold-dark) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.tb-eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.tb-muted {
  color: var(--text-muted) !important;
}

/* Icons */
.tb-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   Navigation Bar (Clean White, Subtle Border, Dark Links, Gold Highlights)
   ========================================================================== */
.navbar-tb {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-tb .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 1.75rem;
}

.navbar-tb .tb-navbar-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.navbar-tb .nav-link {
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.navbar-tb .nav-link:hover,
.navbar-tb .nav-link:focus {
  color: var(--gold-dark) !important;
  background: rgba(242, 169, 59, 0.08);
}

.navbar-tb .nav-link.active {
  color: var(--gold-dark) !important;
  font-weight: 700;
}

.navbar-tb .navbar-tb__user {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--gold-dark) !important;
  background: var(--gold-light);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem !important;
  font-weight: 600;
}

.navbar-tb .navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.navbar-tb .navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.navbar-tb .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Buttons (Gold Brand CTA, Clean Outlines, Consistent 10-12px Radius)
   ========================================================================== */
.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  font-size: 0.94rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm {
  padding: 0.38rem 0.85rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Gold Primary Button */
.btn-primary,
.btn-tb-primary {
  background: var(--gold-primary) !important;
  border-color: var(--gold-primary) !important;
  color: #0f172a !important;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-tb-primary:hover {
  background: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: #0f172a !important;
  box-shadow: var(--shadow-gold);
}

.btn-primary:focus,
.btn-tb-primary:focus {
  box-shadow: 0 0 0 3px var(--gold-glow) !important;
}

/* Secondary Outlines */
.btn-outline-primary,
.btn-tb-outline {
  background: #ffffff !important;
  border: 1.5px solid var(--border-color) !important;
  color: var(--text-main) !important;
}

.btn-outline-primary:hover,
.btn-tb-outline:hover {
  background: #f8fafc !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-dark) !important;
}

.btn-outline-secondary {
  background: #ffffff !important;
  border: 1.5px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
}

.btn-outline-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: var(--text-main) !important;
}

/* Static Visible Amber Button (Zero Hover Shift) */
.btn-amber-visible,
.btn-amber-visible:hover,
.btn-amber-visible:focus,
.btn-amber-visible:active,
.btn-amber-visible:visited {
  background: #ffffff !important;
  border: 1.5px solid var(--gold-dark) !important;
  color: var(--gold-dark) !important;
  box-shadow: var(--shadow-sm) !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* Functional Buttons */
.btn-success {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.btn-success:hover {
  background: #15803d !important;
  border-color: #15803d !important;
}

.btn-outline-danger {
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  background: #ffffff !important;
}

.btn-outline-danger:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Cards, Panels & Surfaces (Clean White, 1px Border, Soft Elevation)
   ========================================================================== */
.card,
.tb-panel {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-color) !important;
  font-weight: 700;
  color: var(--text-main);
  padding: 1rem 1.25rem;
}

/* Stub Metric Cards */
.tb-stub {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tb-stub:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tb-stub-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.tb-band-amber {
  background: #fffbeb;
  color: #b45309;
}

.tb-band-violet {
  background: #f5f3ff;
  color: #6d28d9;
}

.tb-band-coral {
  background: #fff1f2;
  color: #be123c;
}

.tb-band-ink {
  background: #f8fafc;
  color: var(--text-main);
}

.tb-stub-body {
  padding: 1rem 1.25rem;
}

.tb-stub-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Forms, Inputs & Controls
   ========================================================================== */
.form-control,
.form-select {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.6rem 0.95rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  background: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
  color: var(--text-main);
  outline: none;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table {
  color: var(--text-main);
  border-color: var(--border-color);
}

.table thead th {
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
}

.table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.table-hover tbody tr:hover {
  background-color: #f8fafc;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.badge-tb-paid {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-tb-pending {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-tb-gold {
  background: var(--gold-light);
  color: var(--gold-deep);
  border: 1px solid #fde68a;
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.tb-hero {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.tb-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.tb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid #fde68a;
  margin-bottom: 1.25rem;
}

.tb-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.tb-hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tb-hero-img-wrap {
  text-align: center;
}

.tb-hero-img-wrap img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(242, 169, 59, 0.2));
}

@media (max-width: 768px) {
  .tb-hero {
    padding: 2.25rem 1.25rem;
    text-align: center;
  }
  .tb-hero-title {
    font-size: 2rem;
  }
  .tb-hero-sub {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Modern Event Cards (16:9 Aspect Ratio Image, Clean Tags, Gold CTA)
   ========================================================================== */
.event-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.event-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

.event-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-card:hover .event-card-img-wrap img {
  transform: scale(1.04);
}

.event-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.event-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.event-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.event-card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

.event-card-title a:hover {
  color: var(--gold-dark);
}

.event-card-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.event-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.event-card-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   Step-by-step Booking Progress Stepper
   ========================================================================== */
.tb-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.tb-step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tb-step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: #e2e8f0;
  color: var(--text-secondary);
}

.tb-step-item.active {
  color: var(--text-main);
}

.tb-step-item.active .tb-step-bubble {
  background: var(--gold-primary);
  color: #0f172a;
  box-shadow: 0 0 0 4px var(--gold-glow);
}

.tb-step-item.completed {
  color: #16a34a;
}

.tb-step-item.completed .tb-step-bubble {
  background: #dcfce7;
  color: #15803d;
}

.tb-stepper-line {
  flex-grow: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 1rem;
}

/* Tier Selection Cards */
.tier-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  margin-bottom: 1rem;
}

.tier-option:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.tier-option.selected,
.tier-option:has(input[type="radio"]:checked) {
  border-color: var(--gold-primary) !important;
  background: #fffdf7 !important;
  box-shadow: 0 0 0 3px var(--gold-glow) !important;
}

.tier-option.tier-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
}

.tier-body {
  flex-grow: 1;
}

.tier-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.tier-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.tier-price.free {
  color: #16a34a;
}

/* ==========================================================================
   Digital Admission Ticket Pass (White, Perforation, QR Frame)
   ========================================================================== */
.tb-ticket-card {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.tb-ticket-header {
  background: #ffffff;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-ticket-body {
  padding: 1.75rem;
}

.tb-ticket-perf {
  position: relative;
  height: 24px;
  margin: 1rem -1.75rem;
  display: flex;
  align-items: center;
}

.tb-ticket-perf::before,
.tb-ticket-perf::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  top: 0;
}

.tb-ticket-perf::before {
  left: -12px;
}

.tb-ticket-perf::after {
  right: -12px;
}

.tb-ticket-perf-line {
  width: 100%;
  border-top: 2px dashed #cbd5e1;
}

.tb-qr-frame {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tb-code-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gold-light);
  color: var(--gold-deep);
  border: 1px solid #fde68a;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}

/* ==========================================================================
   Auth Cards (Login, Register, OTP Verification)
   ========================================================================== */
.tb-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.tb-auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tb-auth-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
}

.tb-auth-body {
  padding: 1.5rem 2rem 2rem;
}

.tb-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tb-google-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--text-main);
  transform: translateY(-1px);
}

.tb-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
}

.tb-divider::before,
.tb-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.tb-divider span {
  padding: 0 0.85rem;
}

.tb-field {
  margin-bottom: 1.25rem;
}

.tb-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.tb-input-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tb-input-row:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.tb-input-row .tb-icon {
  color: #94a3b8;
  margin-right: 0.65rem;
}

.tb-input-row input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 0.65rem 0;
  color: var(--text-main);
  outline: none;
  font-size: 0.95rem;
}

.tb-eye-toggle {
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 0 0 0.4rem !important;
  margin: 0 !important;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
}

.tb-eye-toggle:hover,
.tb-eye-toggle:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--gold-dark);
}

.tb-auth-foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tb-auth-foot a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tb-auth-foot a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

.tb-submit {
  width: 100%;
  background: var(--gold-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tb-submit:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  margin-top: 4rem;
  color: var(--text-secondary);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--gold-dark);
}

.site-footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive Utilities & Touch Targets
   ========================================================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
    border: 1px solid var(--border-color);
  }
}

@media (max-width: 576px) {
  .btn:not(.tb-eye-toggle) {
    min-height: 44px;
  }
  .form-control,
  .form-select {
    min-height: 44px;
  }
}

/* ==========================================================================
   Progress Stepper
   ========================================================================== */
.tb-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tb-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tb-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s ease;
}

.tb-step.active .tb-step-num {
  background: var(--gold-primary);
  color: #0f172a;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.tb-step.completed .tb-step-num {
  background: var(--success);
  color: #ffffff;
  border-color: var(--success);
}

.tb-step-label {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.tb-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.tb-step-line.completed {
  background: var(--success);
}

@media (max-width: 576px) {
  .tb-stepper {
    padding: 0.75rem !important;
  }
  .tb-step-label {
    display: none;
  }
  .tb-step.active .tb-step-label {
    display: inline;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Modals & Dialogs (Solid Opaque Background & Elevating Shadows)
   ========================================================================== */
.modal-content {
  background-color: #ffffff !important;
  color: var(--text-main, #0f172a) !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

.modal-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color, #e2e8f0) !important;
  padding: 1.25rem 1.5rem !important;
}

.modal-body {
  background-color: #ffffff !important;
  padding: 1.5rem !important;
}

.modal-footer {
  background-color: #f8fafc !important;
  border-top: 1px solid var(--border-color, #e2e8f0) !important;
  padding: 1rem 1.5rem !important;
}

.modal-backdrop.show {
  opacity: 0.55 !important;
}