:root {
  --bg-deep: #030303;
  --bg0: #060606;
  --bg1: #0c0c0e;
  --surface: rgba(15, 15, 18, 0.72);
  --surface-2: rgba(22, 22, 28, 0.65);
  --card: linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.028) 100%);
  --card-border: rgba(255, 255, 255, 0.09);
  --card-border-strong: rgba(255, 255, 255, 0.12);
  --text: #fafafa;
  --text-secondary: #c4c4cc;
  --muted: #8b8b98;
  --muted-2: #6e6e7a;
  --brand: #e11d2e;
  --brand-mid: #f0152f;
  --brand-hover: #ff2d3d;
  --brand-soft: rgba(225, 29, 46, 0.12);
  --brand-glow: rgba(225, 29, 46, 0.22);
  --danger: #fb7185;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.45) inset, 0 50px 100px -35px rgba(0, 0, 0, 0.75), 0 0 120px -50px rgba(225, 29, 46, 0.07);
  --shadow-float: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.33, 1.2, 0.68, 1);
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  font-family: var(--font-ui);
}

::selection {
  background: rgba(225, 29, 46, 0.35);
  color: var(--text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse 120% 70% at 50% -25%, rgba(225, 29, 46, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 100% 20%, rgba(225, 29, 46, 0.05), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 85%, rgba(80, 20, 30, 0.12), transparent 45%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg-deep) 38%, var(--bg1) 100%);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.011em;
}

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 22%, black, transparent);
  opacity: 0.55;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}
.orb-a {
  width: 520px;
  height: 520px;
  background: var(--brand);
  top: -200px;
  right: -120px;
}
.orb-b {
  width: 400px;
  height: 400px;
  background: #4c0510;
  bottom: -100px;
  left: -100px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-lockup img {
  height: 100px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .brand-lockup img {
    height: 58px;
  }
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

.brand-wordmark small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav-inline a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-inline a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text);
  border: 1px solid var(--card-border);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.link-quiet {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.85rem;
}

.link-quiet:hover {
  color: var(--brand-hover);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3.5rem 4rem;
    padding-top: 3rem;
  }
}

.hero {
  padding-top: 0.35rem;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-mid);
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.5vw, 3.65rem);
  line-height: 1.06;
  margin: 0 0 1.25rem;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 28;
}

.hero h1 em {
  font-style: italic;
  color: var(--brand-hover);
}

.lede {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  font-weight: 400;
  max-width: 40ch;
  line-height: 1.68;
}

.hero-benefits {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  list-style: none;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow-sm);
}

.hero-benefits li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.52;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-benefits li:last-child {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

.hero-benefits li:first-child {
  padding-top: 0.35rem;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  box-shadow: 0 0 12px var(--brand-glow);
}

@media (min-width: 900px) {
  .hero-benefits {
    margin-top: 2.25rem;
    padding: 1.35rem 1.5rem;
  }
}

.surface-card.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-card), var(--shadow-float);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow: hidden;
}

.surface-card.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
  pointer-events: none;
}

.card-head {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.card-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.card-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42ch;
}

.surface-card #join-form,
.surface-card #success-panel {
  padding: 1.75rem 1.75rem 2rem;
}

.card:not(.surface-card) {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

@media (min-width: 900px) {
  .card:not(.surface-card) {
    padding: 2rem 2.1rem 2.35rem;
  }

  .card-head {
    padding: 2rem 2.1rem 1.35rem;
  }

  .surface-card #join-form,
  .surface-card #success-panel {
    padding: 2rem 2.1rem 2.25rem;
  }
}

.form-row {
  display: grid;
  gap: 1rem;
}
.form-row.two {
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.field input:hover,
.field select:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(225, 29, 46, 0.55);
  box-shadow: var(--shadow-sm), 0 0 0 3px var(--brand-soft);
  background: rgba(0, 0, 0, 0.58);
}

.field input::placeholder {
  color: #71717a;
}

.hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.field-error {
  min-height: 1.1rem;
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--danger);
}

.form-error {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--danger);
  min-height: 1.2rem;
}

.consent-field {
  margin: 1.5rem 0 0.35rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: var(--shadow-sm);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: #d4d4d8;
  line-height: 1.45;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.consent-label a {
  color: var(--brand-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover {
  color: #fca5a5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s var(--ease-out), opacity 0.2s;
}

.btn:active {
  transform: scale(0.985);
}

.btn.primary {
  width: 100%;
  margin-top: 0.35rem;
  background: linear-gradient(165deg, #c41e2a 0%, var(--brand) 38%, var(--brand-mid) 100%);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2) inset, 0 16px 40px -8px rgba(225, 29, 46, 0.45);
}

.btn.primary:hover:not(:disabled) {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15) inset, 0 20px 48px -6px rgba(225, 29, 46, 0.55);
  filter: brightness(1.03);
}

.btn.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.65rem;
}

.btn.ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn.loading .btn-label {
  opacity: 0.9;
}
.btn.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-panel {
  text-align: center;
  padding: 0.75rem 0 0.5rem;
}

.success-panel.hidden {
  display: none;
}

.success-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24;
}

.success-panel p {
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid rgba(225, 29, 46, 0.35);
  color: var(--brand-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 0 32px var(--brand-glow);
}

#join-form.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.footer-links .sep {
  color: var(--muted-2);
  user-select: none;
  padding: 0 0.15rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}

/* Legal pages */
.legal-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 28;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal-disclaimer {
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(127, 29, 29, 0.25);
  font-size: 0.88rem;
  color: #fecaca;
  margin: 0 0 2rem;
  line-height: 1.5;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
  color: #fafafa;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 18;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  color: #d4d4d8;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--brand-hover);
}

.legal-page a:hover {
  color: #fca5a5;
}

.legal-page code,
.legal-page .placeholder {
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #fde68a;
}

.font-display {
  font-family: var(--font-display);
}

/* Admin */
.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th,
td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
}
.badge.pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}
.badge.approved {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}
.badge.rejected {
  background: rgba(248, 113, 113, 0.12);
  color: #fda4af;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.btn.sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 8px;
}

.btn.danger {
  background: rgba(248, 113, 113, 0.15);
  color: #fda4af;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.btn.success {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.toolbar input,
.toolbar select {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* Searchable country + dial picker */
.country-field {
  position: relative;
}

.country-picker {
  position: relative;
}

.country-picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.country-picker-trigger:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
}

.country-picker-trigger:focus {
  outline: none;
  border-color: rgba(225, 29, 46, 0.55);
  box-shadow: var(--shadow-sm), 0 0 0 3px var(--brand-soft);
}

.country-picker-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.country-picker-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-picker-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  flex-shrink: 0;
  opacity: 0.85;
}

.country-picker-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.97);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(360px, 58vh);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.country-picker-search-wrap {
  padding: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.country-picker-search {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.country-picker-search:focus {
  outline: none;
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

.country-picker-search::placeholder {
  color: #71717a;
}

.country-picker-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.country-picker-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: #e4e4e7;
}

.country-picker-option:hover,
.country-picker-option.is-active {
  background: rgba(220, 38, 38, 0.12);
}

.country-picker-option.is-active {
  outline: 1px solid rgba(220, 38, 38, 0.25);
}

.opt-flag {
  font-size: 1.25rem;
  line-height: 1;
  width: 1.75rem;
  text-align: center;
  flex-shrink: 0;
}

.opt-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.opt-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opt-dial {
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.country-picker-empty {
  padding: 1rem 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  list-style: none;
}
