/* ============================================================
   தமிழக வேலை — style.css
   Brand: Blue #123C7A | Orange #FF8A00
   Mobile-first, Tamil-native, High-dopamine UX
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --blue:        #123C7A;
  --blue-mid:    #1a4f9f;
  --blue-light:  #e8eef8;
  --blue-glow:   rgba(18,60,122,0.15);
  --orange:      #FF8A00;
  --orange-dark: #e07a00;
  --orange-light:#fff4e5;
  --orange-glow: rgba(255,138,0,0.2);
  --bg:          #F7F9FC;
  --bg-white:    #FFFFFF;
  --text:        #222222;
  --text-mid:    #555555;
  --text-soft:   #888888;
  --border:      #E4EAF2;
  --green:       #16A34A;
  --green-light: #f0fdf4;
  --red:         #DC2626;
  --red-light:   #fef2f2;
  --shadow-sm:   0 1px 4px rgba(18,60,122,0.08);
  --shadow-md:   0 4px 16px rgba(18,60,122,0.10);
  --shadow-lg:   0 8px 32px rgba(18,60,122,0.14);
  --shadow-card: 0 2px 12px rgba(18,60,122,0.08);
  --shadow-hover:0 8px 28px rgba(18,60,122,0.16);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-pill: 100px;
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
  --font-ui:     'Poppins', sans-serif;
  --font-tamil:  'Noto Sans Tamil', 'Poppins', sans-serif;
  --nav-h:       60px;
  --bottom-nav-h:64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-h);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-ui); border: none; outline: none; }
input, select, textarea { font-family: var(--font-ui); }
ul { list-style: none; }

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

/* ============================================================
   TOP NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 12px rgba(18,60,122,0.25);
}
.navbar-logo {
  font-family: var(--font-tamil);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.navbar-logo span { color: var(--orange); }
.navbar-right { display: flex; align-items: center; gap: 8px; }
.navbar-login-btn {
  background: var(--orange);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-login-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.navbar-icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}
.navbar-icon-btn:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   BOTTOM NAVIGATION (mobile app-like)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(18,60,122,0.08);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 500;
  position: relative;
}
.bottom-nav-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav-item.active { color: var(--blue); }
.bottom-nav-item.active svg { stroke: var(--blue); }
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 3px;
  background: var(--orange);
  border-radius: 0 0 4px 4px;
}
.bottom-nav-item span { font-family: var(--font-tamil); font-size: 0.65rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-tamil);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.15s;
}
.btn:active::after { opacity: 0.08; }

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18,60,122,0.25); }

.btn-orange {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 16px var(--orange-glow);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,138,0,0.3); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover { background: var(--blue-light); }

.btn-ghost {
  background: var(--bg-white);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 9px 20px; font-size: 0.875rem; }

/* Glow animation for hero buttons */
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 4px 16px var(--orange-glow); }
  50%      { box-shadow: 0 4px 28px rgba(255,138,0,0.45); }
}
.btn-glow { animation: glow-pulse 2.4s ease-in-out infinite; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(145deg, var(--blue) 0%, #0d2d5e 100%);
  padding: 36px 20px 44px;
  position: relative;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,138,0,0.08);
}
.hero-bg-shape-1 { width: 220px; height: 220px; top: -80px; right: -60px; }
.hero-bg-shape-2 { width: 140px; height: 140px; bottom: -50px; left: -30px; }
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,138,0,0.15);
  border: 1px solid rgba(255,138,0,0.3);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.hero-trust-pill span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; display: inline-block; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title {
  font-family: var(--font-tamil);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.hero-title .highlight { color: var(--orange); }
.hero-subtitle {
  font-family: var(--font-tamil);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  position: relative; z-index: 1;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative; z-index: 1;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 28px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative; z-index: 1;
}
.hero-stat {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--orange); display: block; line-height: 1; margin-bottom: 3px; }
.hero-stat-label { font-family: var(--font-tamil); font-size: 0.68rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   CATEGORY SCROLL
   ============================================================ */
.category-scroll-wrap {
  background: var(--bg-white);
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--border);
}
.category-scroll-title {
  font-family: var(--font-tamil);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 0 16px 10px;
}
.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  min-width: 68px;
}
.category-pill:hover, .category-pill.active {
  background: var(--blue-light);
  border-color: var(--blue);
}
.category-pill.active .pill-icon { background: var(--blue); }
.pill-icon {
  width: 38px; height: 38px;
  background: var(--bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1.5px solid var(--border);
}
.category-pill.active .pill-icon { border-color: var(--blue); background: var(--blue-light); }
.pill-label {
  font-family: var(--font-tamil);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.category-pill.active .pill-label { color: var(--blue); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 12px;
}
.section-hd-title {
  font-family: var(--font-tamil);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.section-hd-title span { color: var(--orange); }
.section-hd-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.jobs-feed { padding: 0 16px 24px; display: flex; flex-direction: column; gap: 14px; }

.job-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: cardFadeUp 0.35s ease both;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}
@keyframes cardFadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}
.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.10s; }
.job-card:nth-child(3) { animation-delay: 0.15s; }
.job-card:nth-child(4) { animation-delay: 0.20s; }
.job-card:nth-child(5) { animation-delay: 0.25s; }

/* Card top row */
.jc-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.jc-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-ui);
}
.jc-info { flex: 1; min-width: 0; }
.jc-title {
  font-family: var(--font-tamil);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.jc-company { font-size: 0.8rem; color: var(--text-mid); font-weight: 500; }
.jc-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }

/* Badges */
.badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.badge-new     { background: var(--blue-light); color: var(--blue); }
.badge-hot     { background: #fff4e5; color: #c05d00; }
.badge-urgent  { background: #fef2f2; color: var(--red); }
.badge-green   { background: var(--green-light); color: var(--green); }

/* Card meta row */
.jc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.jc-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-family: var(--font-tamil);
}
.jc-meta-item svg { width: 13px; height: 13px; stroke: var(--text-soft); fill:none; stroke-width:2; flex-shrink:0; }

/* Salary */
.jc-salary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.jc-salary-label { font-size: 0.72rem; font-weight: 500; color: var(--text-soft); }

/* Tags row */
.jc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.jc-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text-mid);
  border: 1px solid var(--border);
  font-family: var(--font-tamil);
}

/* Card footer */
.jc-footer {
  display: flex;
  gap: 8px;
  align-items: center;
}
.jc-time { font-size: 0.72rem; color: var(--text-soft); flex: 1; font-family: var(--font-tamil); }
.btn-wa {
  background: #25D366;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: none;
  white-space: nowrap;
  transition: var(--transition);
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-tamil);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-apply-card {
  flex: 1;
  background: var(--blue);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: none;
  transition: var(--transition);
  font-family: var(--font-tamil);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-apply-card:hover { background: var(--blue-mid); transform: translateY(-1px); box-shadow: 0 4px 14px var(--blue-glow); }

/* Save button */
.jc-save {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-soft);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.jc-save:hover { border-color: var(--orange); color: var(--orange); }
.jc-save.saved { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #e8eef8 25%, #f5f7fb 50%, #e8eef8 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.sk-row { display: flex; gap: 12px; align-items: center; }
.sk-circle { border-radius: 50%; flex-shrink: 0; }
.sk-block { flex: 1; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  font-family: var(--font-tamil);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ============================================================
   SEARCH BAR (jobs.html)
   ============================================================ */
.search-sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: var(--blue);
  padding: 12px 16px;
  box-shadow: 0 2px 12px rgba(18,60,122,0.2);
}
.search-box {
  display: flex;
  gap: 8px;
  align-items: center;
  background: white;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.search-box-icon { color: var(--text-soft); font-size: 1rem; flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: var(--font-tamil);
  color: var(--text);
  background: transparent;
}
.search-box input::placeholder { color: var(--text-soft); }
.search-box-btn {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-tamil);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.search-box-btn:hover { background: var(--orange-dark); }

/* Filter chips */
.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 16px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: white;
  font-family: var(--font-tamil);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-chip.active, .filter-chip:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

/* Results bar */
.results-bar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.results-bar-count {
  font-family: var(--font-tamil);
  font-size: 0.82rem;
  color: var(--text-mid);
}
.results-bar-count strong { color: var(--blue); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 56px 32px;
}
.empty-icon { font-size: 3.5rem; margin-bottom: 12px; opacity: 0.5; }
.empty-title { font-family: var(--font-tamil); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-sub   { font-family: var(--font-tamil); font-size: 0.85rem; color: var(--text-soft); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page { min-height: 100vh; background: var(--bg); padding-bottom: 0; }
.auth-header {
  background: linear-gradient(145deg, var(--blue) 0%, #0d2d5e 100%);
  padding: 40px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.auth-header::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,138,0,0.1);
  border-radius: 50%;
  top: -60px; right: -50px;
}
.auth-logo-text {
  font-family: var(--font-tamil);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}
.auth-logo-text span { color: var(--orange); }
.auth-tagline { font-family: var(--font-tamil); font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: -20px;
  padding: 28px 20px 40px;
  min-height: calc(100vh - 160px);
  box-shadow: 0 -4px 24px rgba(18,60,122,0.08);
  position: relative; z-index: 1;
}
.auth-card-title {
  font-family: var(--font-tamil);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.auth-card-sub {
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

/* Auth message */
.auth-msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  line-height: 1.5;
}
.auth-msg.error   { background: var(--red-light); color: #991b1b; border: 1px solid #fecaca; }
.auth-msg.success { background: var(--green-light); color: #166534; border: 1px solid #bbf7d0; }
.auth-msg.info    { background: var(--blue-light); color: var(--blue); border: 1px solid #c3d4f0; }

/* Form elements */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-label .req { color: var(--red); }
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-tamil);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,60,122,0.08);
}
.form-input::placeholder { color: var(--text-soft); }
.form-hint { font-size: 0.75rem; color: var(--text-soft); margin-top: 4px; font-family: var(--font-tamil); }

/* Password wrapper */
.pw-wrap { position: relative; }
.pw-wrap .form-input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 1rem;
  padding: 2px;
  line-height: 1;
}

/* User type selector */
.user-type-grid { display: flex; gap: 12px; margin-bottom: 24px; }
.user-type-opt { flex: 1; }
.user-type-opt input { display: none; }
.user-type-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.user-type-opt input:checked + label {
  border-color: var(--blue);
  background: var(--blue-light);
}
.user-type-icon { font-size: 1.75rem; line-height: 1; }
.user-type-lbl { font-family: var(--font-tamil); font-size: 0.82rem; font-weight: 700; color: var(--text); }

/* Auth footer link */
.auth-footer-link {
  text-align: center;
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-top: 20px;
}
.auth-footer-link a { color: var(--blue); font-weight: 700; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

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

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: #0d2547;
  color: rgba(255,255,255,0.65);
  padding: 32px 20px;
  text-align: center;
  margin-bottom: var(--bottom-nav-h);
}
.footer-logo { font-family: var(--font-tamil); font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.footer-logo span { color: var(--orange); }
.footer-tagline { font-family: var(--font-tamil); font-size: 0.78rem; margin-bottom: 18px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.footer-links a { font-family: var(--font-tamil); font-size: 0.78rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   VOICE PLACEHOLDER BUTTONS
   ============================================================ */
.voice-bar {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--blue-light);
  border-bottom: 1px solid var(--border);
}
.voice-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px dashed var(--blue);
  background: white;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-tamil);
  cursor: not-allowed;
  opacity: 0.7;
}
.voice-btn-icon { font-size: 1rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-section { padding: 24px 16px; background: var(--bg-white); }
.steps-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}
.step-text {}
.step-title { font-family: var(--font-tamil); font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.step-desc  { font-family: var(--font-tamil); font-size: 0.8rem; color: var(--text-soft); line-height: 1.5; }

/* ============================================================
   EMPLOYER BANNER
   ============================================================ */
.employer-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #d97000 100%);
  margin: 0 16px 20px;
  border-radius: var(--radius);
  padding: 20px;
  color: white;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.eb-title { font-family: var(--font-tamil); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.eb-sub   { font-family: var(--font-tamil); font-size: 0.82rem; opacity: 0.9; margin-bottom: 16px; }
.eb-btn {
  display: inline-block;
  background: white;
  color: var(--orange-dark);
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.eb-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: white;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-tamil);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 88vw;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }
.toast.info    { background: var(--blue); }

/* ============================================================
   UTILITIES
   ============================================================ */
.fade-in { animation: fadeIn 0.35s ease both; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.d-none { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.px-4 { padding-left: 16px; padding-right: 16px; }

/* ============================================================
   DESKTOP ADAPT
   ============================================================ */
@media (min-width: 768px) {
  .container { max-width: 480px; margin: 0 auto; }
  .bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); }
  body { padding-bottom: var(--bottom-nav-h); }
  .hero { padding: 48px 24px 52px; }
  .hero-title { font-size: 2.4rem; }
  .jobs-feed { padding: 0 16px 32px; }
}
