/* ═══════════════════════════════════════════════════════════
   My Videsh — Landing Page Stylesheet
   Palette: Navy #1B2E4A · Gold #E8971A · Teal #00B4A0
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Completely hide Netlify HUD badge & iframes */
#nl-badge-frame, #nl-hud-frame, iframe[title*="Netlify"], iframe[title*="Powered by Netlify"], .nl-wrap, #nl-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  clip-path: path("M0 0Z") !important;
}

:root {
  --navy:     #1B2E4A;
  --navy-mid: #243752;
  --navy-lt:  #2F4A68;
  --gold:     #E8971A;
  --gold-lt:  #F5AA35;
  --teal:     #00B4A0;
  --teal-lt:  #00CDB7;
  --teal-dk:  #009688;
  --white:    #ffffff;
  --off-white:#F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #64748B;
  --gray-800: #1E293B;
  --text:     #1E293B;
  --text-light:#64748B;
  --radius:   12px;
  --radius-lg:20px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow:   0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:0 16px 48px rgba(0,0,0,.14);
  --transition:.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.hidden { display: none !important; }

/* ── Typography helpers ─────────────────────────────────── */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .5rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-subtitle { margin: .5rem auto 0; }
.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.nav-brand-text {
  font-size: 1.3rem;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1;
}
.nav-brand-text strong {
  color: #008479;
  font-weight: 800;
}
.nav-brand-divider {
  width: 1px;
  height: 22px;
  background: #cbd5e1;
}
.nav-tagline {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.btn-playstore-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-playstore-nav svg {
  color: #008479;
}
.btn-playstore-nav:hover {
  background: #f1f5f9;
  border-color: #008479;
  color: #008479;
  transform: translateY(-1px);
}
.btn-login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn-login-link:hover {
  color: #008479;
  background: #f1f5f9;
}
.login-user-icon {
  color: #008479;
}
.btn-recruiter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-recruiter-pill:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.38);
}

/* ═══════════════════════════════════════════════════════════
   JOB HAI STYLE HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.jobhai-hero {
  background: #eff6fc;
  padding: 2.8rem 1.5rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.jobhai-hero-container {
  max-width: 1240px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  min-height: 380px;
}
.hero-worker-col {
  flex: 1 1 320px;
  max-width: 360px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1;
}
.hero-worker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px 20px 0 0;
  filter: drop-shadow(0 8px 24px rgba(0, 30, 60, 0.08));
}
.jobhai-hero-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 3.2rem 3rem;
  box-shadow: 0 10px 40px rgba(15, 45, 80, 0.08);
  text-align: center;
  max-width: 580px;
  width: 100%;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.85);
  margin-bottom: 2rem;
  margin-left: -1rem;
  margin-right: -1rem;
}
.jobhai-hero-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 0.9rem;
}
.jobhai-hero-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  font-weight: 500;
  margin-bottom: 2.1rem;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}
.btn-get-job-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #008479;
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.95rem 2.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 132, 121, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-get-job-now:hover {
  background: #007066;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 132, 121, 0.45);
}

/* ── Job Hai Mobile OTP Flow Inside Hero Card ────────── */
.hero-phone-flow {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  animation: heroFadeIn 0.25s ease forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-phone-input-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1.5px solid #cbd5e1;
  padding: 0.6rem 0.2rem;
  margin-bottom: 1.8rem;
  transition: border-color 0.2s ease;
}
.hero-phone-input-row:focus-within {
  border-bottom-color: #008479;
}
.hero-phone-prefix {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.5px;
}
.hero-mobile-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1.1rem;
  color: #111827;
  font-family: inherit;
  font-weight: 500;
}
.hero-mobile-input::placeholder {
  color: #94a3b8;
  font-size: 1rem;
}
.btn-request-otp {
  background: #e2e8f0;
  color: #94a3b8;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 3.4rem;
  border-radius: 999px;
  cursor: not-allowed;
  transition: all 0.2s ease;
  border: none;
  width: fit-content;
}
.btn-request-otp.active, .btn-request-otp:not(:disabled) {
  background: #008479;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 132, 121, 0.35);
}
.btn-request-otp.active:hover, .btn-request-otp:not(:disabled):hover {
  background: #007066;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   EXPLORE JOBS IN 50+ COUNTRIES
   ═══════════════════════════════════════════════════════════ */
.countries-explore-section {
  padding: 4.5rem 0 3rem;
  background: #ffffff;
}
.explore-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.explore-title {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}
.country-stat-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #475569;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-pill strong {
  color: #008479;
  font-weight: 700;
}
.stat-pipe {
  color: #cbd5e1;
}
.country-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.country-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.country-item-card:hover {
  transform: translateY(-3px);
  border-color: #008479;
  box-shadow: 0 8px 24px rgba(0, 132, 121, 0.12);
}
.country-flag-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.country-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.country-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}
.country-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}
.country-badge.gulf {
  background: #fef3c7;
  color: #92400e;
}
.country-badge.europe {
  background: #e0f2fe;
  color: #0369a1;
}
.country-badge.rux {
  background: #fee2e2;
  color: #991b1b;
}
.country-badge.isr {
  background: #ecfdf5;
  color: #065f46;
}
.view-all-center {
  text-align: center;
  margin-top: 1.5rem;
}
.btn-view-all-countries, .btn-show-more-agencies {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid #008479;
  color: #008479;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-view-all-countries:hover, .btn-show-more-agencies:hover {
  background: #008479;
  color: #ffffff;
}
.chevron-icon {
  transition: transform 0.25s ease;
}
.chevron-icon.rotate {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════
   TRUST BANNER
   ═══════════════════════════════════════════════════════════ */
.trust-jobhai-banner {
  padding: 2.5rem 0;
  background: #f8fafc;
}
.trust-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 2.6rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
  flex-wrap: wrap;
}
.trust-banner-title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 1.1rem;
}
.trust-features-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
}
.trust-feature-divider {
  color: #64748b;
  font-size: 0.8rem;
}
.btn-register-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00B4A0;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 180, 160, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register-banner:hover {
  background: #009688;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   FEATURED AGENCIES HIRING NOW
   ═══════════════════════════════════════════════════════════ */
.agencies-section {
  padding: 4.5rem 0 3.5rem;
  background: #ffffff;
}
.agencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.agency-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agency-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.agency-badge-top {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.agency-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.agency-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.agency-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.3rem;
  line-height: 1.45;
}
.btn-agency-view {
  margin-top: auto;
  width: 100%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-agency-view:hover {
  background: #008479;
  border-color: #008479;
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   WHAT KIND OF ROLE DO YOU WANT ?
   ═══════════════════════════════════════════════════════════ */
.roles-section {
  padding: 4.5rem 0 3.5rem;
  background: #f8fafc;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.role-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  width: 100%;
}
.role-card-item:hover {
  transform: translateY(-3px);
  border-color: #008479;
  box-shadow: 0 10px 28px rgba(0, 132, 121, 0.12);
}
.role-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.role-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: capitalize;
  margin-bottom: 0.3rem;
}
.role-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.role-count-pill {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: #008479;
  background: #f0fdfa;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #ccfbf1;
}

/* ═══════════════════════════════════════════════════════════
   WHAT IS YOUR QUALIFICATION ?
   ═══════════════════════════════════════════════════════════ */
.qualification-section {
  padding: 4rem 0 4.5rem;
  background: #ffffff;
}
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.qualification-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.qualification-card:hover {
  transform: translateY(-3px);
  border-color: #0284c7;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}
.qual-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.qual-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.qual-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.qual-status {
  margin-top: auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════
   NETLIFY SUPPRESSION
   ═══════════════════════════════════════════════════════════ */
[data-netlify-drawer],
[id*="netlify-drawer"],
[class*="netlify-drawer"],
[id*="netlify-badge"],
[class*="netlify-badge"],
iframe[src*="netlify"],
a[href*="netlify.com"],
div:has(> a[href*="netlify.com"]),
div[id*="netlify"],
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
  .hero-worker-col {
    display: none;
  }
  .jobhai-hero-card {
    margin-bottom: 2rem;
    padding: 2.5rem 1.5rem;
  }
  .nav-brand-divider, .nav-tagline {
    display: none;
  }
  .trust-banner-card {
    padding: 1.8rem 1.4rem;
    text-align: center;
    justify-content: center;
  }
  .trust-features-row {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
  .btn-recruiter-pill {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
}

/* Search bar */
.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.2rem;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 1rem;
  gap: .6rem;
  border-right: 1px solid var(--gray-200);
}
.search-icon { color: var(--gray-400); flex-shrink: 0; }
.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: .95rem;
  color: var(--text);
  font-family: inherit;
  padding: .9rem 0;
}
.search-location-wrap {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: .5rem;
  border-right: 1px solid var(--gray-200);
}
.location-icon { color: var(--gray-400); flex-shrink: 0; }
.search-select {
  border: none;
  outline: none;
  font-size: .9rem;
  color: var(--text);
  font-family: inherit;
  background: transparent;
  padding: .9rem 0;
  cursor: pointer;
  min-width: 160px;
}
.search-btn {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: 0 1.6rem;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--teal-dk); }

/* Hero tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.tag-label { color: rgba(255,255,255,.5); font-size: .82rem; }
.tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  transition: all var(--transition);
}
.tag:hover { background: rgba(255,255,255,.2); color: var(--white); }

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex-shrink: 0;
  z-index: 1;
}
.stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition);
}
.stat-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); }
.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); font-weight: 500; }
.stat-highlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  background: rgba(0,180,160,.18);
  border-color: rgba(0,180,160,.3);
  color: var(--teal-lt);
  font-weight: 600;
  font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════════
   TRUST TICKER
   ═══════════════════════════════════════════════════════════ */
.trust-ticker {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  padding: .8rem 0;
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-track span {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   JOBS SECTION
   ═══════════════════════════════════════════════════════════ */
.jobs-section {
  padding: 5rem 0;
  background: var(--off-white);
}

.jobs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.job-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.job-card:hover::before { background: linear-gradient(90deg, var(--teal), var(--gold)); }
.job-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}
.job-card.featured::before { background: linear-gradient(90deg, var(--teal), var(--gold)); }

.job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.job-flag-wrap { font-size: 1.9rem; line-height: 1; }
.job-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 999px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.job-badge.europe { background: #DCFCE7; color: #16A34A; }
.job-badge.gcc    { background: #FEF9C3; color: #A16207; }

.featured-tag {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-dk);
  letter-spacing: .3px;
}

.job-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.job-location {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  color: var(--text-light);
}

.job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.job-salary {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.job-type {
  font-size: .75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: .2rem .65rem;
  border-radius: 999px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.job-tags span {
  font-size: .72rem;
  background: #EFF6FF;
  color: #2563EB;
  padding: .2rem .6rem;
  border-radius: 6px;
  font-weight: 500;
}

.job-apply-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  margin-top: auto;
  transition: background var(--transition), transform var(--transition);
}
.job-apply-btn:hover { background: var(--teal-dk); transform: translateY(-1px); }

.jobs-cta {
  text-align: center;
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: .8rem 2rem;
  border-radius: 10px;
  font-size: .95rem;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.how-section {
  padding: 5rem 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}
.step-card {
  flex: 1;
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.2rem;
}
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--teal-lt));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.step-card p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.55;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--gray-400);
  flex-shrink: 0;
  padding: 0 .5rem;
}

/* ═══════════════════════════════════════════════════════════
   COUNTRIES
   ═══════════════════════════════════════════════════════════ */
.countries-section {
  padding: 5rem 0;
  background: var(--off-white);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.4rem .75rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.country-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.country-flag { font-size: 2.4rem; line-height: 1; }
.country-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.country-count {
  font-size: .72rem;
  color: var(--teal);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   RECRUITER BANNER
   ═══════════════════════════════════════════════════════════ */
.recruiter-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 5rem 1.5rem;
}
.recruiter-banner-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}
.recruiter-banner-text { flex: 1; }
.recruiter-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: .75rem;
}
.recruiter-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.recruiter-desc {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.recruiter-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.recruiter-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.recruiter-features svg { color: var(--teal-lt); flex-shrink: 0; }
.btn-recruiter {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: .95rem;
  padding: .9rem 1.8rem;
  border-radius: 10px;
  transition: all var(--transition);
}
.btn-recruiter:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,151,26,.35); }

/* Recruiter visual card */
.recruiter-banner-visual { flex-shrink: 0; }
.recruiter-visual-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.5rem;
  width: 340px;
  backdrop-filter: blur(12px);
}
.visual-card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.vc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.vc-dot.green { background: #22c55e; }
.vc-dot.amber { background: #f59e0b; }
.vc-dot.red   { background: #ef4444; }

.visual-stat-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.visual-stat {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: .75rem;
  text-align: center;
}
.vs-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.vs-label { font-size: .68rem; color: rgba(255,255,255,.5); }

.visual-candidate-list { display: flex; flex-direction: column; gap: .6rem; }
.vc-candidate {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: .6rem .8rem;
}
.vc-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.vc-info { flex: 1; }
.vc-name { display: block; font-size: .82rem; font-weight: 600; color: var(--white); }
.vc-role { display: block; font-size: .7rem; color: rgba(255,255,255,.5); }
.vc-status {
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 999px;
}
.vc-status.match  { background: rgba(34,197,94,.2); color: #4ade80; }
.vc-status.review { background: rgba(251,191,36,.15); color: #fbbf24; }

/* ═══════════════════════════════════════════════════════════
   APP SECTION
   ═══════════════════════════════════════════════════════════ */
.app-section {
  padding: 5rem 0;
  background: var(--white);
}
.app-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.app-text { flex: 1; }
.app-text .section-title { text-align: left; margin-bottom: .75rem; }
.app-text .section-subtitle { margin: 0 0 2rem; }

.app-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--navy);
  color: var(--white);
  padding: .8rem 1.4rem;
  border-radius: 12px;
  transition: all var(--transition);
}
.app-badge:hover { background: var(--navy-lt); transform: translateY(-2px); }
.app-badge div { display: flex; flex-direction: column; }
.app-badge span { font-size: .62rem; color: rgba(255,255,255,.6); }
.app-badge strong { font-size: .95rem; font-weight: 700; }

/* Phone mockup */
.app-phone-mockup { flex-shrink: 0; }
.phone-frame {
  width: 200px;
  background: var(--navy);
  border-radius: 30px;
  padding: 1.2rem .8rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  border: 6px solid var(--navy-mid);
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  width: 50px; height: 6px;
  background: var(--navy-lt);
  border-radius: 3px;
  margin: 0 auto .8rem;
}
.phone-screen {
  background: var(--off-white);
  border-radius: 18px;
  overflow: hidden;
}
.phone-screen-content { padding: .8rem; }
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  padding: .6rem .75rem;
  border-radius: 12px;
  margin-bottom: .75rem;
}
.phone-header-logo {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
}
.phone-header-logo strong { color: var(--gold); }
.phone-job-mini {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border-radius: 8px;
  padding: .5rem .6rem;
  margin-bottom: .4rem;
  font-size: .7rem;
}
.pmj-title { font-weight: 700; color: var(--navy); font-size: .68rem; }
.pmj-loc { color: var(--text-light); font-size: .6rem; }
.pmj-salary {
  margin-left: auto;
  font-weight: 700;
  color: var(--teal-dk);
  font-size: .65rem;
  white-space: nowrap;
}
.phone-apply-btn {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  padding: .5rem;
  font-size: .75rem;
  font-weight: 700;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════
   LOGIN SECTION
   ═══════════════════════════════════════════════════════════ */
.login-section {
  padding: 5rem 0;
  background: var(--off-white);
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  margin: 0 auto;
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
}
.login-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--gray-200);
}
.login-tab {
  flex: 1;
  padding: 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
}
.login-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.login-panel { padding: 2rem; }
.login-panel.hidden { display: none; }
.login-title { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: .3rem; }
.login-subtitle { font-size: .85rem; color: var(--text-light); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-input {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--teal); }
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.phone-input-wrap:focus-within { border-color: var(--teal); }
.phone-prefix {
  background: var(--gray-100);
  padding: 0 .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
  border-right: 1.5px solid var(--gray-200);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.phone-input-wrap .form-input {
  border: none;
  border-radius: 0;
}
.phone-input-wrap .form-input:focus { border: none; }

.btn-primary {
  display: block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; }

.login-divider {
  text-align: center;
  margin: 1.2rem 0;
  position: relative;
  color: var(--gray-400);
  font-size: .82rem;
}
.login-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}
.login-divider span {
  background: var(--white);
  padding: 0 .75rem;
  position: relative;
  z-index: 1;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-google:hover { border-color: var(--teal); background: var(--off-white); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 4rem 1.5rem 0;
}
.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: .75rem;
}
.footer-tagline {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .5rem;
}
.footer-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: .25rem;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--gold); }
.footer-note { font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding-top: 3.5rem; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-tags { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 500px; margin: 0 auto; }
  .stat-highlight { grid-column: 1 / -1; }

  .recruiter-banner-container { flex-direction: column; gap: 2.5rem; }
  .recruiter-visual-card { width: 100%; max-width: 400px; margin: 0 auto; }

  .app-content { flex-direction: column; text-align: center; }
  .app-text .section-title, .app-text .section-subtitle { text-align: center; }
  .app-badges { justify-content: center; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  .steps-grid { flex-wrap: wrap; gap: 1rem; }
  .step-arrow { display: none; }
  .step-card { flex: 1 1 200px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero { min-height: auto; padding: 3rem 1.25rem 2.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .search-bar { flex-direction: column; border-radius: var(--radius); }
  .search-input-wrap, .search-location-wrap { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .search-btn { padding: 1rem; border-radius: 0; }
  .search-select { min-width: unset; width: 100%; }

  .jobs-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
  .app-phone-mockup { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   USER AUTH STATE IN NAVBAR
   ═══════════════════════════════════════════════════════════ */
.user-pill-web {
  display: none !important;
}
.user-pill-web.active-logged-in {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 30px;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
}
.user-pill-avatar {
  font-size: 1rem;
}
.user-pill-name {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f172a;
}
.btn-nav-logout {
  background: #e2e8f0;
  border: none;
  color: #64748b;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: 2px;
}
.btn-nav-logout:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* ═══════════════════════════════════════════════════════════
   JOB HAI STYLE OTP SIDE PANEL (DRAWER)
   ═══════════════════════════════════════════════════════════ */
.otp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.58);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.otp-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.otp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: var(--white);
  z-index: 9999;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2rem 1.8rem;
  overflow-y: auto;
}
.otp-drawer.open {
  transform: translateX(0);
}

.otp-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.otp-close-btn:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.otp-drawer-body {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.otp-drawer-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.otp-drawer-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.otp-drawer-subtitle strong {
  color: var(--navy);
}

.btn-edit-number {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
}
.btn-edit-number:hover {
  color: var(--teal-dk);
}

.otp-digits-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.otp-box {
  flex: 1;
  height: 58px;
  max-width: 54px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  transition: all 0.2s ease;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.otp-box:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.15);
  background: #f0fdfa;
}
.otp-box.filled {
  border-color: var(--teal);
}
.otp-box.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.otp-check-hint {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 1.2rem;
}

.otp-resend-row {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.88rem;
}
.otp-timer {
  color: var(--text-light);
}
.otp-timer strong {
  color: var(--navy);
}
.btn-resend-link {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--transition);
}
.btn-resend-link:hover {
  color: var(--teal-dk);
  text-decoration: underline;
}

.btn-verify-action {
  height: 48px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-verify-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--gray-300);
  color: var(--gray-500);
  transform: none !important;
}

.otp-error-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.otp-legal {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  text-align: center;
}
.otp-legal a {
  color: var(--teal);
  text-decoration: underline;
}

.spinner-inline {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
