/* ============================================================
   OMNISKILL HUB — Custom CSS (supplements Tailwind CDN)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary:     #0F172A;
    --secondary:   #1E293B;
    --accent:      #6366F1;
    --accent-2:    #8B5CF6;
    --success:     #10B981;
    --warning:     #F59E0B;
    --danger:      #EF4444;
    --text-muted:  #64748B;
    --border:      #E2E8F0;
    --glass-bg:    rgba(255,255,255,0.07);
    --glass-border:rgba(255,255,255,0.12);
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 10px 40px rgba(0,0,0,0.14);
    --radius:      0.875rem;
    --radius-lg:   1.25rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary);
    background: #FAFAFA;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: rgba(99,102,241,0.2); }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand .brand-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: rgba(99,102,241,0.08);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}

.nav-cta:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4) !important;
}

/* ── Mobile Menu ─────────────────────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    text-decoration: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(99,102,241,0.08); color: var(--accent); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .navbar { padding: 0 1.25rem; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99,102,241,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-outline:hover {
    background: rgba(99,102,241,0.08);
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-body { padding: 1.5rem; }

/* ── Bento Grid ──────────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bento-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.25);
}

.bento-card:hover::before { opacity: 1; }

.bento-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    border-color: transparent;
}

.bento-card.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: white;
    border-color: transparent;
}

.bento-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: rgba(99,102,241,0.1);
}

.bento-card.featured .bento-icon,
.bento-card.accent .bento-icon {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 1024px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.featured { grid-column: span 1; }
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
    position: relative;
    overflow: hidden;
    padding-top: 68px;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-bg-orb-1 {
    width: 600px; height: 600px;
    background: var(--accent);
    top: -200px; right: -100px;
}

.hero-bg-orb-2 {
    width: 400px; height: 400px;
    background: var(--accent-2);
    bottom: -100px; left: -50px;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    color: #A5B4FC;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #818CF8, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: #94A3B8;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat { text-align: left; }
.hero-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}
.hero-stat-label { font-size: 0.82rem; color: #64748B; font-weight: 500; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
    display: inline-block;
    background: rgba(99,102,241,0.1);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.85rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Course Cards ────────────────────────────────────────── */
.course-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.3);
}

.course-card-img {
    width: 100%; height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.course-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #EEF2FF;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.course-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.course-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

/* ── Job Cards ───────────────────────────────────────────── */
.job-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.3);
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #F1F5F9;
    color: var(--text-muted);
    font-size: 0.77rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

/* ── Testimonial Cards ───────────────────────────────────── */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

/* ── Form Elements ───────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: var(--primary);
    background: white;
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-control.error { border-color: var(--danger); }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.3rem; }

textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 32px; height: 32px;
    border-radius: 8px;
    border: none;
    background: #F1F5F9;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: background 0.2s;
}
.modal-close:hover { background: #E2E8F0; }

/* ── Toast Notifications ─────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 80px; right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
    width: 100%;
}

.toast {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 4px solid;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.7s forwards;
}

.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--danger); }
.toast.info    { border-color: var(--accent); }
.toast.warning { border-color: var(--warning); }

.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-msg { font-size: 0.9rem; font-weight: 500; color: var(--primary); flex: 1; }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateY(-8px); }
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 3.5rem 0 1.5rem;
}

.footer-brand { font-size: 1.15rem; font-weight: 800; color: white; margin-bottom: 0.75rem; }
.footer-desc  { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.footer-heading { font-size: 0.82rem; font-weight: 700; color: white; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.83rem;
}

/* ── Admin Sidebar ───────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; background: #F8FAFC; }

.sidebar {
    width: 260px;
    background: #0F172A;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none;
}
.sidebar-brand-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 900; color: white;
}
.sidebar-brand-name { font-size: 1rem; font-weight: 800; color: white; }
.sidebar-brand-role { font-size: 0.72rem; color: #64748B; font-weight: 500; }

.sidebar-nav { padding: 1rem 0.75rem; flex: 1; }

.sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #475569;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 0.15rem;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.06);
    color: white;
}

.sidebar-link.active {
    background: rgba(99,102,241,0.2);
    color: #818CF8;
}

.sidebar-link svg, .sidebar-link .icon { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 64px;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.admin-content { padding: 2rem; }

/* ── Admin Cards ─────────────────────────────────────────── */
.stat-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.stat-label { font-size: 0.83rem; color: var(--text-muted); font-weight: 500; }

/* ── Tables ──────────────────────────────────────────────── */
.admin-table-wrap {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: #F8FAFC;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.admin-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--primary);
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #F8FAFC; }

/* ── Status Badges ───────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.badge-new        { background: #EEF2FF; color: var(--accent); }
.badge-approached { background: #D1FAE5; color: #059669; }
.badge-not_approached { background: #FEE2E2; color: var(--danger); }
.badge-active     { background: #D1FAE5; color: #059669; }
.badge-inactive   { background: #F1F5F9; color: var(--text-muted); }
.badge-admin      { background: #FEF3C7; color: #D97706; }
.badge-counselor  { background: #EDE9FE; color: #7C3AED; }
.badge-moderator  { background: #DBEAFE; color: #2563EB; }

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.page-sub   { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Search Bar ──────────────────────────────────────────── */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-input-wrap { position: relative; }
.search-input-wrap svg {
    position: absolute;
    left: 0.85rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px; height: 16px;
}
.search-input {
    padding: 0.6rem 1rem 0.6rem 2.4rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    width: 260px;
    font-family: 'Inter', sans-serif;
}
.search-input:focus { border-color: var(--accent); }

/* ── Responsive Admin ────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-topbar { padding: 0 1rem; }
    .admin-content { padding: 1.25rem; }
    .admin-table { font-size: 0.82rem; }
    .admin-table th, .admin-table td { padding: 0.75rem 1rem; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn   { animation: fadeIn 0.4s ease forwards; }

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ── Progress Step ───────────────────────────────────────── */
.process-steps { display: flex; gap: 0; position: relative; }

.process-step {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 2.25rem;
    right: -1px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(99,102,241,0.2));
}

.process-step:last-child::after { display: none; }

.step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 1rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .process-steps { flex-direction: column; gap: 1rem; }
    .process-step::after { display: none; }
}
