/* ============ DESIGN TOKENS & BASE ============ */
:root {
  --primary: #003366;
  --primary-dark: #002244;
  --primary-light: #004080;
  --secondary: #008080;
  --secondary-light: #00a3a3;
  --accent: #d9534f;
  --gold: #c9a227;
  --gold-light: #e8cf7a;
  --cream: #f8f9fa;
  --paper: #ffffff;
  --ink: #1b2430;
  --ink-soft: #5b6472;
  --line: #e2e8f0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 12px rgba(0, 34, 68, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 34, 68, 0.12);
  --shadow-lg: 0 20px 48px rgba(0, 34, 68, 0.18);
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #1b2430; }

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============ TOP ADMINISTRATIVE RIBBON ============ */
.top-ribbon {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}
.ribbon-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ribbon-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.naac-badge {
  background: linear-gradient(135deg, var(--gold), #dab635);
  color: #241d05;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.ribbon-contact { display: flex; gap: 14px; }
.ribbon-link { text-decoration: none; opacity: 0.9; transition: opacity 0.2s; }
.ribbon-link:hover { opacity: 1; text-decoration: underline; color: var(--gold-light); }

/* ============ STICKY NAV BAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(0, 51, 102, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.15rem;
  flex: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.brand-text .t1 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-text .t2 { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; color: var(--gold-light); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-caret { font-size: 0.65rem; transition: transform 0.2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  border: 1px solid var(--line);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.18s;
}
.dropdown a small { color: var(--ink-soft); font-size: 0.76rem; font-weight: 400; margin-top: 2px; }
.dropdown a:hover { background: var(--cream); color: var(--primary); }

/* Buttons */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 18px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #241d05; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,162,39,0.3); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c23b37; transform: translateY(-1px); }
.btn-teal { background: var(--secondary); color: #fff; }
.btn-teal:hover { background: var(--secondary-light); }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--cream); }
.btn-block { width: 100%; }

.hamburger { display: none; background: none; border: none; color: #fff; padding: 8px; }
.hamburger svg { width: 26px; height: 26px; }

/* Profile Chip */
.profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  cursor: pointer;
}
.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #241d05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex: none;
}
.profile-dd {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px;
  display: none;
  border: 1px solid var(--line);
}
.profile-chip.open .profile-dd { display: block; }
.profile-dd a, .profile-dd button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 0.86rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.profile-dd a:hover, .profile-dd button:hover { background: var(--cream); color: var(--primary); }

/* Mobile Drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 600; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(0, 20, 40, 0.65); }
.mobile-drawer .panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: var(--primary-dark);
  padding: 24px 20px;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.4);
}
.mobile-drawer .close-x { background: none; border: none; color: #fff; font-size: 1.5rem; float: right; }
.mobile-drawer a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 500;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,34,68,0.92), rgba(0,51,102,0.85) 45%, rgba(0,128,128,0.8)),
    url('../../images/1.jpg') center/cover no-repeat;
}
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 84px 20px 100px; position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 800px;
  margin: 14px 0 18px;
  line-height: 1.1;
}
.hero p { max-width: 640px; color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; line-height: 1.65; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  max-width: 840px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}
.hero-stat { background: rgba(0, 34, 68, 0.4); padding: 18px 16px; text-align: center; }
.hero-stat .n { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); font-weight: 700; }
.hero-stat .l { font-size: 0.74rem; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }

.lattice-divider {
  height: 22px;
  width: 100%;
  background-image:
    radial-gradient(circle at 10px 11px, var(--gold) 0 2.4px, transparent 2.6px),
    radial-gradient(circle at 30px 11px, var(--gold) 0 2.4px, transparent 2.6px);
  background-size: 40px 22px;
  background-repeat: repeat-x;
  opacity: 0.6;
}

/* ============ PAGE BANNER ============ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--secondary));
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.page-banner .eyebrow { color: var(--gold); }
.page-banner h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 8px; }
.page-banner p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0 auto; }

/* ============ SECTIONS ============ */
.section { max-width: 1240px; margin: 0 auto; padding: 64px 20px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--primary); margin: 8px 0 10px; }
.section-head p { color: var(--ink-soft); }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.about-copy .drop {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  margin: 6px 8px 0 0;
  font-weight: 700;
}
.about-media-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.about-media-card img { height: 240px; object-fit: cover; width: 100%; transition: transform 0.3s; }
.about-media-card:hover img { transform: scale(1.04); }
.about-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(0, 34, 68, 0.85);
  color: #fff;
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  border-left: 3px solid var(--gold);
}

/* Extension Activities & Gallery Cards */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-card img { height: 220px; object-fit: cover; width: 100%; }
.gallery-card-body { padding: 20px; }
.gallery-card-body h3 { font-family: var(--font-display); color: var(--primary); margin: 0 0 8px; font-size: 1.25rem; }
.gallery-card-body p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }

/* Course Program Cards & Catalog Grid */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  background: none;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.filter-tab.active { background: var(--primary); color: #fff; font-weight: 600; }
.filter-tab:hover:not(.active) { background: var(--cream); color: var(--ink); }

.search-box { position: relative; flex: 1; max-width: 320px; }
.search-box input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}
.search-box svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink-soft); }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }
.program-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.program-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.program-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.tag-ug { background: #e0f2fe; color: #0369a1; }
.tag-pg { background: #f0fdf4; color: #15803d; }
.tag-phd { background: #fef3c7; color: #b45309; }
.program-dept { font-size: 0.75rem; color: var(--ink-soft); }
.program-title { font-family: var(--font-display); color: var(--primary); margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; }
.program-desc { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; margin: 0 0 16px; flex-grow: 1; }
.program-meta { font-size: 0.82rem; background: var(--cream); padding: 10px; border-radius: 8px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }

/* ============ MODAL SYSTEM ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 20, 40, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-box.wide { max-width: 640px; }
.modal-head {
  padding: 18px 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }
.modal-head p { margin: 2px 0 0; font-size: 0.78rem; opacity: 0.85; }
.modal-close { background: none; border: none; color: #fff; font-size: 1.3rem; opacity: 0.8; transition: opacity 0.2s; }
.modal-close:hover { opacity: 1; }
.modal-body { padding: 24px; overflow-y: auto; }

/* Auth Modal Tabs & OTP */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: all 0.2s;
}
.auth-tab.active { background: var(--cream); color: var(--primary); }

.form-group { margin-bottom: 14px; text-align: left; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); outline: none; }

.otp-row { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.otp-box {
  width: 44px;
  height: 50px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
}
.otp-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-soft); align-items: center; }
.otp-meta button { background: none; border: none; color: var(--secondary); font-weight: 600; text-decoration: underline; padding: 0; }
.otp-meta button:disabled { opacity: 0.5; text-decoration: none; cursor: not-allowed; }

/* Apply & Fee Breakdown Table */
.apply-course-summary { background: var(--cream); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.fee-breakdown { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.86rem; }
.fee-breakdown td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.fee-breakdown td:last-child { text-align: right; font-weight: 600; }
.fee-breakdown tr.total td { font-weight: 800; font-size: 1rem; color: var(--primary); border-top: 2px solid var(--primary); border-bottom: none; padding-top: 10px; }

/* Payment Modal Panels */
.pay-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.pay-tab {
  flex: 1;
  padding: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}
.pay-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pay-panel { display: none; }
.pay-panel.active { display: block; }
.qr-box {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  background: #fff url('https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=upi://pay?pa=msswbc@sbi%26pn=MSS%20Wakf%20Board%20College') center/cover no-repeat;
  border-radius: 10px;
  border: 2px solid var(--line);
}
.pay-status { text-align: center; padding: 30px 0; }
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ FEE RECEIPT & PRINT STYLES ============ */
.receipt {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: #111;
}
.receipt-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.receipt-brand { display: flex; gap: 12px; align-items: center; }
.receipt-crest {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.receipt-brand h2 { margin: 0; font-size: 1.1rem; color: var(--primary); font-family: var(--font-display); }
.receipt-brand p { margin: 0; font-size: 0.76rem; color: var(--ink-soft); }
.receipt-badge .status-tag {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 4px;
}
.receipt-divider { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.receipt-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.84rem; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.84rem; }
.receipt-table th { background: var(--cream); text-align: left; padding: 8px; font-size: 0.78rem; text-transform: uppercase; }
.receipt-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.receipt-table .total-row td { font-weight: 800; font-size: 1rem; border-top: 2px solid #000; border-bottom: none; }
.receipt-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 24px; }
.seal-svg { width: 90px; height: 90px; }
.sig-block { text-align: center; }
.sig-line { width: 140px; border-top: 1px solid #333; margin: 0 auto 6px; }

/* Print Override */
@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { position: absolute; left: 0; top: 0; width: 100%; }
  .modal-overlay, .site-header, .site-footer { background: none !important; }
  .receipt-actions { display: none !important; }
}

/* ============ TOAST NOTIFICATIONS ============ */
#toast-host { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.86rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 4px solid var(--gold);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left-color: #22c55e; }
.toast-error { border-left-color: var(--accent); }

/* Footer */
.site-footer { background: var(--primary-dark); color: #fff; padding: 48px 20px 24px; font-size: 0.88rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-bottom { max-width: 1240px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.78rem; opacity: 0.7; }
