/* ═══════════════════════════════════════════════════════════════════════════
   MaviYakali — Premium Design System
   Font: Inter (Google Fonts)
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Primary Palette */
  --primary:         #1e40af;
  --primary-hover:   #1a37a0;
  --primary-light:   #3b82f6;
  --primary-50:      #eff6ff;
  --primary-100:     #dbeafe;
  --primary-200:     #bfdbfe;

  /* Secondary (Emerald) */
  --secondary:       #059669;
  --secondary-hover: #047857;
  --secondary-light: #10b981;
  --secondary-50:    #ecfdf5;
  --secondary-100:   #d1fae5;

  /* Accent (Amber) */
  --accent:          #f59e0b;
  --accent-hover:    #d97706;
  --accent-50:       #fffbeb;
  --accent-100:      #fef3c7;

  /* Neutrals */
  --dark:            #0f172a;
  --gray-900:        #1e293b;
  --gray-800:        #1e2d3d;
  --gray-700:        #334155;
  --gray-600:        #475569;
  --gray-500:        #64748b;
  --gray-400:        #94a3b8;
  --gray-300:        #cbd5e1;
  --gray-200:        #e2e8f0;
  --gray-100:        #f1f5f9;
  --gray-50:         #f8fafc;
  --white:           #ffffff;

  /* Status */
  --success:         #16a34a;
  --warning:         #d97706;
  --danger:          #dc2626;
  --info:            #0284c7;

  /* Typography */
  --font:            'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.05);
  --shadow-card: 0 2px 8px rgba(30,64,175,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-card-hover: 0 8px 28px rgba(30,64,175,.16), 0 4px 8px rgba(0,0,0,.06);

  /* Border Radius */
  --radius-sm:   6px;
  --radius:      10px;
  --radius-md:   14px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Transitions */
  --tr:      all .18s ease;
  --tr-md:   all .28s ease;
  --tr-slow: all .4s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

a { transition: var(--tr); }

img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.my-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  transition: var(--tr-md);
}
.my-navbar .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.my-navbar.transparent-nav {
  background: transparent;
  border-bottom-color: rgba(255,255,255,.15);
}
.my-navbar.transparent-nav .nav-brand,
.my-navbar.transparent-nav .nav-link-item { color: #fff !important; }
.my-navbar.transparent-nav .nav-link-item:hover { color: rgba(255,255,255,.75) !important; }

.nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-brand .brand-dot { color: var(--accent); }
.nav-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .95rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link-item {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600) !important;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--tr);
}
.nav-link-item:hover {
  color: var(--primary) !important;
  background: var(--primary-50);
}
.nav-link-item.active {
  color: var(--primary) !important;
  background: var(--primary-100);
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  cursor: pointer;
  border: 2px solid var(--primary-200);
  transition: var(--tr);
}
.nav-avatar:hover { transform: scale(1.05); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--tr);
}
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px 16px 16px;
}
.nav-mobile.open { display: block; }

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

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-my {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-my:focus-visible { outline: 3px solid var(--primary-200); outline-offset: 2px; }

.btn-primary-my {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 1px 3px rgba(30,64,175,.3);
}
.btn-primary-my:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,64,175,.35);
}

.btn-secondary-my {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 1px 3px rgba(5,150,105,.3);
}
.btn-secondary-my:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5,150,105,.35);
}

.btn-accent-my {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 1px 3px rgba(245,158,11,.3);
}
.btn-accent-my:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost-my {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-ghost-my:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  border-color: var(--gray-400);
}

.btn-outline-primary-my {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary-my:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white-my {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}
.btn-white-my:hover {
  background: var(--primary-50);
  color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg-my { padding: 13px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm-my { padding: 6px 14px; font-size: .8rem; }
.btn-full { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card-my {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--tr-md);
}
.card-my:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card-my-body { padding: 24px; }
.card-my-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group-my { margin-bottom: 18px; }
.form-label-my {
  display: block;
  margin-bottom: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.form-control-my {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: var(--tr);
  outline: none;
  appearance: none;
}
.form-control-my:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-100);
}
.form-control-my::placeholder { color: var(--gray-400); }

.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control-my { padding-left: 40px; }
.input-icon-wrap .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .9rem;
}

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge-my {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.badge-primary { background: var(--primary-100); color: var(--primary); }
.badge-secondary { background: var(--secondary-100); color: var(--secondary); }
.badge-accent { background: var(--accent-100); color: var(--accent-hover); }
.badge-success { background: #dcfce7; color: var(--success); }
.badge-warning { background: #fef3c7; color: var(--warning); }
.badge-danger { background: #fee2e2; color: var(--danger); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ── Stat Cards ─────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--tr-md);
}
.stat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.blue   { background: var(--primary-100); color: var(--primary); }
.stat-icon.green  { background: var(--secondary-100); color: var(--secondary); }
.stat-icon.amber  { background: var(--accent-100); color: var(--accent-hover); }
.stat-icon.indigo { background: #ede9fe; color: #7c3aed; }
.stat-icon.red    { background: #fee2e2; color: var(--danger); }

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--gray-500); margin-top: 3px; font-weight: 500; }

/* ── Job Cards ──────────────────────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  padding: 22px;
  transition: var(--tr-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.job-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-company-logo {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.job-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 10px 0 4px; }
.job-company { font-size: .85rem; color: var(--gray-500); font-weight: 500; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--gray-500);
}
.job-desc { font-size: .85rem; color: var(--gray-600); line-height: 1.55; flex: 1; }
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.job-salary { font-size: .875rem; font-weight: 700; color: var(--secondary); }
.job-date { font-size: .78rem; color: var(--gray-400); }

/* ── Profession Cards (homepage) ────────────────────────────────────────── */
.profession-card {
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--tr-slow);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: block;
}
.profession-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.08);
  opacity: 0;
  transition: var(--tr-md);
}
.profession-card:hover::before { opacity: 1; }
.profession-card:hover { transform: translateY(-6px); text-decoration: none; }

.profession-card.blue   { background: linear-gradient(145deg, #1e40af, #3b82f6); }
.profession-card.green  { background: linear-gradient(145deg, #047857, #10b981); }
.profession-card.amber  { background: linear-gradient(145deg, #d97706, #fbbf24); }
.profession-card.violet { background: linear-gradient(145deg, #6d28d9, #8b5cf6); }

.profession-card-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--tr-md);
}
.profession-card:hover .profession-card-icon {
  background: rgba(255,255,255,.3);
  transform: scale(1.1) rotate(-3deg);
}
.profession-card-title { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.profession-card-desc { font-size: .875rem; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.profession-card-count {
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  display: inline-block;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59,130,246,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(16,185,129,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(245,158,11,.1) 0%, transparent 40%);
}
/* Animated floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  animation: float 8s ease-in-out infinite;
}
.hero-shape-1 { width: 400px; height: 400px; background: #3b82f6; top: -100px; right: -80px; animation-delay: 0s; }
.hero-shape-2 { width: 250px; height: 250px; background: #10b981; bottom: -60px; left: 10%; animation-delay: -3s; }
.hero-shape-3 { width: 150px; height: 150px; background: #f59e0b; top: 30%; right: 20%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero-title .gradient-text {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 540px; }

/* Search Box */
.hero-search {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 8px 8px 8px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  backdrop-filter: blur(12px);
  max-width: 680px;
}
.hero-search select,
.hero-search input {
  flex: 1;
  min-width: 150px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: .875rem;
  outline: none;
  transition: var(--tr);
}
.hero-search select option { background: var(--dark); color: #fff; }
.hero-search select:focus,
.hero-search input:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.18);
}
.hero-search input::placeholder { color: rgba(255,255,255,.55); }

/* Stats strip below hero */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-stat-value { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.3; }
.hero-stat-sep { color: rgba(255,255,255,.2); font-size: 1.5rem; }

/* ── Section Styles ─────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--dark); }
.section-light { background: var(--white); }
.section-gray { background: var(--gray-50); }
.section-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -.3px;
}
.section-sub { font-size: 1rem; color: var(--gray-500); max-width: 560px; }

/* ── Stats Counter Section ───────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 64px 0;
}
.counter-card {
  text-align: center;
  padding: 32px 16px;
}
.counter-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.counter-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.counter-suffix { color: var(--accent); }
.counter-label { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: 6px; font-weight: 500; }

/* ── How It Works ───────────────────────────────────────────────────────── */
.step-card {
  text-align: center;
  padding: 16px;
}
.step-number {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(30,64,175,.4);
}
.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step-desc { font-size: .875rem; color: var(--gray-500); line-height: 1.55; }
.step-connector {
  position: relative;
}
.step-connector::after {
  content: '→';
  position: absolute;
  top: 26px;
  right: -16px;
  font-size: 1.2rem;
  color: var(--gray-300);
}

/* ── Dashboard Layout ───────────────────────────────────────────────────── */
.dashboard-page { background: var(--gray-50); min-height: 100vh; }
.dashboard-sidebar {
  width: 240px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  height: calc(100vh - 64px);
  position: sticky;
  top: 64px;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  overflow-y: auto;
  flex-shrink: 0;
}
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 64px);
}
.dashboard-main { flex: 1; padding: 32px 28px; overflow-x: hidden; }

.sidebar-section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 10px 4px;
  margin-top: 8px;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--tr);
  margin-bottom: 2px;
}
.sidebar-nav-item:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.sidebar-nav-item.active {
  background: var(--primary-100);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-nav-item .icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-nav-item .badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  padding: 1px 7px;
}
.sidebar-user {
  margin-top: auto;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.sidebar-user-name { font-size: .875rem; font-weight: 600; color: var(--dark); }
.sidebar-user-role { font-size: .75rem; color: var(--gray-500); }

@media (max-width: 900px) {
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 20px 16px; }
}

/* ── Page Header ─────────────────────────────────────────────────────────── */
.page-header {
  padding: 28px 0 0;
  margin-bottom: 28px;
}
.page-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin: 0; }
.page-sub { color: var(--gray-500); font-size: .875rem; margin-top: 4px; }

/* ── Table ───────────────────────────────────────────────────────────────── */
.table-my {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.table-my th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.table-my td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.table-my tr:last-child td { border-bottom: none; }
.table-my tr:hover td { background: var(--gray-50); }

/* ── Alert (Flash) ──────────────────────────────────────────────────────── */
.alert-my {
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid;
  margin-bottom: 20px;
}
.alert-my i { margin-top: 1px; font-size: .95rem; flex-shrink: 0; }
.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-danger   { background: #fef2f2; border-color: var(--danger);  color: #991b1b; }
.alert-warning  { background: #fffbeb; border-color: var(--warning); color: #92400e; }
.alert-info     { background: #eff6ff; border-color: var(--info);    color: #1e40af; }

/* ── Application Status Cards ────────────────────────────────────────────── */
.app-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  transition: var(--tr-md);
  margin-bottom: 12px;
}
.app-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-lg); }
.app-card.accepted { border-left: 4px solid var(--success); }
.app-card.rejected { border-left: 4px solid var(--danger); }
.app-card.pending  { border-left: 4px solid var(--warning); }

/* ── Filter Bar ─────────────────────────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

/* ── Avatar ─────────────────────────────────────────────────────────────── */
.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
}
.avatar-placeholder {
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.avatar-md { width: 48px; height: 48px; font-size: 1rem; }
.avatar-sm { width: 36px; height: 36px; font-size: .8rem; }

/* ── Empty State ─────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--gray-300);
  display: block;
  margin-bottom: 16px;
}
.empty-state-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; }
.empty-state-desc  { font-size: .875rem; color: var(--gray-400); margin-bottom: 24px; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination-my {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  justify-content: center;
}
.pagination-my a, .pagination-my span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: var(--tr);
}
.pagination-my a:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary-200); }
.pagination-my .active span { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Auth Pages ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.auth-visual {
  flex: 1;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(59,130,246,.25) 0%, transparent 60%);
}
.auth-form-panel {
  width: 480px;
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .auth-visual { display: none; }
  .auth-form-panel { width: 100%; padding: 40px 24px; }
}

/* ── Testimonial Cards ───────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.testimonial-stars { color: var(--accent); font-size: .9rem; margin-bottom: 12px; }
.testimonial-text  { font-size: .925rem; color: var(--gray-700); line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-name  { font-weight: 600; color: var(--dark); font-size: .875rem; }
.testimonial-role  { font-size: .78rem; color: var(--gray-500); }

/* ── CTA Split Section ───────────────────────────────────────────────────── */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split-panel {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.cta-split-panel.left  { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.cta-split-panel.right { background: linear-gradient(135deg, #047857, #10b981); }
@media (max-width: 768px) {
  .cta-split { grid-template-columns: 1fr; }
  .cta-split-panel { padding: 48px 28px; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 60px 0 28px;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-desc  { color: rgba(255,255,255,.5); margin-bottom: 20px; max-width: 260px; font-size: .85rem; }
.footer-heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-link { display: block; color: rgba(255,255,255,.6); text-decoration: none; margin-bottom: 8px; font-size: .875rem; transition: var(--tr); }
.footer-link:hover { color: #fff; transform: translateX(3px); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 40px 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-amber {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider { border: none; border-top: 1px solid var(--gray-200); margin: 0; }

.floating-card {
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* counter animation helper */
.count-up { display: inline-block; }

/* ── Responsive Helpers ──────────────────────────────────────────────────── */
@media (max-width: 576px) {
  .section { padding: 52px 0; }
  .hero-section { padding: 52px 0 40px; min-height: auto; }
  .hero-search { flex-direction: column; }
  .hero-search select, .hero-search input { min-width: unset; width: 100%; }
  .hero-stats { gap: 16px; }
  .profession-card { padding: 28px 20px; }
  .cta-split-panel { padding: 36px 24px; }
}

/* ── Scrollbar (Chrome/Edge) ─────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
