/* ==========================================================
   PASIÓN QTC - CSS FINAL
   Diseñado para las 3 vistas:
   index.html, pronostico.html, gracias.html
   ========================================================== */

:root {
  --qtc-purple: #6B2BC2;
  --qtc-purple-dark: #4E1D9B;
  --qtc-orange: #FF5B0A;
  --qtc-orange-2: #FF7A18;
  --qtc-navy: #07194D;
  --qtc-text: #121B4B;
  --qtc-muted: #60688C;
  --qtc-green: #2FA338;
  --qtc-red: #EF3B2D;
  --qtc-line: #E2E6F1;
  --qtc-bg: #F4F6FB;
  --white: #FFFFFF;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-page: 0 24px 70px rgba(16, 26, 78, .13);
  --shadow-card: 0 16px 40px rgba(16, 26, 78, .11);
  --shadow-soft: 0 10px 24px rgba(16, 26, 78, .07);
  --content: 1460px;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--qtc-text);
  font-family: Inter, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(255,255,255,.90), rgba(255,255,255,.78)),
    url("../assets/img/fondo-estadio.png") center / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 36%, rgba(107,43,194,.13), transparent 28%),
    radial-gradient(circle at 88% 46%, rgba(255,91,10,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.78));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--qtc-purple);
  font-weight: 900;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

/* Layout general */
.app-shell {
  width: min(var(--content), calc(100% - 36px));
  min-height: calc(100vh - 36px);
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid rgba(226,230,244,.86);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.60);
  box-shadow: var(--shadow-page);
  backdrop-filter: blur(12px);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 42px;
  border-bottom: 1px solid rgba(226,230,244,.86);
  background: rgba(255,255,255,.84);
}

.qtc-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #D8DDEB;
  border-radius: 999px;
  color: #17204F;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.menu-icon {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  color: var(--qtc-purple);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 28px;
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(330px, 430px);
  gap: 40px;
  align-items: center;
  padding: 44px 54px 28px;
}

.hero.prediction-layout {
  grid-template-columns: minmax(300px, 470px) minmax(400px, 650px);
}

.hero.thanks-layout {
  grid-template-columns: minmax(300px, 540px) minmax(400px, 590px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.campaign-logo {
  width: min(380px, 90%);
  margin: 0 0 26px;
}

.page-title {
  margin: 0;
  color: var(--qtc-navy);
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: .97;
  letter-spacing: -.048em;
  font-weight: 950;
}

.page-title.compact {
  font-size: clamp(32px, 3.3vw, 54px);
}

.page-subtitle {
  width: min(560px, 100%);
  margin: 16px 0 0;
  color: #202A5D;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.42;
  font-weight: 560;
}

/* Mascotas */
.mascot-full {
  position: absolute;
  z-index: 1;
  left: 38%;
  bottom: 0;
  width: min(370px, 31vw);
  min-width: 270px;
  pointer-events: none;
  filter: drop-shadow(0 26px 38px rgba(16,26,78,.16));
}

.mascot-side {
  width: min(330px, 30vw);
  margin: 26px auto 0;
  pointer-events: none;
  filter: drop-shadow(0 26px 38px rgba(16,26,78,.16));
}

/* Cards */
.main-card {
  position: relative;
  z-index: 3;
  padding: 30px;
  border: 1px solid rgba(226,230,244,.96);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-card);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--qtc-navy);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 950;
}

.card-title-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--qtc-purple), var(--qtc-orange));
}

.step-pill,
.ok-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 950;
  white-space: nowrap;
}

.step-pill {
  color: #fff;
  background: linear-gradient(135deg, var(--qtc-purple), var(--qtc-purple-dark));
}

.ok-pill {
  color: #1B7B28;
  background: #E9F7EC;
}

/* Formulario */
.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  position: relative;
}

.field-label {
  display: block;
  margin: 0 0 8px;
  color: #283261;
  font-size: 14px;
  font-weight: 950;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #737A99;
  font-size: 18px;
  pointer-events: none;
}

.input,
.select {
  width: 100%;
  min-height: 58px;
  padding: 0 16px 0 48px;
  border: 1.5px solid #DDE2EF;
  border-radius: 15px;
  outline: 0;
  color: #17214F;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input:focus,
.select:focus,
.country-input:focus {
  border-color: var(--qtc-purple);
  box-shadow: 0 0 0 5px rgba(107,43,194,.10);
}

.input.is-error,
.select.is-error,
.country-input.is-error {
  border-color: var(--qtc-red);
  box-shadow: 0 0 0 5px rgba(239,59,45,.10);
}

.select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #6D7390 50%),
    linear-gradient(135deg, #6D7390 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}

.error-text {
  display: none;
  margin-top: 7px;
  color: var(--qtc-red);
  font-size: 13px;
  font-weight: 850;
}

.field.has-error .error-text {
  display: block;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  color: #51597C;
  font-size: 14px;
  line-height: 1.35;
}

.checkbox input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 1px;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--qtc-purple);
}

.cta {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
  background: linear-gradient(100deg, var(--qtc-purple), #C23F8A 52%, var(--qtc-orange));
  box-shadow: 0 16px 30px rgba(255,91,10,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(107,43,194,.16);
}

.cta:active {
  transform: translateY(0);
}

.cta-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 50%;
  font-size: 24px;
}

.helper-text {
  margin: 13px 0 0;
  color: #707797;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

/* Beneficios home */
.benefits-card {
  width: min(500px, 100%);
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #E6E9F4;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}

.benefit-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.benefit-row + .benefit-row {
  border-top: 1px solid #ECEFF7;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: var(--qtc-purple);
  font-size: 28px;
  font-weight: 950;
}

.benefit-row:nth-child(2) .benefit-icon {
  background: var(--qtc-orange);
}

.benefit-copy {
  color: #162050;
  font-size: 15px;
  line-height: 1.25;
}

.benefit-copy strong {
  display: block;
  font-weight: 950;
}

.benefit-percent {
  color: var(--qtc-purple);
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.benefit-row:nth-child(2) .benefit-percent {
  color: var(--qtc-orange);
}

.note {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #ECEFF7;
  color: #69708E;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 760;
}

.steps-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #E7EAF4;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 18px rgba(16,26,78,.06);
}

.step-mini-num {
  display: grid;
  place-items: center;
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--qtc-purple);
  font-weight: 950;
}

.step-mini:nth-child(2) .step-mini-num {
  background: var(--qtc-orange);
}

.step-mini:nth-child(3) .step-mini-num {
  background: var(--qtc-green);
}

.step-mini b {
  display: block;
  font-weight: 950;
}

.step-mini span {
  display: block;
  margin-top: 2px;
  color: #646B8D;
  font-size: 13px;
}

/* Modalidad */
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 20px;
}

.mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 128px;
  padding: 18px;
  border: 2px solid #E2E6F3;
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mode-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(16,26,78,.08);
}

.mode-card.is-active {
  border-color: var(--qtc-purple);
  box-shadow: 0 14px 32px rgba(107,43,194,.13);
}

.mode-card.is-final.is-active {
  border-color: var(--qtc-orange);
  box-shadow: 0 14px 32px rgba(255,91,10,.13);
}

.mode-radio {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #B6BBD1;
  border-radius: 50%;
}

.mode-card.is-active .mode-radio::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--qtc-purple);
}

.mode-card.is-final.is-active .mode-radio::before {
  background: var(--qtc-orange);
}

.mode-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: var(--qtc-purple);
  font-size: 26px;
}

.mode-card.is-final .mode-icon {
  background: var(--qtc-orange);
}

.mode-info strong {
  display: block;
  color: #0D1950;
  font-size: 16px;
  line-height: 1.14;
  font-weight: 950;
}

.mode-info span {
  display: block;
  margin-top: 4px;
  color: #5D6587;
  font-size: 13px;
  font-weight: 820;
}

.mode-percent {
  display: block !important;
  margin-top: 6px !important;
  color: var(--qtc-purple) !important;
  font-size: 36px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.mode-card.is-final .mode-percent {
  color: var(--qtc-orange) !important;
}

/* Selector país con búsqueda */
.selector-box {
  padding: 18px;
  border: 1px solid #E5E8F4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,26,78,.06);
  margin-bottom: 14px;
}

.selector-box.is-disabled {
  opacity: .46;
  pointer-events: none;
}

.selector-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--qtc-purple);
  font-size: 20px;
  font-weight: 950;
}

.selector-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--qtc-purple);
  font-size: 15px;
}

.country-picker {
  position: relative;
}

.country-input {
  width: 100%;
  min-height: 58px;
  padding: 0 48px 0 18px;
  border: 1.5px solid #DDE2EF;
  border-radius: 15px;
  outline: 0;
  color: #17214F;
  background: #fff;
  font-weight: 900;
}

.country-input::placeholder {
  color: #9AA0B6;
  font-weight: 760;
}

.country-caret {
  position: absolute;
  right: 18px;
  top: 29px;
  transform: translateY(-50%);
  color: #6D7390;
  pointer-events: none;
}

.country-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  display: none;
  max-height: 275px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #E0E4F0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(16,26,78,.18);
}

.country-picker.is-open .country-list {
  display: block;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  color: #142050;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.country-option:hover,
.country-option.is-active {
  background: #F2EDFF;
}

.flag-badge {
  display: grid;
  place-items: center;
  min-width: 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F6F7FB;
  font-size: 22px;
}

.no-results {
  padding: 16px;
  color: #6B7190;
  text-align: center;
  font-weight: 850;
}

.secondary-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  color: var(--qtc-purple);
  font-weight: 950;
}

/* Gracias */
.confirm-card {
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #39B33A, #1D8E25);
  box-shadow: 0 18px 34px rgba(54,165,54,.20);
  font-size: 44px;
  font-weight: 950;
}

.confirm-card h2 {
  margin: 0 0 20px;
  color: var(--qtc-navy);
  font-size: 32px;
  line-height: 1.08;
  font-weight: 950;
}

.summary-box {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #E3E7F3;
  border-radius: 18px;
  background: #fff;
  text-align: left;
}

.summary-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid #EDF0F7;
  font-size: 15px;
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row span {
  color: #5C6387;
  font-weight: 850;
}

.summary-row b {
  text-align: right;
  font-weight: 950;
}

.next-box {
  padding: 20px;
  border: 1px solid #DBEEDC;
  border-radius: 18px;
  background: #F0F9F1;
  text-align: left;
}

.next-box h3 {
  margin: 0 0 12px;
  color: #188221;
  font-size: 20px;
  font-weight: 950;
}

.next-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-list li {
  display: flex;
  gap: 10px;
  color: #25305F;
  font-weight: 850;
  line-height: 1.3;
}

.next-list i {
  display: grid;
  place-items: center;
  min-width: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--qtc-green);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

/* Términos */
.terms-content {
  padding: 44px 54px;
}

.terms-card {
  width: min(920px, 100%);
  margin: auto;
  padding: 34px;
  border: 1px solid #E4E8F2;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.terms-card h1 {
  margin: 0 0 16px;
  color: var(--qtc-navy);
}

.terms-card li {
  margin-bottom: 10px;
  color: #30385F;
  line-height: 1.5;
}

/* Utilidades */
.footer-note {
  padding: 0 54px 34px;
  color: #72799A;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 760;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  transform: translateX(-50%) translateY(18px);
  width: min(520px, calc(100% - 28px));
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: #111A44;
  box-shadow: 0 14px 34px rgba(9,16,52,.25);
  text-align: center;
  font-weight: 850;
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 1180px) {
  .hero,
  .hero.prediction-layout,
  .hero.thanks-layout {
    grid-template-columns: 1fr;
    padding: 34px 30px 26px;
  }

  .hero-copy {
    padding-right: 250px;
  }

  .main-card {
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .mascot-full {
    left: auto;
    right: 28px;
    bottom: 20px;
    width: 260px;
    min-width: 260px;
  }

  .mascot-side {
    position: absolute;
    right: 36px;
    top: 140px;
    width: 240px;
    opacity: .38;
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .app-header {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .qtc-logo {
    width: 96px;
  }

  .menu-icon {
    display: grid;
    place-items: center;
  }

  .date-pill {
    order: 3;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero,
  .hero.prediction-layout,
  .hero.thanks-layout {
    display: block;
    padding: 28px 18px 20px;
  }

  .hero-copy {
    padding: 0;
  }

  .campaign-logo {
    width: min(260px, 86%);
    margin-bottom: 18px;
  }

  .page-title,
  .page-title.compact {
    max-width: 68%;
    font-size: 36px;
    line-height: 1;
  }

  .page-subtitle {
    max-width: 68%;
    margin-top: 12px;
    font-size: 16px;
  }

  .mascot-full,
  .mascot-side {
    position: absolute;
    right: 18px;
    top: 110px;
    width: 132px;
    min-width: 132px;
    opacity: 1;
    z-index: 1;
  }

  .view-start .mascot-full {
    top: 116px;
    width: 150px;
    min-width: 150px;
  }

  .main-card {
    margin-top: 26px;
    padding: 20px;
    border-radius: 24px;
  }

  .card-top {
    display: block;
  }

  .card-title {
    font-size: 22px;
  }

  .step-pill,
  .ok-pill {
    margin-top: 12px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .input,
  .select,
  .country-input {
    min-height: 52px;
    font-size: 15px;
  }

  .benefits-card {
    margin-top: 18px;
    padding: 16px;
  }

  .benefit-row {
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
  }

  .benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 23px;
  }

  .benefit-percent {
    font-size: 34px;
  }

  .steps-mini {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mode-card {
    display: block;
    min-height: 154px;
    padding: 14px;
    text-align: center;
  }

  .mode-radio {
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .mode-icon {
    width: 46px;
    height: 46px;
    margin: 8px auto 10px;
    font-size: 22px;
  }

  .mode-info strong {
    font-size: 14px;
  }

  .mode-info span {
    font-size: 11.5px;
  }

  .mode-percent {
    font-size: 34px !important;
  }

  .selector-box {
    padding: 15px;
  }

  .selector-title {
    font-size: 17px;
  }

  .country-list {
    max-height: 280px;
  }

  .cta {
    min-height: 58px;
    font-size: 18px;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .summary-row b {
    text-align: left;
  }

  .footer-note {
    padding: 0 18px 24px;
  }

  .terms-content {
    padding: 24px 18px;
  }

  .terms-card {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .page-title,
  .page-title.compact,
  .page-subtitle {
    max-width: 66%;
  }

  .campaign-logo {
    width: 220px;
  }

  .mascot-full,
  .mascot-side {
    top: 116px;
    width: 112px;
    min-width: 112px;
  }

  .view-start .mascot-full {
    width: 125px;
    min-width: 125px;
  }

  .page-title,
  .page-title.compact {
    font-size: 34px;
  }
}

/* Mejora selector de países con emojis */
.country-option {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
}

.flag-badge {
  display: grid;
  place-items: center;
  min-width: 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f2f4fb);
  border: 1px solid #e4e7f2;
  font-size: 24px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  box-shadow: 0 4px 10px rgba(16, 26, 78, .06);
}

.country-name {
  display: block;
  color: #101947;
  font-size: 15px;
  font-weight: 900;
}

.country-input {
  font-family: Inter, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

.country-list {
  scrollbar-width: thin;
  scrollbar-color: #c7cce0 #f4f6fb;
}

.country-list::-webkit-scrollbar {
  width: 8px;
}

.country-list::-webkit-scrollbar-track {
  background: #f4f6fb;
  border-radius: 999px;
}

.country-list::-webkit-scrollbar-thumb {
  background: #c7cce0;
  border-radius: 999px;
}
