@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Noto+Serif:ital,wght@0,400;0,700&family=Noto+Sans+Sinhala:wght@400;600;700&family=Noto+Serif+Sinhala:wght@400;700&display=swap');

:root {
  --primary: #1a3a5c;
  --primary-light: #2563a8;
  --primary-dark: #0f2338;
  --accent: #c8a951;
  --accent-light: #f0d078;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0ea5e9;
  --bg: #f5f6fa;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }
h1, h2, h3, h4 { font-family: 'Noto Serif', serif; font-weight: 700; line-height: 1.3; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
.sinhala-text { font-family: 'Noto Sans Sinhala', sans-serif; }
.sinhala-heading { font-family: 'Noto Serif Sinhala', serif; font-weight: 700; }
.gold-text { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page { padding: 40px 0 80px; min-height: 60vh; }

/* Cards */
.card { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.18s ease; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: var(--accent-light); color: var(--primary-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.8); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-school { background: #dbeafe; color: #1e40af; }
.badge-zonal { background: #ede9fe; color: #4c1d95; }
.badge-provincial { background: #fce7f3; color: #831843; }
.resoza-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #c8a951, #f0d078); color: #1a3a5c; border-radius: 6px; padding: 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.grade-chip { display: inline-block; padding: 2px 8px; background: #f0f9ff; color: #0369a1; border-radius: 4px; font-size: 12px; font-weight: 600; margin: 2px; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.required { color: var(--danger); margin-left: 2px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: #fff; transition: border-color 0.15s; outline: none; }
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,168,0.12); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; border-left: 4px solid; }
.alert-success { background: #d1fae5; border-color: var(--success); color: #065f46; }
.alert-danger { background: #fee2e2; border-color: var(--danger); color: #991b1b; }
.alert-warning { background: #fef3c7; border-color: var(--warning); color: #92400e; }
.alert-info { background: #e0f2fe; border-color: var(--info); color: #0c4a6e; }

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }

/* Loading */
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center { display: flex; justify-content: center; align-items: center; padding: 60px; }

/* Navbar */
.site-header { background: var(--primary-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.navbar-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.brand-si { font-family: 'Noto Sans Sinhala', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent); }
.brand-year { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 600; }
.navbar-menu { display: flex; align-items: center; gap: 6px; }
.nav-link { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 6px; text-decoration: none; transition: all 0.15s; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 18px; }

/* Hero */
.hero { position: relative; height: 90vh; min-height: 500px; max-height: 800px; overflow: hidden; display: flex; align-items: center; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.5) 100%); }
.hero-bg-default { position: absolute; inset: 0; background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 700px; text-align: center; margin: 0 auto; }
.hero-title { font-size: clamp(40px, 8vw, 80px); line-height: 1.1; margin-bottom: 16px; text-align: center; width: 100%; }
.hero-subtitle { font-family: 'Noto Sans Sinhala', sans-serif; font-size: clamp(16px, 3vw, 24px); color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.2s; }
.dot.active { background: var(--accent); transform: scale(1.3); }

/* Stats bar */
.stats-bar { background: var(--primary-dark); padding: 24px 0; }
.stats-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stats-item { text-align: center; }
.stats-num { font-family: 'Noto Serif', serif; font-size: 36px; font-weight: 700; }
.stats-lbl { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-card); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-size: 28px; }

/* Events grid */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.event-card { transition: transform 0.2s, box-shadow 0.2s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card-header { padding: 12px 16px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.event-card-body { padding: 12px 16px; }
.event-title { font-size: 17px; margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.event-card-footer { padding: 12px 16px; border-top: 1px solid var(--border); }

/* Results grid */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.result-card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; }
.result-event-title { font-size: 16px; margin-bottom: 6px; }
.result-card-body { padding: 16px 20px; }
.result-entry { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.result-entry:last-child { border-bottom: none; }
.result-pos { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.result-name { flex: 1; font-weight: 600; }

/* CTA */
.cta-section { background: var(--primary-dark); color: #fff; }
.cta-box { text-align: center; max-width: 700px; margin: 0 auto; padding: 20px 0; }
.cta-box h2 { font-size: 28px; color: var(--accent); margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 16px; }
.cta-box .form-control { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; }
.cta-box .form-control::placeholder { color: rgba(255,255,255,0.5); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 40px 0 20px; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-logo { font-family: 'Noto Sans Sinhala', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }
.footer-links strong, .footer-contact strong { display: block; color: rgba(255,255,255,0.9); font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact p, .footer-contact a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; margin: 0; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; font-size: 13px; text-align: center; color: rgba(255,255,255,0.4); }

/* Filter form */
.filter-form { border-radius: var(--radius-lg); }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .card-body { padding: 16px; }
  .hero { height: 60vh; }
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); padding: 16px; gap: 4px; }
  .navbar-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .stats-row { gap: 30px; }
  .events-grid, .results-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .events-grid-home, .results-preview-grid { grid-template-columns: 1fr; }
}

/* ── Homepage Events Section ──────────────────────── */
.events-section { padding: 80px 0; background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: #64748b; }
.events-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.event-card-home {
    background: #fff; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.event-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.event-card-header-home {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.event-type-badge {
    background: #dbeafe; color: #1d4ed8;
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.event-category-badge {
    background: #fce7f3; color: #be185d;
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.event-card-title-home {
    font-size: 17px; font-weight: 700; color: #1e293b;
    margin-bottom: 16px; line-height: 1.3;
}
.event-card-details-home {
    display: flex; flex-direction: column;
    gap: 8px; margin-bottom: 16px; flex: 1;
}
.event-detail-item-home {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #64748b;
}
.detail-icon-home { font-size: 14px; flex-shrink: 0; }
.event-prizes-home {
    background: linear-gradient(135deg, #1a3a5c, #0f2338);
    color: #c8a951; padding: 10px 14px;
    border-radius: 10px; font-size: 13px;
    font-weight: 600; margin-bottom: 16px;
}
.event-apply-btn-home {
    display: block; text-align: center;
    padding: 12px; background: #1a3a5c;
    color: #c8a951; border-radius: 10px;
    text-decoration: none; font-weight: 700;
    font-size: 14px; transition: background 0.2s;
}
.event-apply-btn-home:hover { background: #0f2338; text-decoration: none; }

/* ── Homepage Results Preview ─────────────────────── */
.results-preview-section { padding: 80px 0; background: #fff; }
.results-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.result-preview-card {
    border-radius: 14px; padding: 20px; text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.2s;
}
.result-preview-card:hover { transform: translateY(-3px); }
.result-medal { font-size: 36px; margin-bottom: 8px; }
.result-student-name { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.result-event { font-size: 12px; color: #1a3a5c; font-weight: 600; margin-bottom: 4px; }
.result-school { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.result-score { font-size: 13px; font-weight: 700; color: #16a34a; }
.view-all-btn {
    display: inline-block; padding: 12px 32px;
    background: #1a3a5c; color: #c8a951;
    border-radius: 10px; text-decoration: none;
    font-weight: 700; font-size: 15px; transition: background 0.2s;
}
.view-all-btn:hover { background: #0f2338; text-decoration: none; }

/* ════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ════════════════════════════════════════════════ */

/* Admin sidebar collapse on mobile */
@media (max-width: 768px) {

  /* Sidebar */
  .sidebar {
    position: fixed !important;
    left: -240px !important;
    top: 0; bottom: 0;
    z-index: 9999;
    transition: left 0.3s ease;
    width: 240px !important;
  }
  .sidebar.open {
    left: 0 !important;
  }
  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }
  .sidebar-overlay.open { display: block; }

  /* Main content full width */
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* Top bar hamburger */
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Page padding */
  .page-wrap  { padding: 16px !important; }
  .admin-content { padding: 16px !important; }

  /* Stats grid */
  .stats-row,
  .kpi-grid { grid-template-columns: 1fr 1fr !important; }

  /* Charts */
  .charts-grid,
  .charts-grid-3 { grid-template-columns: 1fr !important; }

  /* Tables — horizontal scroll */
  .table-card,
  .events-table-wrap,
  .schools-table-wrap,
  .results-table-wrap {
    overflow-x: auto !important;
  }
  table { min-width: 600px; }

  /* Modals full screen on mobile */
  .modal-backdrop {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal {
    border-radius: 20px 20px 0 0 !important;
    max-width: 100% !important;
    max-height: 92vh !important;
  }

  /* Form grids */
  .form-grid-2,
  .form-grid-3 { grid-template-columns: 1fr !important; }
  .form-row    { grid-template-columns: 1fr !important; }

  /* Top bar */
  .top-bar {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .top-bar > * { width: 100%; }

  /* Buttons full width on mobile */
  .btn-primary { width: 100%; justify-content: center; }

  /* Action buttons stack */
  .action-group { flex-wrap: wrap; }

  /* Application detail split view */
  .app-split {
    grid-template-columns: 1fr !important;
  }

  /* Apply form */
  .apply-wrap { padding: 0 12px 40px !important; }
  .apply-card { padding: 20px !important; }

  /* Events grid */
  .events-grid {
    grid-template-columns: 1fr !important;
  }

  /* Results preview grid */
  .results-preview-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Hero slider height */
  .hero-slider { height: 280px !important; }
  .slide-title { font-size: 20px !important; }
}

@media (max-width: 480px) {
  .stats-row,
  .kpi-grid { grid-template-columns: 1fr !important; }

  .results-preview-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-slider { height: 220px !important; }

  /* Credentials popup */
  .success-modal { padding: 24px 16px !important; }
  .reg-number    { font-size: 20px !important; }
}

/* ── Admin layout responsive ─────────────────────── */
@media (max-width: 768px) {
  .admin-wrapper {
    display: block !important;
  }
}

/* ════════════════════════════════════════════
   PNG ICON SYSTEM
   ════════════════════════════════════════════ */

img[src*="/assets/icons/"] {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Sidebar nav icons — white */
.nav-link img[src*="/assets/icons/"],
.sidebar-nav a img[src*="/assets/icons/"],
.nav-item img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.nav-link:hover img[src*="/assets/icons/"],
.nav-link.active img[src*="/assets/icons/"],
.nav-item:hover img[src*="/assets/icons/"],
.nav-item.active img[src*="/assets/icons/"] {
    opacity: 1;
}

/* Logout button */
.logout-btn img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Action button icons */
.btn-icon-edit img[src*="/assets/icons/"] {
    filter: sepia(1) saturate(4) hue-rotate(10deg) brightness(0.5);
}

.btn-icon-del img[src*="/assets/icons/"] {
    filter: sepia(1) saturate(4) hue-rotate(315deg) brightness(0.45);
}

.btn-icon-code img[src*="/assets/icons/"] {
    filter: sepia(1) saturate(3) hue-rotate(240deg) brightness(0.45);
}

/* Primary/dark background button icons — gold tint */
.btn-primary img[src*="/assets/icons/"],
.btn-save img[src*="/assets/icons/"],
.btn-save-all img[src*="/assets/icons/"],
.btn-publish-all img[src*="/assets/icons/"],
.btn-submit-review img[src*="/assets/icons/"] {
    filter: brightness(0) saturate(100%)
            invert(80%) sepia(40%)
            saturate(400%) hue-rotate(5deg);
}

/* Light/cancel button icons — dark */
.btn-cancel img[src*="/assets/icons/"] {
    filter: brightness(0) opacity(0.5);
}

/* Approve (green bg) button icons */
.btn-approve img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
}

/* Reject (red bg) button icons */
.btn-reject img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
}

/* Icon hover scale */
button:hover img[src*="/assets/icons/"] {
    transform: scale(1.1);
    transition: transform 0.15s ease;
}

/* Modal close button */
.modal-close-btn img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
    transition: transform 0.15s ease;
}

.modal-close-btn:hover img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
    transform: scale(1.15) rotate(90deg);
}

/* Download/export link icons on colored backgrounds */
a[style*="background:#dc2626"] img[src*="/assets/icons/"],
a[style*="background:#7c3aed"] img[src*="/assets/icons/"],
a[style*="background:#0ea5e9"] img[src*="/assets/icons/"],
a[style*="background:#16a34a"] img[src*="/assets/icons/"] {
    filter: brightness(0) invert(1);
}

/* Size utility classes */
.icon-xs img[src*="/assets/icons/"] { width: 12px !important; height: 12px !important; }
.icon-sm img[src*="/assets/icons/"] { width: 16px !important; height: 16px !important; }
.icon-md img[src*="/assets/icons/"] { width: 20px !important; height: 20px !important; }
.icon-lg img[src*="/assets/icons/"] { width: 24px !important; height: 24px !important; }

/* ════════════════════════════════════════════════
   STAT CARD ICON SYSTEM
   ════════════════════════════════════════════════ */

/* Stat card decorative icons — faded background */
.stat-icon img[src*="/assets/icons/"] {
    opacity: 0.15;
    filter: brightness(0);
    pointer-events: none;
    display: block;
}

/* Approve icon standalone */
.approve-icon { filter: sepia(1) saturate(5) hue-rotate(90deg) brightness(0.5); }

/* Reject icon standalone */
.reject-icon  { filter: sepia(1) saturate(5) hue-rotate(315deg) brightness(0.45); }
