/* ==========================================================================
   FSK Pro — Design System Enhancements v1.0
   Glassmorphism, Wizard, Toasts, Digital Card, Skeleton, Animations
   ========================================================================== */

/* ── 1. Glassmorphism ────────────────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-xl);
}
.glass-dark {
  background: rgba(9,26,16,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
}
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(9,26,16,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* ── 2. Multi-Step Wizard ─────────────────────────────────────────────────── */
.fsk-wizard {
  max-width: 860px;
  margin: 0 auto;
}
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wizard-progress::-webkit-scrollbar { display: none; }
.wizard-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  position: relative;
  min-width: 72px;
}
.wizard-step-item + .wizard-step-item::before {
  content: '';
  position: absolute;
  top: 18px;
  right: calc(50% + 18px);
  left: calc(-50% + 18px);
  height: 2px;
  background: var(--fsk-border);
  z-index: 0;
  transition: background 0.4s ease;
}
.wizard-step-item.completed + .wizard-step-item::before,
.wizard-step-item.active + .wizard-step-item::before {
  background: var(--fsk-green);
}
.wizard-step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--fsk-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--fsk-muted);
  position: relative; z-index: 1;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.wizard-step-item.active .wizard-step-circle {
  background: var(--fsk-forest);
  border-color: var(--fsk-forest);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(22,94,56,0.18);
  transform: scale(1.1);
}
.wizard-step-item.completed .wizard-step-circle {
  background: var(--fsk-green);
  border-color: var(--fsk-green);
  color: #fff;
}
.wizard-step-item.completed .wizard-step-circle::after {
  content: '✓';
  position: absolute;
}
.wizard-step-label {
  font-size: 0.62rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--fsk-muted);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.wizard-step-item.active .wizard-step-label { color: var(--fsk-forest); }
.wizard-step-item.completed .wizard-step-label { color: var(--fsk-green); }

/* Wizard panels */
.wizard-panel {
  display: none;
  animation: wizardFadeIn 0.35s cubic-bezier(0.4,0,0.2,1);
}
.wizard-panel.active { display: block; }
@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wizard-panel.slide-back {
  animation: wizardFadeInBack 0.35s cubic-bezier(0.4,0,0.2,1);
}
@keyframes wizardFadeInBack {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wizard-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--fsk-border);
  box-shadow: 0 4px 24px rgba(9,26,16,0.08);
  overflow: hidden;
}
.wizard-card-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid var(--fsk-border);
  background: linear-gradient(135deg, var(--fsk-ink) 0%, var(--fsk-dark) 100%);
}
.wizard-card-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; margin-bottom: 0.3rem;
}
.wizard-card-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem; font-family: 'Montserrat', sans-serif;
}
.wizard-card-body { padding: 2rem; }
.wizard-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--fsk-border);
  background: var(--fsk-cream);
  gap: 1rem;
}
.wizard-footer-info {
  font-size: 0.75rem; color: var(--fsk-muted);
  font-family: 'Montserrat', sans-serif;
}

/* ── 3. Category Selection Cards ─────────────────────────────────────────── */
.cat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--fsk-border);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  outline: none;
}
.cat-card:hover {
  border-color: var(--fsk-green);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.cat-card.selected {
  border-color: var(--fsk-forest);
  background: linear-gradient(135deg, rgba(22,94,56,0.04) 0%, rgba(22,94,56,0.01) 100%);
  box-shadow: 0 0 0 3px rgba(22,94,56,0.15), var(--sh-md);
}
.cat-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--fsk-dark); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
}
.cat-card-badge.gold { background: var(--fsk-gold); color: #1a0e00; }
.cat-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--fsk-mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
  transition: background 0.25s;
}
.cat-card.selected .cat-card-icon { background: rgba(22,94,56,0.12); }
.cat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--fsk-dark); margin-bottom: 0.25rem;
}
.cat-card .cat-eligibility {
  font-size: 0.78rem; color: var(--fsk-muted);
  font-family: 'Montserrat', sans-serif; margin-bottom: 1rem;
}
.cat-card .cat-fee {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--fsk-forest); margin-bottom: 1rem;
  line-height: 1;
}
.cat-card .cat-fee span {
  font-size: 0.75rem; font-weight: 400;
  color: var(--fsk-muted); font-family: 'Montserrat', sans-serif;
}
.cat-benefits {
  list-style: none; display: flex; flex-direction: column;
  gap: 0.45rem; margin-bottom: 1.25rem; flex: 1;
}
.cat-benefits li {
  font-size: 0.8rem; font-family: 'Montserrat', sans-serif;
  color: var(--fsk-text); display: flex; align-items: flex-start; gap: 0.5rem;
}
.cat-benefits li::before {
  content: '✓';
  color: var(--fsk-leaf); font-size: 0.75rem;
  flex-shrink: 0; margin-top: 0.1rem;
}
.cat-card-select-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0.65rem; border-radius: var(--r-sm);
  background: var(--fsk-mint); border: 1.5px solid var(--fsk-border);
  color: var(--fsk-forest); font-size: 0.8rem; font-weight: 700;
  font-family: 'Montserrat', sans-serif; cursor: pointer;
  transition: all 0.2s; gap: 0.4rem;
}
.cat-card.selected .cat-card-select-btn {
  background: var(--fsk-forest); border-color: var(--fsk-forest);
  color: #fff;
}
.cat-card:hover .cat-card-select-btn {
  background: var(--fsk-forest); border-color: var(--fsk-forest);
  color: #fff;
}

/* ── 4. Toast Notifications ──────────────────────────────────────────────── */
.fsk-toast-container {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  z-index: 99999;
  display: flex; flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.fsk-toast {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid var(--fsk-green);
  min-width: 280px; max-width: 420px;
  pointer-events: all;
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
  font-family: 'Montserrat', sans-serif;
}
.fsk-toast.toast-out {
  animation: toastOut 0.25s ease forwards;
}
.fsk-toast-success { border-left-color: #15803d; }
.fsk-toast-error   { border-left-color: #dc2626; }
.fsk-toast-warning { border-left-color: #d97706; }
.fsk-toast-info    { border-left-color: #2563eb; }
.fsk-toast-icon {
  font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem;
}
.fsk-toast-content { flex: 1; min-width: 0; }
.fsk-toast-title {
  font-size: 0.82rem; font-weight: 700; color: #111827; margin-bottom: 0.15rem;
}
.fsk-toast-msg { font-size: 0.78rem; color: #6b7280; line-height: 1.45; }
.fsk-toast-close {
  background: none; border: none; cursor: pointer;
  color: #9ca3af; font-size: 1rem; padding: 0;
  flex-shrink: 0; transition: color 0.15s;
  line-height: 1;
}
.fsk-toast-close:hover { color: #374151; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); max-height: 120px; }
  to   { opacity: 0; transform: translateX(20px); max-height: 0; padding: 0; }
}

/* ── 5. Digital Membership Card ──────────────────────────────────────────── */
.fsk-member-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.586;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0D3521 0%, #165E38 45%, #0D3521 100%);
  box-shadow: 0 12px 40px rgba(9,26,16,0.35), 0 4px 16px rgba(9,26,16,0.2);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fsk-member-card:hover {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow: 0 18px 50px rgba(9,26,16,0.4), 0 6px 20px rgba(9,26,16,0.25);
}
.fsk-member-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,64,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(45,165,92,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.fsk-member-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.mc-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; z-index: 1; }
.mc-logo { height: 32px; object-fit: contain; filter: brightness(0) invert(1); }
.mc-org { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); text-align: right; }
.mc-middle { position: relative; z-index: 1; }
.mc-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; }
.mc-category { font-size: 0.68rem; color: rgba(255,255,255,0.6); font-family: 'Montserrat', sans-serif; margin-top: 0.15rem; }
.mc-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.mc-number { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); }
.mc-number-label { font-size: 0.55rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.mc-expiry { text-align: right; }
.mc-expiry-label { font-size: 0.55rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.mc-expiry-val { font-size: 0.82rem; font-weight: 700; color: var(--fsk-gold); font-family: 'Montserrat', sans-serif; }
.mc-chip {
  width: 28px; height: 20px;
  background: linear-gradient(135deg, #C9A840, #f0d580);
  border-radius: 3px;
  flex-shrink: 0;
}
.mc-status-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #fff;
}
.mc-status-badge.active::before { content: '●'; color: #4ade80; margin-right: 0.1rem; }

/* ── 6. CPD Progress Ring ────────────────────────────────────────────────── */
.cpd-ring-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.cpd-ring-svg { width: 100px; height: 100px; transform: rotate(-90deg); }
.cpd-ring-track { fill: none; stroke: var(--fsk-mint); stroke-width: 8; }
.cpd-ring-progress {
  fill: none; stroke: var(--fsk-green); stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4,0,0.2,1);
}
.cpd-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* ── 7. Skeleton Loading ─────────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f4f2 25%, #e6ece9 50%, #f0f4f2 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
.skeleton-text { height: 0.85rem; margin-bottom: 0.5rem; border-radius: 4px; }
.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-33 { width: 33%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-card { height: 140px; border-radius: var(--r-lg); }
.skeleton-btn { height: 38px; width: 120px; border-radius: var(--r-sm); }

/* ── 8. Enhanced Stat Cards ──────────────────────────────────────────────── */
.pro-stat {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--fsk-border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pro-stat:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.pro-stat::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 0 var(--r-xl) 0 100%;
  opacity: 0.06;
  background: currentColor;
}
.pro-stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.85rem;
}
.pro-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--fsk-dark); line-height: 1;
  margin-bottom: 0.25rem;
}
.pro-stat-label {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fsk-muted); font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.75rem;
}
.pro-stat-trend {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.72rem; font-weight: 600; font-family: 'Montserrat', sans-serif;
  padding: 0.2rem 0.5rem; border-radius: 999px;
}
.pro-stat-trend.up   { background: #dcfce7; color: #15803d; }
.pro-stat-trend.down { background: #fee2e2; color: #dc2626; }
.pro-stat-trend.flat { background: #f3f4f6; color: #6b7280; }

/* ── 9. Confirmation Dialog ──────────────────────────────────────────────── */
.fsk-dialog-overlay {
  position: fixed; inset: 0;
  background: rgba(9,26,16,0.5);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.fsk-dialog-overlay.open { opacity: 1; pointer-events: all; }
.fsk-dialog {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  padding: 2rem;
  max-width: 440px; width: 100%;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.fsk-dialog-overlay.open .fsk-dialog { transform: scale(1) translateY(0); }
.fsk-dialog-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.fsk-dialog h3 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--fsk-dark); margin-bottom: 0.6rem;
}
.fsk-dialog p { font-size: 0.88rem; color: var(--fsk-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.fsk-dialog-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ── 10. Empty States ────────────────────────────────────────────────────── */
.fsk-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 3rem 2rem;
  color: var(--fsk-muted);
}
.fsk-empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--fsk-mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.25rem;
  color: var(--fsk-forest);
}
.fsk-empty h3 {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700;
  color: var(--fsk-dark); margin-bottom: 0.5rem;
}
.fsk-empty p { font-size: 0.85rem; line-height: 1.7; max-width: 320px; margin-bottom: 1.25rem; }

/* ── 11. Activity Timeline ───────────────────────────────────────────────── */
.fsk-timeline { display: flex; flex-direction: column; gap: 0; }
.fsk-timeline-item {
  display: flex; gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}
.fsk-timeline-item:last-child { padding-bottom: 0; }
.fsk-timeline-item:last-child .fsk-tl-line { display: none; }
.fsk-tl-left { display: flex; flex-direction: column; align-items: center; }
.fsk-tl-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem;
  border: 2px solid var(--fsk-border);
  background: #fff;
}
.fsk-tl-line {
  width: 2px; flex: 1;
  background: var(--fsk-border);
  margin: 0.3rem 0;
  min-height: 20px;
}
.fsk-tl-content { flex: 1; padding-top: 0.25rem; }
.fsk-tl-title { font-size: 0.85rem; font-weight: 600; color: var(--fsk-dark); }
.fsk-tl-sub { font-size: 0.75rem; color: var(--fsk-muted); margin-top: 0.15rem; }
.fsk-tl-time { font-size: 0.68rem; color: var(--fsk-muted); margin-top: 0.25rem; }

/* ── 12. File Upload Dropzone ────────────────────────────────────────────── */
.fsk-dropzone {
  border: 2px dashed var(--fsk-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--fsk-cream);
  position: relative;
}
.fsk-dropzone:hover, .fsk-dropzone.dragover {
  border-color: var(--fsk-green);
  background: var(--fsk-mint);
}
.fsk-dropzone input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.fsk-dropzone-icon { font-size: 2rem; color: var(--fsk-forest); margin-bottom: 0.75rem; }
.fsk-dropzone p { font-size: 0.85rem; color: var(--fsk-muted); line-height: 1.5; }
.fsk-dropzone .chosen-file { font-size: 0.78rem; color: var(--fsk-forest); font-weight: 600; margin-top: 0.5rem; }

/* ── 13. Step Form Fields ────────────────────────────────────────────────── */
.fsk-field-group {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.fsk-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--fsk-text); font-family: 'Montserrat', sans-serif;
  display: flex; align-items: center; gap: 0.3rem;
}
.fsk-label-req { color: #dc2626; }
.fsk-input, .fsk-select, .fsk-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--fsk-border);
  border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; color: var(--fsk-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.fsk-input:focus, .fsk-select:focus, .fsk-textarea:focus {
  outline: none;
  border-color: var(--fsk-green);
  box-shadow: 0 0 0 3px rgba(30,128,72,0.1);
}
.fsk-input.error, .fsk-select.error { border-color: #dc2626; }
.fsk-field-error { font-size: 0.72rem; color: #dc2626; font-weight: 500; }
.fsk-field-hint  { font-size: 0.72rem; color: var(--fsk-muted); }
.fsk-textarea { resize: vertical; min-height: 90px; }
.fsk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .fsk-grid-2 { grid-template-columns: 1fr; } }

/* ── 14. Review Summary ──────────────────────────────────────────────────── */
.review-section {
  border: 1px solid var(--fsk-border);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.25rem;
}
.review-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--fsk-mint);
  border-bottom: 1px solid var(--fsk-border);
}
.review-section-title {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fsk-forest); font-family: 'Montserrat', sans-serif;
  display: flex; align-items: center; gap: 0.5rem;
}
.review-edit-btn {
  font-size: 0.72rem; font-weight: 600; color: var(--fsk-forest);
  background: none; border: 1px solid var(--fsk-forest);
  border-radius: var(--r-sm); padding: 0.25rem 0.65rem;
  cursor: pointer; transition: all 0.15s; font-family: 'Montserrat', sans-serif;
}
.review-edit-btn:hover { background: var(--fsk-forest); color: #fff; }
.review-rows { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.review-row { display: flex; gap: 1rem; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; }
.review-row-label { color: var(--fsk-muted); flex-shrink: 0; min-width: 140px; }
.review-row-value { color: var(--fsk-text); font-weight: 500; word-break: break-word; }

/* ── 15. Payment UI ──────────────────────────────────────────────────────── */
.payment-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--fsk-border);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.payment-card-header {
  background: linear-gradient(135deg, var(--fsk-dark) 0%, var(--fsk-forest) 100%);
  padding: 2rem;
  text-align: center;
  color: #fff;
}
.payment-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1rem;
}
.payment-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  color: var(--fsk-gold); line-height: 1;
}
.payment-body { padding: 2rem; }
.payment-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--fsk-border);
  font-family: 'Montserrat', sans-serif;
}
.payment-detail-row:last-child { border-bottom: none; }
.payment-detail-label { font-size: 0.8rem; color: var(--fsk-muted); }
.payment-detail-value { font-size: 0.85rem; font-weight: 600; color: var(--fsk-text); }

/* ── 16. Admin Enhanced Layout ───────────────────────────────────────────── */
.admin-topbar-pro {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e4e8e3;
}
.admin-topbar-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--fsk-dark); margin: 0;
}
.admin-topbar-left .breadcrumb {
  font-size: 0.75rem; color: #9ca3af;
  font-family: 'Montserrat', sans-serif; margin-top: 0.2rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.admin-topbar-right {
  display: flex; align-items: center; gap: 0.75rem;
}
.admin-notif-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff; border: 1px solid var(--fsk-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--fsk-muted);
  transition: all 0.2s; text-decoration: none;
}
.admin-notif-btn:hover { background: var(--fsk-mint); color: var(--fsk-forest); }
.admin-notif-badge {
  position: absolute; top: -2px; right: -2px;
  background: #ef4444; color: #fff;
  font-size: 0.55rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #f1f5f2;
  font-family: 'Montserrat', sans-serif;
}

/* ── 17. Section Divider ─────────────────────────────────────────────────── */
.fsk-section-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0;
}
.fsk-section-divider-label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fsk-forest); white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.fsk-section-divider-line { flex: 1; height: 1px; background: var(--fsk-border); }

/* ── 18. Application Status Pipeline ─────────────────────────────────────── */
.app-pipeline {
  display: flex; align-items: stretch;
  background: var(--fsk-cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--fsk-border);
  overflow: hidden;
}
.app-pipeline-stage {
  flex: 1; padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--fsk-border);
  position: relative; transition: background 0.2s;
}
.app-pipeline-stage:last-child { border-right: none; }
.app-pipeline-stage:hover { background: var(--fsk-mint); }
.app-pipeline-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 800; line-height: 1;
  margin-bottom: 0.3rem;
}
.app-pipeline-label {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fsk-muted); font-family: 'Montserrat', sans-serif;
}

/* ── 19. Notification Bell Dropdown ──────────────────────────────────────── */
.notif-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 340px;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--fsk-border);
  box-shadow: var(--sh-lg);
  z-index: 1000;
  overflow: hidden;
  display: none;
}
.notif-dropdown.open { display: block; animation: toastIn 0.2s ease; }
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--fsk-border);
}
.notif-title { font-size: 0.85rem; font-weight: 700; color: var(--fsk-dark); font-family: 'Montserrat', sans-serif; }
.notif-item {
  display: flex; gap: 0.75rem; padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--fsk-border);
  transition: background 0.15s; cursor: pointer;
}
.notif-item:hover { background: var(--fsk-cream); }
.notif-item.unread { background: #fffbeb; }
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.notif-item-title { font-size: 0.78rem; font-weight: 600; color: var(--fsk-text); }
.notif-item-body { font-size: 0.72rem; color: var(--fsk-muted); line-height: 1.4; }
.notif-item-time { font-size: 0.65rem; color: var(--fsk-muted); margin-top: 0.2rem; }

/* ── 20. Page Transitions ────────────────────────────────────────────────── */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-animate { animation: pageIn 0.4s cubic-bezier(0.4,0,0.2,1); }

/* ── 21. Admin Section Cards ─────────────────────────────────────────────── */
.admin-section-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid #e4e8e3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.admin-section-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #e4e8e3;
  gap: 1rem;
}
.admin-section-card-title {
  font-size: 0.9rem; font-weight: 700;
  color: var(--fsk-dark); font-family: 'Montserrat', sans-serif;
  display: flex; align-items: center; gap: 0.5rem;
}
.admin-section-card-body { padding: 1.25rem 1.5rem; }

/* ── 22. Search Bar Pro ──────────────────────────────────────────────────── */
.fsk-search-bar {
  display: flex; align-items: center; gap: 0.6rem;
  background: #fff;
  border: 1.5px solid var(--fsk-border);
  border-radius: var(--r-sm);
  padding: 0.55rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fsk-search-bar:focus-within {
  border-color: var(--fsk-green);
  box-shadow: 0 0 0 3px rgba(30,128,72,0.08);
}
.fsk-search-bar input {
  border: none; outline: none; background: transparent;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem;
  color: var(--fsk-text); flex: 1; min-width: 0;
}
.fsk-search-bar .search-icon { color: var(--fsk-muted); font-size: 1rem; flex-shrink: 0; }

/* ── 23. Action Menu ─────────────────────────────────────────────────────── */
.fsk-action-menu {
  position: relative; display: inline-block;
}
.fsk-action-menu-dropdown {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: #fff; border: 1px solid var(--fsk-border);
  border-radius: var(--r-md); box-shadow: var(--sh-md);
  min-width: 160px; z-index: 200;
  overflow: hidden; display: none;
}
.fsk-action-menu:hover .fsk-action-menu-dropdown,
.fsk-action-menu.open .fsk-action-menu-dropdown { display: block; }
.fsk-action-menu-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem; font-family: 'Montserrat', sans-serif;
  color: var(--fsk-text); cursor: pointer;
  transition: background 0.15s; text-decoration: none;
}
.fsk-action-menu-item:hover { background: var(--fsk-cream); }
.fsk-action-menu-item.danger { color: #dc2626; }
.fsk-action-menu-item.danger:hover { background: #fee2e2; }
.fsk-action-divider { height: 1px; background: var(--fsk-border); margin: 0.25rem 0; }

/* ── 24. Responsive helpers ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cat-card-grid { grid-template-columns: 1fr; }
  .wizard-card-body { padding: 1.25rem; }
  .wizard-footer { padding: 1rem 1.25rem; flex-wrap: wrap; }
  .fsk-grid-2 { grid-template-columns: 1fr; }
  .review-row { flex-direction: column; gap: 0.15rem; }
  .review-row-label { min-width: auto; }
  .fsk-member-card { max-width: 100%; }
}

/* ── 25. Toast JS helper (injected via PHP/inline script) ────────────────── */
/* see fskToast() global function defined in fsk-pro-init.js */
