/* ==========================================================================
   CFO CRAFT CLIENT LOGIN — ZENI-STYLE FLOW, CFO CRAFT THEME
   Typography and theme values mirror the main site style.css.
   ========================================================================== */

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

:root {
  --light-blue: #A6CBF7;
  --dark-blue-gradient: #020C1B 0%, #090F18 50%, var(--dark-blue) 100%;
  --primary-blue: #2B6DB2;
  --dark-blue: #082951;
  --creamish: #EEBA7D;
  --mint: #8FD6B4;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8ebec;
  --gray-300: #d1d5d6;
  --gray-400: #9ba3a4;
  --gray-600: #5a6566;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  min-height: 100%;
  background: #020C1B;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: linear-gradient(110deg, #020C1B 0%, #090F18 50%, var(--dark-blue) 100%);
  color: var(--white);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(166, 203, 247, 0.58);
  outline-offset: 3px;
}

/* ==========================================================================
   PAGE
   ========================================================================== */

.login-page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 1.35rem 2rem 2.75rem;
}

.login-page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 82%, rgba(166, 203, 247, 0.07), transparent 48%),
    radial-gradient(ellipse at 76% 18%, rgba(43, 109, 178, 0.10), transparent 42%);
}

.login-page-shell::after {
  content: "";
  position: absolute;
  width: 610px;
  height: 610px;
  right: -330px;
  top: -145px;
  border: 1px solid rgba(166, 203, 247, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(166, 203, 247, 0.018),
    0 0 0 100px rgba(166, 203, 247, 0.012),
    0 0 0 150px rgba(166, 203, 247, 0.008);
  pointer-events: none;
}

.login-logo {
  position: absolute;
  cursor: default;
  user-select: none;
  z-index: 5;
  top: .75rem;
  left: 2rem;
  width: 92px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.login-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

.logo-fallback {
  display: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.login-main {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  min-height: calc(100svh - 4.1rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ==========================================================================
   AUTH AREA
   ========================================================================== */

.login-auth {
  width: min(720px, 100%);
  padding-top: 1rem;
  text-align: center;
}

.login-auth h1 {
  margin: 0;
  color: var(--light-blue);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.login-subtitle {
  margin: 0.35rem auto 1rem;
  color: rgba(250, 250, 250, 0.78);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 300;
  line-height: 1.5;
}

.auth-view[hidden] {
  display: none !important;
}

.provider-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: min(640px, 100%);
  margin: 0 auto;
}

.provider-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(166, 203, 247, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 500;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.provider-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(166, 203, 247, 0.54);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.provider-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.login-divider {
  width: min(640px, 100%);
  margin: 0.75rem auto 0.55rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: rgba(166, 203, 247, 0.20);
}

.switch-auth-link {
  padding: 0.15rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition), border-color var(--transition);
}

.switch-auth-link:hover {
  color: var(--light-blue);
  border-color: var(--light-blue);
}

/* ==========================================================================
   PHONE / OTP
   ========================================================================== */

.phone-entry,
.otp-entry {
  width: min(520px, 100%);
  min-height: 56px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(166, 203, 247, 0.30);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-entry:focus-within,
.otp-entry:focus-within {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 4px rgba(166, 203, 247, 0.08);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.95rem;
  border-right: 1px solid rgba(166, 203, 247, 0.16);
  color: var(--light-blue);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.phone-entry input,
.otp-entry input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 0.95rem;
  background: transparent;
  color: var(--white);
  font-size: 0.92rem;
}

.phone-entry input::placeholder,
.otp-entry input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.phone-submit {
  min-width: 108px;
  margin: 0.42rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 7px;
  background: var(--creamish);
  color: var(--dark-blue);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
}

.phone-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #dca362;
}

.channel-selector {
  width: min(320px, 100%);
  margin: 0.7rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.channel-option {
  min-height: 38px;
  border: 1px solid rgba(166, 203, 247, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
}

.channel-option:hover {
  color: var(--white);
  border-color: rgba(166, 203, 247, 0.36);
}

.channel-option.is-active {
  border-color: var(--primary-blue);
  background: rgba(43, 109, 178, 0.17);
  color: var(--light-blue);
}

.auth-status {
  min-height: 18px;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.auth-status.error {
  color: #ff9f9a;
}

.auth-status.success {
  color: var(--mint);
}

.otp-label {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
}

.otp-destination {
  margin: 0.1rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

.otp-entry {
  grid-template-columns: minmax(0, 1fr) auto;
}

.otp-entry input {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-align: center;
}

.otp-actions {
  width: min(520px, 100%);
  min-height: 26px;
  margin: 0.55rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.minor-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--light-blue);
  font-size: 0.72rem;
}

.minor-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SHOWCASE CAROUSEL
   Dashboard images keep their full 16:9 composition.
   ========================================================================== */

.showcase-section {
  position: relative;
  width: min(960px, 100%);
  height: 352px;
  margin-top: 0.7rem;
  display: grid;
  place-items: center;
}

.showcase-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 52vw);
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(166, 203, 247, 0.16);
  border-radius: 14px;
  background: #0B2038;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.20);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    z-index 0s linear 0.28s;
  cursor: pointer;
  pointer-events: none;
}

.showcase-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  filter: none;
}

.showcase-card.is-prev {
  z-index: 1;
  opacity: 0.58;
  transform: translate(calc(-50% - 270px), -50%) scale(0.84);
  pointer-events: auto;
  filter: saturate(0.76) brightness(0.80);
}

.showcase-card.is-next {
  z-index: 1;
  opacity: 0.58;
  transform: translate(calc(-50% + 270px), -50%) scale(0.84);
  pointer-events: auto;
  filter: saturate(0.76) brightness(0.80);
}

.showcase-kicker {
  color: var(--creamish);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card h2 {
  margin-top: 0.28rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.28;
}

.showcase-card > p:not(.showcase-kicker) {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  line-height: 1.38;
}

/* Full image fix: no crop. */
.showcase-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(166, 203, 247, 0.12);
  border-radius: 9px;
  background: #061A31;
}

.showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #061A31;
}

.carousel-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 203, 247, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: rgba(166, 203, 247, 0.14);
  color: var(--white);
}

.carousel-prev {
  left: 0.25rem;
}

.carousel-next {
  right: 0.25rem;
}

/* ==========================================================================
   BOTTOM LINKS
   ========================================================================== */

.login-utility-links {
  position: absolute;
  z-index: 8;
  top: 1.55rem;
  right: 2rem;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  font-weight: 400;
}

.login-utility-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.login-utility-links a:hover {
  color: var(--light-blue);
}

/* ==========================================================================
   RESPONSIVE — FOUR DEVICE GROUPS
   ========================================================================== */

/* 1. Large desktop */
@media (min-width: 1200px) {
  .login-main {
    max-width: 1200px;
  }
}

/* 2. Laptop */
@media (max-width: 1199px) {
  .login-page-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .showcase-section {
    width: min(850px, 100%);
    height: 340px;
  }

  .showcase-card {
    width: min(455px, 54vw);
  }

  .showcase-card.is-prev {
    transform: translate(calc(-50% - 235px), -50%) scale(0.82);
  }

  .showcase-card.is-next {
    transform: translate(calc(-50% + 235px), -50%) scale(0.82);
  }
}

/* 3. Tablet */
@media (max-width: 991px) {
  .login-page-shell {
    padding-top: 1rem;
    padding-bottom: 4.5rem;
  }

  .login-logo {
    top: 1rem;
    left: 1.25rem;
    width: 80px;
  }

  .login-logo img {
    max-width: 80px;
    max-height: 46px;
  }

  .login-utility-links {
    top: 1.05rem;
    right: 1.25rem;
    gap: 1rem;
    font-size: 0.72rem;
  }

  .login-auth {
    padding-top: 4.25rem;
  }

  .showcase-section {
    width: min(700px, 100%);
    height: 338px;
    margin-top: 1rem;
  }

  .showcase-card {
    width: min(430px, 64vw);
  }

  .showcase-card.is-prev {
    transform: translate(calc(-50% - 190px), -50%) scale(0.78);
  }

  .showcase-card.is-next {
    transform: translate(calc(-50% + 190px), -50%) scale(0.78);
  }
}

/* 4. Mobile */
@media (max-width: 767px) {
  .login-page-shell {
    min-height: 100svh;
    padding: 0.85rem 0.9rem 4.6rem;
    overflow-y: auto;
  }

  .login-logo {
    top: 0.9rem;
    left: 1rem;
    width: 72px;
  }

  .login-logo img {
    max-width: 72px;
    max-height: 42px;
  }

  .login-auth {
    width: 100%;
    padding-top: 4.35rem;
  }

  .login-auth h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .login-subtitle {
    max-width: 360px;
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
  }

  .provider-row {
    grid-template-columns: 1fr;
    max-width: 390px;
  }

  .provider-btn {
    min-height: 50px;
  }

  .login-divider {
    max-width: 390px;
  }

  .phone-entry {
    max-width: 390px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .phone-submit {
    grid-column: 1 / -1;
    min-height: 42px;
    margin: 0.5rem;
  }

  .channel-selector {
    max-width: 280px;
  }

  .showcase-section {
    width: 100%;
    height: 315px;
    margin-top: 1.25rem;
  }

  .showcase-card {
    width: min(360px, 84vw);
  }

  .showcase-card.is-prev,
  .showcase-card.is-next {
    opacity: 0;
    pointer-events: none;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  .login-utility-links {
    top: 0.95rem;
    right: 0.9rem;
    left: auto;
    bottom: auto;
    justify-content: flex-end;
    gap: 0.8rem;
    font-size: 0.68rem;
  }

  .login-utility-links a {
    min-height: 32px;
  }
}

@media (max-width: 420px) {
  .login-auth h1 {
    font-size: 1.9rem;
  }

  .phone-prefix {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .otp-actions {
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .showcase-card {
    width: 84vw;
    padding: 1rem;
  }

  .showcase-card h2 {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* ==========================================================================
   INTERNATIONAL PHONE SELECTOR + CHANNEL BRAND ICONS
   ========================================================================== */

.phone-entry {
  position: relative;
  overflow: visible;
}

.country-select-wrap {
  position: relative;
  min-width: 132px;
  height: 100%;
  align-self: stretch;
}

.country-select-trigger {
  width: 100%;
  height: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  padding: 0 0.78rem;
  border: 0;
  border-right: 1px solid rgba(166, 203, 247, 0.16);
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--light-blue);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: var(--transition);
}

.country-select-trigger:hover,
.country-select-trigger[aria-expanded="true"] {
  background: rgba(166, 203, 247, 0.08);
  color: var(--white);
}

.country-code-badge {
  width: 28px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  border: 1px solid rgba(166, 203, 247, 0.22);
  border-radius: 7px;
  background: rgba(43, 109, 178, 0.16);
  color: var(--light-blue);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.country-dial {
  display: inline-flex;
  align-items: center;
  color: var(--light-blue);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.country-chevron {
  width: 10px;
  height: 7px;
  margin-left: 0.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.country-select-trigger[aria-expanded="true"] .country-chevron {
  transform: rotate(180deg);
}

.country-menu {
  position: absolute;
  z-index: 80;
  left: 0;
  top: calc(100% + 0.55rem);
  width: min(340px, calc(100vw - 2rem));
  max-height: 345px;
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid rgba(166, 203, 247, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(6, 25, 48, 0.99), rgba(2, 12, 27, 0.99));
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.country-menu[hidden] {
  display: none !important;
}

.country-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(166, 203, 247, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
}

.country-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: rgba(166, 203, 247, 0.75);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.country-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
}

.country-search input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.country-list {
  max-height: 282px;
  margin-top: 0.45rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(166, 203, 247, 0.24) transparent;
}

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

.country-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(166, 203, 247, 0.24);
}

.country-option {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.62rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  transition: var(--transition);
}

.country-option:hover {
  background: rgba(166, 203, 247, 0.08);
  color: var(--white);
}

.country-option.is-selected {
  background: rgba(43, 109, 178, 0.18);
  color: var(--white);
}

.country-option-iso {
  width: 30px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 203, 247, 0.16);
  border-radius: 6px;
  background: rgba(166, 203, 247, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.country-option-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-option-code {
  color: var(--light-blue);
  font-size: 0.74rem;
  font-weight: 600;
}

.country-empty {
  padding: 0.9rem 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  text-align: center;
}

.channel-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  line-height: 1;
}

.channel-brand-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
  margin: 0;
}

.channel-option > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  line-height: 1;
}

@media (max-width: 767px) {
  .phone-entry {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .country-select-wrap {
    min-width: 128px;
  }

  .country-menu {
    width: min(330px, calc(100vw - 2rem));
  }
}

@media (max-width: 420px) {
  .phone-entry {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .country-select-wrap {
    min-width: 112px;
  }

  .country-select-trigger {
    gap: 0.3rem;
    padding: 0 0.55rem;
  }

  .country-menu {
    width: min(315px, calc(100vw - 1.8rem));
  }
}


/* Final alignment safeguard */
.country-select-trigger,
.channel-option {
  vertical-align: middle;
}

.country-select-trigger > *,
.channel-option > * {
  align-self: center;
}

.channel-selector {
  align-items: stretch;
}

.channel-option svg {
  position: static;
  inset: auto;
  transform: none;
}

