/* =====================================================
   SC POLYTECHNIC — COUNSELLING WORKFLOW
   Bootstrap 5.3.2 | DM Sans | Playfair Display
   Animated modern design — cPanel PHP 5.6+ compatible
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ── CSS VARIABLES ──────────────────────────────── */
:root {
  --navy:   #0a3055;
  --navy2:  #124172;
  --navy3:  #1a5276;
  --gold:   #e8b400;
  --gold2:  #f5d050;
  --green:  #276749;
  --green2: #38a169;
  --red:    #c53030;
  --orange: #c05621;
  --teal:   #285e61;
  --teal2:  #319795;
  --purple: #553c9a;
  --purple2:#805ad5;
  --light:  #f0f4f8;
  --border: #e2e8f0;
  --white:  #ffffff;
  --sw:     230px;
  --topbar: 54px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,48,85,.10);
  --shadow-sm: 0 2px 10px rgba(10,48,85,.08);
}

/* ── RESET / BASE ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light);
  color: #2d3748;
  margin: 0; padding: 0;
  font-size: 14px;
  line-height: 1.55;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-18px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes countUp {
  from { opacity:0; transform:scale(.8); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(232,180,0,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(232,180,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,180,0,0); }
}
@keyframes blink {
  0%,100%{ opacity:1; }
  50%    { opacity:.25; }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes progressFill {
  from { width: 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── SIDEBAR ─────────────────────────────────────── */
#sb {
  position: fixed;
  top: 0; left: 0;
  width: var(--sw);
  height: 100vh;
  background: linear-gradient(180deg, #061525 0%, #0a3055 60%, #0d3d6e 100%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 500;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  scrollbar-width: thin;
  scrollbar-color: rgba(232,180,0,.25) transparent;
}
#sb::-webkit-scrollbar { width: 4px; }
#sb::-webkit-scrollbar-thumb { background: rgba(232,180,0,.3); border-radius: 4px; }

.sb-logo {
  padding: 16px 14px 14px;
  border-bottom: 1px solid rgba(232,180,0,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  animation: fadeIn .4s ease;
}
.sb-logo svg { flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.sb-logo .lt b  { display:block; color:#fff; font-size:13px; font-weight:700; line-height:1.2; }
.sb-logo .lt small { color: var(--gold); font-size:9.5px; text-transform:uppercase; letter-spacing:.8px; opacity:.85; }

nav.sb-nav { flex: 1; padding: 8px 0; }
nav.sb-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .18s ease;
  animation: slideInLeft .35s ease both;
}
nav.sb-nav a:hover {
  color: var(--gold);
  background: rgba(232,180,0,.09);
  border-left-color: var(--gold);
}
nav.sb-nav a.active {
  color: var(--gold);
  background: rgba(232,180,0,.13);
  border-left-color: var(--gold);
  font-weight: 700;
}
nav.sb-nav a .n {
  width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  color: rgba(255,255,255,.35);
  transition: color .18s;
}
nav.sb-nav a:hover .n,
nav.sb-nav a.active .n { color: var(--gold); }
.sb-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  animation: pulse-ring 2s ease infinite;
}
.sb-divider { height:1px; background:rgba(255,255,255,.07); margin:6px 14px; }
.sb-lbl {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.28);
  padding: 10px 16px 3px;
}
.sb-foot {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.sb-foot .sn { color:#fff; font-size:13px; font-weight:700; }
.sb-foot .sr {
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 1px;
}
.sb-foot a {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: color .15s;
}
.sb-foot a:hover { color: var(--gold); }

/* ── MAIN CONTENT AREA ───────────────────────────── */
#main {
  margin-left: var(--sw);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#topbar {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 0 22px;
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(10,48,85,.08);
}
#topbar h1 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tog {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
}
#content {
  padding: 24px;
  animation: fadeInUp .35s ease;
}
.ovl {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 499;
  backdrop-filter: blur(2px);
}
.ovl.on { display: block; animation: fadeIn .2s ease; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
.text-navy  { color: var(--navy)!important; }
.bg-navy    { background: var(--navy)!important; color:#fff; }
.text-gold  { color: var(--gold)!important; }
.bg-gold    { background: var(--gold)!important; color:var(--navy); }
.fw-700     { font-weight:700!important; }
.fw-800     { font-weight:800!important; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn-navy {
  background: var(--navy);
  color: var(--gold);
  border: none;
  font-weight: 700;
  transition: all .18s;
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--navy2);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10,48,85,.25);
}
.btn-navy:active { transform: translateY(0); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-weight: 700;
  transition: all .18s;
}
.btn-gold:hover {
  background: var(--gold2);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,180,0,.35);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-weight: 600;
  transition: all .18s;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--gold);
}

/* ── CARDS ───────────────────────────────────────── */
.card {
  border-radius: var(--radius)!important;
  border: none!important;
  background: var(--white);
}
.card-header {
  border-radius: var(--radius) var(--radius) 0 0!important;
  font-weight: 700;
}
.shadow-card {
  box-shadow: var(--shadow)!important;
  transition: box-shadow .2s;
}
.shadow-card:hover {
  box-shadow: 0 8px 32px rgba(10,48,85,.14)!important;
}

/* ── ANIMATED STAT CARDS ─────────────────────────── */
.stat-card {
  border-radius: 14px!important;
  padding: 22px 20px 18px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.13);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  animation: fadeInUp .4s ease both;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
}
.stat-card.navy   { background: linear-gradient(135deg,#0a3055,#1a5276); }
.stat-card.green  { background: linear-gradient(135deg,#276749,#38a169); }
.stat-card.gold   { background: linear-gradient(135deg,#a07800,#d4a017); }
.stat-card.teal   { background: linear-gradient(135deg,#285e61,#319795); }
.stat-card.purple { background: linear-gradient(135deg,#553c9a,#805ad5); }
.stat-card.red    { background: linear-gradient(135deg,#9b2c2c,#c53030); }
.stat-card.orange { background: linear-gradient(135deg,#7b341e,#c05621); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  animation: countUp .5s ease both;
}
.stat-label {
  font-size: 11.5px;
  opacity: .82;
  margin-top: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.stat-icon { font-size: 26px; margin-bottom: 8px; opacity: .85; }

/* ── SECTION HEADER BAR ──────────────────────────── */
.section-header-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  animation: fadeInUp .3s ease;
}
.section-header-bar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 3px;
}
.section-header-bar small { opacity:.75; font-size:13px; }
.section-header-bar .sh-icon { font-size:34px; flex-shrink:0; }

/* ── PIPELINE PROGRESS ───────────────────────────── */
.pipeline-wrap { overflow-x: auto; padding-bottom: 4px; }
.pipeline { display:flex; align-items:center; min-width:560px; padding:16px 6px; }
.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  position: relative;
  animation: fadeInUp .4s ease both;
}
.pipeline-step .p-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: #e2e8f0;
  color: #718096;
  border: 3px solid transparent;
  transition: all .25s;
}
.pipeline-step .p-label {
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  color: #718096;
  white-space: nowrap;
}
.pipeline-step.done .p-icon {
  background: #f0fff4;
  border-color: var(--green2);
  color: var(--green);
}
.pipeline-step.done .p-label { color: var(--green); }
.pipeline-step.active .p-icon {
  background: rgba(232,180,0,.15);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 0 5px rgba(232,180,0,.18);
  animation: pulse-ring 2.5s ease infinite;
}
.pipeline-step.active .p-label { color: var(--navy); font-weight: 800; }
.pipeline-step.pending .p-icon { opacity: .4; }
.pipeline-line {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 0 2px;
  position: relative;
  top: -14px;
  min-width: 20px;
  transition: background .3s;
}
.pipeline-line.done { background: var(--green2); }

/* ── STAGE BADGES ────────────────────────────────── */
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}
.stage-registered       { background:#ebf8ff;  color:#2b6cb0; }
.stage-cert_verification{ background:#fffbeb;  color:#b7791f; }
.stage-counselling      { background:#e0f7fa;  color:#00695c; }
.stage-seat_allotment   { background:#ede7f6;  color:#6a1b9a; }
.stage-fee_payment      { background:#fff3e0;  color:#e65100; }
.stage-cert_collection  { background:#e8f5e9;  color:#2e7d32; }
.stage-completed        { background:#f0fff4;  color:var(--green); }
.stage-rejected         { background:#fff5f5;  color:var(--red); }

/* ── APPLICANT CARDS ─────────────────────────────── */
.app-card {
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
  border-left: 4px solid transparent;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  animation: fadeInUp .3s ease both;
}
.app-card:hover {
  box-shadow: 0 6px 22px rgba(10,48,85,.14);
  transform: translateX(3px);
}
.app-card.border-registered       { border-left-color: #3182ce; }
.app-card.border-cert_verification{ border-left-color: #d69e2e; }
.app-card.border-counselling      { border-left-color: #00695c; }
.app-card.border-seat_allotment   { border-left-color: #6a1b9a; }
.app-card.border-fee_payment      { border-left-color: #e65100; }
.app-card.border-cert_collection  { border-left-color: #2e7d32; }
.app-card.border-completed        { border-left-color: var(--green2); }

/* ── TABLE ───────────────────────────────────────── */
.wf-table th {
  background: #f7fafc;
  color: var(--navy);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 10px 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.wf-table td {
  padding: 10px 14px;
  font-size: 13.5px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f4f8;
  transition: background .15s;
}
.wf-table tbody tr { transition: background .15s; }
.wf-table tbody tr:hover { background: #f7fafc; }
.wf-table tbody tr:hover td { background: #f0f4ff; }

/* ── CERT CHECKLIST ──────────────────────────────── */
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f7fafc;
  margin-bottom: 8px;
  border: 1.5px solid transparent;
  transition: all .2s;
}
.cert-item.verified { background: #f0fff4; border-color: #9ae6b4; }
.cert-item.missing  { background: #fff5f5; border-color: #feb2b2; }
.cert-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.cert-check.ok  { background: var(--green2); color: #fff; }
.cert-check.no  { background: #e2e8f0; color: #a0aec0; }
.cert-check.err { background: var(--red); color: #fff; }

/* ── TOKEN DISPLAY ───────────────────────────────── */
.token-display {
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 3px;
  background: rgba(10,48,85,.06);
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px dashed rgba(10,48,85,.2);
  display: inline-block;
  user-select: all;
}

/* ── LIVE INDICATOR ──────────────────────────────── */
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: blink 1.4s ease infinite;
}

/* ── FEE DISPLAY ─────────────────────────────────── */
.fee-amount-display {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}

/* ── PROGRESS BAR ANIMATED ───────────────────────── */
.progress-bar { animation: progressFill 1.2s ease both; }

/* ── ALERTS ──────────────────────────────────────── */
.alert { border-radius: 10px; animation: fadeInUp .3s ease; }
.alert-dismissible .btn-close { padding: .55rem .75rem; }

/* ── LOADING SKELETON ────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,#f0f4f8 25%,#e8eef4 37%,#f0f4f8 63%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 6px;
}

/* ── PRINT BUTTON BAR ────────────────────────────── */
.print-btn-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

/* ── SECTION PRINT BUTTON ────────────────────────── */
.btn-print-copy {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--gold);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .2s;
  box-shadow: 0 3px 12px rgba(10,48,85,.2);
}
.btn-print-copy:hover {
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,48,85,.28);
}

/* ── QR / PAYMENT AREA ───────────────────────────── */
.qr-wrap {
  border: 2px dashed var(--navy);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(10,48,85,.03);
}

/* ── SEAT AVAILABILITY GRID ──────────────────────── */
.seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px;
}
.seat-course-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--navy);
  transition: transform .2s;
}
.seat-course-card:hover { transform: translateY(-2px); }
.seat-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dotted #e2e8f0;
  font-size: 13px;
}
.seat-cat-row:last-child { border-bottom: none; }
.seats-left { font-weight: 800; color: var(--green); }
.seats-left.low  { color: var(--orange); }
.seats-left.full { color: var(--red); }

/* ── DASHBOARD SPECIFIC ──────────────────────────── */
.dash-welcome {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, #155a8a 100%);
  border-radius: 14px;
  padding: 24px 28px;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeInUp .35s ease;
}
.dash-welcome::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(232,180,0,.06);
  pointer-events: none;
}
.dash-welcome h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
}

.pipeline-bar-item {
  flex: 1;
  text-align: center;
  min-width: 70px;
  transition: transform .2s;
}
.pipeline-bar-item:hover { transform: translateY(-3px); }
.pipeline-bar-fill {
  border-radius: 6px 6px 0 0;
  transition: height .6s cubic-bezier(.4,0,.2,1);
  margin-bottom: 6px;
}

.activity-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f4f8;
  transition: background .15s;
  animation: fadeInUp .3s ease both;
}
.activity-row:hover { background: #f7fafc; }
.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10,48,85,.08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── MODAL ───────────────────────────────────────── */
.modal-content { border-radius: 14px!important; border: none!important; }
.modal-header  { border-radius: 14px 14px 0 0!important; }
.bg-navy.modal-header { background: var(--navy)!important; }

/* ── UPLOAD CARD ─────────────────────────────────── */
.upload-card {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  background: #f8f9fa;
  cursor: pointer;
  transition: all .2s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.upload-card:hover { border-color: var(--navy); background: #f0f4ff; }
.upload-card input[type=file] { display: none; }
.upload-card label { cursor: pointer; font-size:11.5px; font-weight:700; color:var(--navy); margin-bottom:3px; }
.upload-card .uc-icon { font-size:22px; margin-bottom:4px; color:var(--navy); opacity:.6; }
.upload-card.has-file { border-color: var(--green2); background: #f0fff4; }
.upload-card.has-file .uc-icon { color: var(--green); opacity:1; }

/* ── REGISTRATION FORM STYLES ────────────────────── */
.reg-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 14.5px;
  border-bottom: 2px solid rgba(232,180,0,.4);
  padding-bottom: 8px;
  margin: 24px 0 16px;
}
.reg-sec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
label.req::after { content:" *"; color:#dc3545; }
.sccl-box {
  background: rgba(232,180,0,.07)!important;
  border: 2px solid rgba(232,180,0,.35)!important;
  border-radius: 10px!important;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width:800px) {
  #sb { transform: translateX(-100%); }
  #sb.on { transform: none; }
  #main { margin-left: 0; }
  .tog { display: block; }
  #content { padding: 14px; }
  .stat-num { font-size: 28px!important; }
  .pipeline { min-width: 480px; }
  .pipeline-step { min-width: 64px; }
  .pipeline-step .p-icon { width: 32px; height: 32px; font-size: 12px; }
  .pipeline-step .p-label { font-size: 9.5px; }
  .section-header-bar { padding: 15px 18px; }
  .section-header-bar h3 { font-size: 18px; }
}
@media (max-width: 576px) {
  .stat-num { font-size: 24px!important; }
  .dash-welcome { padding: 18px 16px; }
}

/* ── PRINT MEDIA ─────────────────────────────────── */
@media print {
  body { background: #fff!important; }
  #sb, #topbar, .print-bar, .print-btn-bar,
  .no-print, .btn, nav, .tog { display: none!important; }
  #main { margin-left: 0!important; }
  #content { padding: 0!important; }
  .card { box-shadow: none!important; border: 1px solid #ddd!important; }
  .page-break { page-break-after: always; }
}
