/* MBAMI Solution — Phase 1 UX/UI premium */
:root {
  --mb-navy: #071a33;
  --mb-navy-2: #0d3158;
  --mb-gold: #d5a83f;
  --mb-gold-dark: #aa7d1f;
  --mb-ink: #132238;
  --mb-muted: #64748b;
  --mb-bg: #f5f7fa;
  --mb-card: #fff;
  --mb-line: #e2e8f0;
  --mb-success: #15803d;
  --mb-danger: #b42318;
  --mb-shadow: 0 18px 50px rgba(7, 26, 51, .09);
}

html {
  scroll-behavior: smooth
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--mb-bg);
  color: var(--mb-ink);
  letter-spacing: -.005em
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 10% 0%, rgba(213, 168, 63, .07), transparent 28%), radial-gradient(circle at 100% 20%, rgba(13, 49, 88, .06), transparent 26%)
}

.container {
  max-width: 1240px
}

.header {
  background: rgba(7, 26, 51, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(2, 12, 25, .14)
}

.nav {
  min-height: 78px
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .2))
}

.brand-text {
  letter-spacing: .02em
}

.links a {
  font-weight: 700;
  color: #eaf0f7;
  transition: .2s
}

.links a:hover {
  color: #fff
}

.actions .btn-outline {
  border-color: rgba(255, 255, 255, .36)
}

.btn,
.btn-gold,
.btn-outline,
.btn-glass {
  min-height: 44px;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.btn:hover,
.btn-gold:hover,
.btn-outline:hover,
.btn-glass:hover {
  transform: translateY(-2px)
}

.btn-gold {
  background: linear-gradient(135deg, var(--mb-gold), #e2bb61);
  color: #122033;
  box-shadow: 0 10px 24px rgba(213, 168, 63, .22)
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e0b34c, #efd17d)
}

.card,
.search-box,
.form-card,
.dashboard-panel,
.stat-card,
.lawyer-card,
.profile-card {
  border: 1px solid var(--mb-line);
  border-radius: 22px;
  box-shadow: var(--mb-shadow);
  background: rgba(255, 255, 255, .98)
}

.input,
input,
select,
textarea {
  border-color: #cbd5e1 !important;
  border-radius: 12px !important;
  min-height: 46px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s
}

textarea {
  min-height: 120px
}

input:focus,
select:focus,
textarea:focus,
.input:focus {
  outline: none;
  border-color: var(--mb-gold) !important;
  box-shadow: 0 0 0 4px rgba(213, 168, 63, .16)
}

.page-hero,
.dashboard-hero {
  background: radial-gradient(circle at 85% 15%, rgba(213, 168, 63, .18), transparent 24%), linear-gradient(135deg, var(--mb-navy), var(--mb-navy-2));
  color: #fff
}

.page-hero h1,
.dashboard-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em
}

.page-hero p,
.dashboard-hero p {
  color: #d6e1ec
}

section {
  padding-top: 72px;
  padding-bottom: 72px
}

.section-head h1,
.section-head h2,
.section-center h2 {
  color: var(--mb-navy);
  letter-spacing: -.025em
}

.eyebrow {
  color: var(--mb-gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em
}

.lawyer-card,
.professional-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.lawyer-card:hover,
.professional-card:hover {
  transform: translateY(-5px);
  border-color: #d3ba7d;
  box-shadow: 0 24px 60px rgba(7, 26, 51, .14)
}

.badge,
.verified-badge,
.status {
  border-radius: 999px;
  font-weight: 800
}

.verified-badge {
  background: #eaf8ef;
  color: #12753f
}

.tag {
  border-radius: 999px;
  background: #edf2f7;
  color: #29415e
}

.dashboard-grid,
.stats-grid {
  gap: 20px
}

.stat-card {
  padding: 24px
}

.stat-card strong {
  font-size: 30px;
  color: var(--mb-navy)
}

.dashboard-panel {
  padding: 26px
}

.dashboard-shortcut {
  transition: .2s
}

.dashboard-shortcut:hover {
  transform: translateY(-3px);
  border-color: #d5bd85
}

.footer {
  background: #06162b;
  color: #d7e0ea
}

.footer h3 {
  color: #fff
}

.footer a {
  color: #b9c7d7
}

.footer a:hover {
  color: var(--mb-gold)
}

.mobile-menu {
  background: #091f3b;
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .2)
}

.mobile-menu a {
  padding: 15px 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

/* Premium home refinement */
.premium-hero-grid {
  min-height: 680px
}

.premium-search-card {
  box-shadow: 0 35px 90px rgba(0, 0, 0, .3)
}

.profession-card {
  border-radius: 26px
}

.profession-icon {
  box-shadow: inset 0 0 0 1px rgba(7, 26, 51, .05)
}

/* Authentication and forms */
.auth-wrap,
.form-wrap {
  padding: 76px 20px
}

.auth-card,
.registration-card {
  max-width: 720px;
  margin: auto
}

.form-grid {
  gap: 18px
}

.form-section-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mb-line);
  color: var(--mb-navy)
}

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(213, 168, 63, .55);
  outline-offset: 3px
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: #fff;
  color: #071a33;
  padding: 12px 16px;
  border-radius: 10px
}

@media(max-width:900px) {
  .nav {
    min-height: 70px
  }

  .links,
  .actions {
    display: none
  }

  .menu-btn {
    display: block
  }

  .premium-hero-grid {
    min-height: auto
  }

  .premium-proof {
    gap: 16px
  }

  .page-hero,
  .dashboard-hero {
    padding: 58px 0
  }

  section {
    padding-top: 56px;
    padding-bottom: 56px
  }
}

@media(max-width:640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px
  }

  .brand-text {
    font-size: 16px
  }

  .brand-logo {
    width: 38px;
    height: 38px
  }

  .premium-hero-grid {
    padding: 48px 16px
  }

  .hero-copy h1 {
    font-size: 44px
  }

  .premium-search-card {
    padding: 22px;
    border-radius: 20px
  }

  .premium-proof {
    grid-template-columns: 1fr 1fr
  }

  .profession-card {
    padding: 25px
  }

  .page-hero h1,
  .dashboard-hero h1 {
    font-size: 36px
  }

  .card,
  .search-box,
  .form-card,
  .dashboard-panel,
  .stat-card {
    border-radius: 18px
  }

  .btn,
  .btn-gold,
  .btn-outline,
  .btn-glass {
    width: 100%
  }

  .hero-actions,
  .actions-row,
  .cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }
}
.payment-provider-choice{margin:22px 0;padding:18px;border:1px solid rgba(15,43,70,.14);border-radius:18px;background:#f8fafc}
.payment-provider-choice h3{margin:6px 0 14px}
.provider-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.provider-choice-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid rgba(15,43,70,.18);border-radius:16px;background:#fff;cursor:pointer}
.provider-choice-card:has(input:checked){border-color:#c69a3a;box-shadow:0 0 0 2px rgba(198,154,58,.14)}
.provider-choice-card input{margin-top:4px}
.provider-choice-card strong,.provider-choice-card small{display:block}
.provider-choice-card small{margin-top:4px;line-height:1.45;color:#5c6875}
@media(max-width:720px){.provider-choice-grid{grid-template-columns:1fr}}
