/* KOST Platform — Design System Premium */

:root {
  --kost-black:    #0A0A0A;
  --kost-dark:     #111827;
  --kost-gray:     #1F2937;
  --kost-mid:      #374151;
  --kost-light:    #6B7280;
  --kost-border:   #2D3748;
  --kost-gold:     #C9A84C;
  --kost-gold-l:   #E8C87A;
  --kost-gold-d:   #A07B2E;
  --kost-cream:    #F8F5F0;
  --kost-white:    #FAFAFA;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kost-black);
  color: var(--kost-white);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--kost-dark); }
::-webkit-scrollbar-thumb { background: var(--kost-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--kost-gold); }

/* ─── Typography ─── */
.font-serif { font-family: 'Playfair Display', serif; }
.text-gold { color: var(--kost-gold); }
.text-gold-light { color: var(--kost-gold-l); }

/* ─── Gold Gradient Text ─── */
.gold-text {
  background: linear-gradient(135deg, var(--kost-gold-l) 0%, var(--kost-gold) 50%, var(--kost-gold-d) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

.animate-fade-up  { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in  { animation: fadeIn 0.4s ease forwards; }
.animate-slide-r  { animation: slideInRight 0.5s ease forwards; }

/* ─── Delay helpers ─── */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ─── Buttons ─── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--kost-gold) 0%, var(--kost-gold-d) 100%);
  color: var(--kost-black);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.35); }
.btn-gold:hover::after { opacity: 1; }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  color: var(--kost-white);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  border-color: var(--kost-gold);
  color: var(--kost-gold);
  background: rgba(201,168,76,0.06);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--kost-light);
  font-size: 0.85rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-ghost:hover { color: var(--kost-gold); background: rgba(201,168,76,0.06); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(239,68,68,0.1);
  color: #F87171;
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(239,68,68,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-danger:hover { background: rgba(239,68,68,0.2); }

/* ─── Cards ─── */
.card {
  background: linear-gradient(135deg, rgba(31,41,55,0.8) 0%, rgba(17,24,39,0.9) 100%);
  border: 1px solid var(--kost-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--kost-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

/* ─── Opportunity Card ─── */
.opp-card {
  background: linear-gradient(135deg, #1a1f2e 0%, #111827 100%);
  border: 1px solid #2D3748;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.opp-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.opp-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.opp-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a2035 0%, #1F2937 50%, #141c2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.opp-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(201,168,76,0.05) 100%);
}
.opp-card-body { padding: 20px; }
.opp-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--kost-white);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.opp-card-summary {
  font-size: 0.825rem;
  color: var(--kost-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.opp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--kost-border);
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-premium  { background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.08)); color: var(--kost-gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-qualified{ background: rgba(99,102,241,0.15); color: #818CF8; border: 1px solid rgba(99,102,241,0.25); }
.badge-simple   { background: rgba(107,114,128,0.15); color: #9CA3AF; border: 1px solid rgba(107,114,128,0.2); }
.badge-sale     { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }
.badge-partner  { background: rgba(59,130,246,0.12); color: #60A5FA; border: 1px solid rgba(59,130,246,0.2); }
.badge-mixed    { background: rgba(245,158,11,0.12); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }
.badge-exclu    { background: rgba(201,168,76,0.15); color: var(--kost-gold-l); border: 1px solid rgba(201,168,76,0.3); }
.badge-active   { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }
.badge-pending  { background: rgba(245,158,11,0.12); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }
.badge-refused  { background: rgba(239,68,68,0.12); color: #F87171; border: 1px solid rgba(239,68,68,0.2); }
.badge-approved { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }
.badge-new      { background: rgba(201,168,76,0.15); color: var(--kost-gold); border: 1px solid rgba(201,168,76,0.3); }

/* ─── Chip / Tag ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.05);
  color: var(--kost-light);
  border: 1px solid rgba(255,255,255,0.08);
}
.chip i { font-size: 0.65rem; color: var(--kost-gold); }

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom-color: rgba(201,168,76,0.15);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--kost-gold); border-bottom-color: var(--kost-gold); }

/* ─── Hero ─── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #080811 0%, #0f0f1e 40%, #080811 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  bottom: -100px; left: 10%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kost-gold);
  background: rgba(201,168,76,0.06);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--kost-gold);
  animation: pulse-gold 2s infinite;
}

/* ─── Stats Bar ─── */
.stats-bar {
  background: linear-gradient(90deg, rgba(31,41,55,0.6) 0%, rgba(17,24,39,0.8) 100%);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--kost-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kost-light);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ─── Section ─── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--kost-light);
  max-width: 560px;
  line-height: 1.7;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kost-gold);
  margin-bottom: 12px;
}
.divider-gold {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--kost-gold), transparent);
  margin: 16px 0;
}

/* ─── Filters ─── */
.filter-bar {
  background: linear-gradient(135deg, rgba(17,24,39,0.95) 0%, rgba(31,41,55,0.9) 100%);
  border: 1px solid var(--kost-border);
  border-radius: 10px;
  padding: 24px;
}
.filter-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--kost-border);
  border-radius: 6px;
  color: var(--kost-white);
  padding: 10px 14px;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  width: 100%;
  appearance: none;
}
.filter-input:focus {
  outline: none;
  border-color: var(--kost-gold);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.filter-input option { background: #1F2937; color: var(--kost-white); }
.filter-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kost-light);
  margin-bottom: 6px;
}

/* ─── Form ─── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kost-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--kost-border);
  border-radius: 6px;
  color: var(--kost-white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--kost-gold);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input option { background: #1F2937; }
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-error {
  font-size: 0.78rem;
  color: #F87171;
  margin-top: 5px;
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-box {
  background: linear-gradient(135deg, #1a1f2e 0%, #111827 100%);
  border: 1px solid var(--kost-border);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.3s ease;
}
.modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--kost-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: 24px 28px; }
.modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ─── Dashboard ─── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, #0d1117 0%, #111827 100%);
  border-right: 1px solid var(--kost-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  background: #0A0A0A;
}
.admin-header {
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--kost-border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(12px);
}
.admin-content { padding: 32px; }

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--kost-border);
}
.sidebar-nav { padding: 16px 12px; }
.sidebar-section {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 12px 8px 6px;
  margin-top: 8px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: var(--kost-white); }
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.06) 100%);
  color: var(--kost-gold);
  border: 1px solid rgba(201,168,76,0.2);
}
.sidebar-link i { width: 18px; text-align: center; font-size: 0.9rem; }

.kpi-card {
  background: linear-gradient(135deg, rgba(31,41,55,0.8) 0%, rgba(17,24,39,0.95) 100%);
  border: 1px solid var(--kost-border);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--kost-gold), transparent);
}
.kpi-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-2px); }
.kpi-value { font-size: 2.2rem; font-weight: 700; color: var(--kost-gold); font-family: 'Playfair Display', serif; }
.kpi-label { font-size: 0.78rem; color: var(--kost-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.kpi-icon {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--kost-gold);
  font-size: 1rem;
}

/* ─── Table ─── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kost-light);
  border-bottom: 1px solid var(--kost-border);
  background: rgba(31,41,55,0.4);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(45,55,72,0.5);
  color: rgba(255,255,255,0.8);
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(201,168,76,0.03); }
.data-table tr:last-child td { border-bottom: none; }

/* ─── Section Home métiers ─── */
.metier-card {
  background: linear-gradient(135deg, rgba(17,24,39,0.8) 0%, rgba(31,41,55,0.6) 100%);
  border: 1px solid var(--kost-border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.metier-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--kost-gold), transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.metier-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.metier-card:hover::before { transform: scaleX(1); }
.metier-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.06) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--kost-gold);
  margin-bottom: 20px;
}
.metier-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.metier-desc { font-size: 0.875rem; color: var(--kost-light); line-height: 1.6; margin-bottom: 20px; }

/* ─── How it works ─── */
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 2px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kost-gold);
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.step-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.3), rgba(201,168,76,0.05));
}

/* ─── Member sidebar ─── */
.member-layout { display: flex; min-height: 100vh; padding-top: 72px; }
.member-sidebar {
  width: 240px;
  background: rgba(17,24,39,0.95);
  border-right: 1px solid var(--kost-border);
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 24px 12px;
  flex-shrink: 0;
}
.member-main { flex: 1; padding: 32px; }

/* ─── Toast ─── */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 280px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
  border-left: 3px solid;
}
.toast-success { background: rgba(16,185,129,0.15); border-left-color: #10B981; color: #34D399; border: 1px solid rgba(16,185,129,0.2); border-left: 3px solid #10B981; }
.toast-error   { background: rgba(239,68,68,0.15); border-left-color: #EF4444; color: #F87171; border: 1px solid rgba(239,68,68,0.2); border-left: 3px solid #EF4444; }
.toast-info    { background: rgba(201,168,76,0.12); border-left-color: var(--kost-gold); color: var(--kost-gold-l); border: 1px solid rgba(201,168,76,0.2); border-left: 3px solid var(--kost-gold); }

/* ─── Pagination ─── */
.pagination { display: flex; align-items: center; gap: 6px; }
.page-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--kost-border);
  background: transparent;
  color: var(--kost-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--kost-gold); color: var(--kost-gold); }
.page-btn.active { background: var(--kost-gold); color: var(--kost-black); border-color: var(--kost-gold); font-weight: 600; }

/* ─── Section CTA ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(17,24,39,0.9) 0%, rgba(10,10,10,1) 50%, rgba(17,24,39,0.9) 100%);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── Footer ─── */
footer {
  background: #080811;
  border-top: 1px solid var(--kost-border);
  padding: 60px 0 30px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

/* ─── Loading skeleton ─── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

/* ─── Responsive ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.grid-opps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.grid-metiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-opps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .stats-bar { padding: 20px; }
  .stat-divider { display: none; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { position: relative; width: 100%; min-height: auto; }
  .admin-main { margin-left: 0; }
  .member-layout { flex-direction: column; }
  .member-sidebar { width: 100%; position: relative; height: auto; }
}

/* ─── Utility ─── */
.truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-balance { text-wrap: balance; }
.overflow-table { overflow-x: auto; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }
.no-select { user-select: none; }
