/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./components/home/CountrySelect.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * Country selector inside the sign-in pill. The trigger replaces the old fixed
 * "+1" span in the same flex slot, so the morphing pill's geometry is
 * untouched. The popover is absolutely positioned below the pill and relies on
 * the shell keeping `overflow: visible` in its field states (it does) so it is
 * never clipped.
 *
 * Breakpoint: mobile/desktop split at 900px (see tokens.css), matching the
 * sibling PhoneSignIn module.
 */

.CountrySelect_root__KpZ0o {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.CountrySelect_trigger__gsH4E {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.CountrySelect_trigger__gsH4E:disabled {
  cursor: default;
}

/* The sign-in pill lights its own `:focus-within` ring when this trigger is
 * focused, so suppress the trigger's square keyboard outline (mirrors the
 * phone/code inputs in PhoneSignIn.module.css). The `.root` scope gives this
 * specificity (0,3,0) to out-rank the global keyboard-focus rule in
 * globals.css (0,2,1), which uses `!important`. */
.CountrySelect_root__KpZ0o .CountrySelect_trigger__gsH4E:focus-visible {
  outline: none !important;
}

/* Flag sized to sit on the field's type baseline (matches `.phoneInput`). */
.CountrySelect_triggerFlag__yZPL_ {
  font-size: 24px;
  line-height: 1.25;
}

.CountrySelect_chevron__bxnmX {
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

/* ===== Popover listbox ==================================================== */

/* Portaled to <body> and positioned `fixed` from the trigger's measured rect
 * (top/left/max-height set inline), so it floats over the page instead of
 * adding to document scroll height. `max-height` here is a fallback cap; the
 * inline value clamps to the available viewport space. */
.CountrySelect_popover__lULMl {
  position: fixed;
  z-index: var(--z-overlay);
  margin: 0;
  padding: var(--space-1);
  list-style: none;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-floating);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.CountrySelect_option___FT_L {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text-primary);
  font-family: var(--font-family-sans);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.CountrySelect_optionActive__gQeIo,
.CountrySelect_option___FT_L:hover {
  background: var(--color-interaction-tertiary-default);
}

.CountrySelect_option___FT_L[aria-selected='true'] {
  font-weight: var(--font-weight-medium);
}

.CountrySelect_optionFlag__13Nk2 {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

.CountrySelect_optionName__52odE {
  min-width: 0;
}

/* ===== Desktop ============================================================ */

@media (min-width: 900px) {
  /* Match the desktop field type scale (30px) so the flag lines up with the
   * national number to its right. */
  .CountrySelect_triggerFlag__yZPL_ {
    font-size: 30px;
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./components/ui/Button.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.Button_button__96uC6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-pill);
  /* Landing button treatment: hairline border + drop shadow + inset highlight. */
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--button-shadow), var(--button-inset-shadow);
  font-family: var(--font-family-sans);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--font-body-md-tracking);
  color: var(--color-black);
  transition:
    background-color var(--transition-fast),
    box-shadow 0.15s ease,
    transform 0.15s ease;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  /* Suppress iOS Safari's translucent dark-blue tap-highlight overlay so
   * it stops fighting our own `:active` states (e.g. `.primary:active`'s
   * pressed-color swap). Visual remains identical on desktop. */
  -webkit-tap-highlight-color: transparent;
  /* Opt out of double-tap-to-zoom intent detection. Without this, mobile
   * Safari waits ~300ms after a single tap before firing click in case
   * the user meant to double-tap-zoom; `manipulation` removes that delay
   * while still allowing scroll and pinch-zoom on the surrounding page. */
  touch-action: manipulation;
}

.Button_button__96uC6:not(:disabled):active {
  transform: scale(0.97);
}

.Button_button__96uC6:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.Button_button__96uC6:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.Button_label__hCLAL {
  display: inline-flex;
  align-items: center;
}

.Button_icon__OWfxs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sizes */
.Button_md__ktIWF {
  height: 48px;
  padding: 0 var(--space-6);
  font-size: var(--font-body-md-size);
  line-height: var(--font-body-md-line-height);
}

.Button_lg__s7W56 {
  height: 56px;
  padding: 0 var(--space-8);
  font-size: var(--font-body-md-size);
  line-height: var(--font-body-md-line-height);
}

/* Variants */
.Button_primary__6_Dls {
  background: var(--color-cornflower);
  color: var(--color-black);
}

.Button_primary__6_Dls:not(:disabled):hover {
  background: color-mix(in srgb, var(--color-cornflower) 92%, #000);
}

.Button_secondary__uuOdH {
  background: #cdc9c9;
  color: var(--color-black);
}

.Button_secondary__uuOdH:not(:disabled):hover {
  background: color-mix(in srgb, #cdc9c9 92%, #000);
}

/* Ghost = flat tertiary action — drop the pill border/shadow. */
.Button_ghost__gZqlA {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--color-text-secondary);
}

.Button_ghost__gZqlA:not(:disabled):hover {
  background: var(--color-interaction-tertiary-default);
}

.Button_fullWidth__MEYBG {
  width: 100%;
}

.Button_loading__nv6bE {
  pointer-events: none;
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./components/login/LoginScreen.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
.LoginScreen_screen__i_dUK {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--theme-bg);
  color: var(--theme-text);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  padding: 24px;
  /* Anchor the card from the top (not vertically centered) so the code step's
     "Code sent to…" helper text grows downward instead of nudging the
     logo/heading/input upward — the input stays in the same spot across steps. */
  padding-top: clamp(96px, 30vh, 300px);
}

.LoginScreen_card__8TaQ_ {
  width: 100%;
  max-width: 384px;
}

.LoginScreen_logo__7__Iv {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
}

.LoginScreen_heading__kbKAt {
  font-family: var(--font-family);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--theme-text);
  margin: 0;
}

.LoginScreen_subhead__mZuTI {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--theme-text-muted);
  margin: 4px 0 0;
}

.LoginScreen_form__Twt1o {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

/* Nudge the submit button 4px further from the field above it (adds to the
   form's 12px gap → 16px). On the code step this leaves the button→resend
   spacing unchanged. */
.LoginScreen_submit__Eub9K {
  margin-top: 4px;
  /* The submit control is the shared ui/Button, which paints `primary` from
     --color-cornflower / --color-black. Re-point just those two custom
     properties on this element so the button follows the active color mode
     (e.g. lavender on pine) without touching the shared component. */
  --color-cornflower: var(--theme-cta-bg);
  --color-black: var(--theme-cta-text);
}

/* Phone field — pill holding the country flag selector + national number. */
.LoginScreen_field__vLYSB {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 18px;
  background: var(--theme-surface);
  border: 1.5px solid var(--theme-rule);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease;
}

.LoginScreen_field__vLYSB:focus-within {
  border-color: color-mix(in srgb, var(--theme-text) 30%, transparent);
}

.LoginScreen_input__MA9Bj {
  flex: 1 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 17px;
  letter-spacing: -0.2px;
  color: var(--theme-text);
}

.LoginScreen_input__MA9Bj::placeholder {
  color: var(--theme-text-muted);
}

/* Code field — six segmented digit boxes with a transparent overlay input. */
.LoginScreen_otp__GMdrB {
  position: relative;
  display: flex;
  gap: 8px;
}

.LoginScreen_otpBox__HKFcr {
  flex: 1 1;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 500;
  color: var(--theme-text);
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.LoginScreen_otpBoxActive__P4jpR {
  background: var(--theme-surface);
  border-color: color-mix(in srgb, var(--theme-text) 30%, transparent);
}

.LoginScreen_otpInput__XgjFP {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  outline: none;
  cursor: text;
  /* 16px keeps iOS from zooming the viewport on focus. */
  font-size: 16px;
}

/* The overlay input fills the whole row, so the global keyboard-focus ring would
   draw a box around all six boxes. Suppress it (specificity beats the !important
   rule in globals.css) — the active box's border is the focus indicator. */
.LoginScreen_otp__GMdrB .LoginScreen_otpInput__XgjFP:focus,
.LoginScreen_otp__GMdrB .LoginScreen_otpInput__XgjFP:focus-visible {
  outline: none !important;
}

.LoginScreen_spinner__IYuSY {
  animation: LoginScreen_loginSpin__UYlZx 0.8s linear infinite;
}

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

.LoginScreen_resend__Nx63R {
  margin: 4px 0 0;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--theme-text-muted);
  text-align: center;
}

.LoginScreen_textLink__9VCWK {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--theme-text);
  cursor: pointer;
  text-decoration: underline;
  -webkit-text-decoration-color: var(--theme-rule);
          text-decoration-color: var(--theme-rule);
  text-underline-offset: 3px;
}

.LoginScreen_textLink__9VCWK:hover {
  -webkit-text-decoration-color: var(--theme-text);
          text-decoration-color: var(--theme-text);
}

.LoginScreen_cooldown__U6V8s {
  color: var(--theme-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.LoginScreen_error__P0XTy {
  margin: 12px 0 0;
  font-family: var(--font-family);
  font-size: 14px;
  color: #c0392b;
  text-align: center;
}

.LoginScreen_legal__TmL6V {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  padding: 0 24px;
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 1.5;
  color: var(--theme-text-muted);
  text-align: center;
}

.LoginScreen_legal__TmL6V a {
  color: var(--theme-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.LoginScreen_legal__TmL6V a:hover {
  color: var(--theme-text);
}

