/* =====================================================
   ProHire – Custom CSS (White + Blue Gradient Theme)
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ── CSS Variables (Light Mode) ── */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --nav-bg: rgba(255,255,255,0.95);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 24px rgba(37,99,235,0.07);
    --card-hover: 0 8px 30px rgba(37,99,235,0.15);

    --sidebar-bg: #1e293b;
    --sidebar-text: #cbd5e1;
    --sidebar-active: #2563eb;
    --sidebar-hover: rgba(37,99,235,0.15);

    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Dark Mode ── */
[data-theme="dark"] {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-2: #0f172a;
    --border: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --nav-bg: rgba(30,41,59,0.97);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 24px rgba(0,0,0,0.3);
    --card-hover: 0 8px 30px rgba(37,99,235,0.25);
    --sidebar-bg: #0f172a;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.6rem 1.25rem; border-radius: var(--radius); font-weight: 600;
    font-size: 0.9rem; border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,99,235,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.45); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* ── Navbar ── */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    transition: all var(--transition);
}
.navbar .container { display: flex; align-items: center; gap: 2rem; }
.navbar-brand {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.navbar-brand span { font-size: 1.6rem; -webkit-text-fill-color: initial; }
.navbar-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-link {
    padding: 0.45rem 0.85rem; border-radius: var(--radius); font-weight: 500;
    font-size: 0.9rem; color: var(--text-muted); transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(37,99,235,0.08); }
.navbar-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 1rem; }
.burger { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 1.4rem; }

@media (max-width: 768px) {
    .burger { display: block; }
    .navbar-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--surface);
        flex-direction: column; justify-content: center; gap: 1rem; z-index: 999; font-size: 1.2rem; }
    .navbar-nav.open { display: flex; }
    .navbar-actions { margin-left: auto; }
    .nav-close { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 1.6rem; background: none; border: none; cursor: pointer; color: var(--text); }
}

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
    color: #fff; padding: 6rem 0 5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; color: #fff; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-search {
    background: #fff; border-radius: var(--radius-xl); padding: 0.6rem;
    display: flex; gap: 0.5rem; max-width: 700px; margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-search input {
    flex: 1; border: none; outline: none; padding: 0.75rem 1rem;
    font-size: 1rem; color: #0f172a; background: transparent; border-radius: var(--radius);
}
.hero-search select {
    border: none; outline: none; padding: 0.75rem 0.5rem; color: #64748b;
    background: transparent; font-size: 0.9rem; cursor: pointer;
}
.hero-stats { display: flex; justify-content: center; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ── Section ── */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.section-header p { color: var(--text-muted); max-width: 550px; margin: 0 auto; }

/* ── Cards ── */
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--card-hover); }

/* ── Job Card ── */
.job-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
    box-shadow: var(--card-shadow); transition: all var(--transition);
    position: relative; overflow: hidden;
}
.job-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0); transition: transform var(--transition);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.job-card:hover::after { transform: scaleX(1); }
.job-card-top { display: flex; gap: 1rem; align-items: flex-start; }
.company-logo {
    width: 52px; height: 52px; border-radius: var(--radius); object-fit: cover;
    border: 1px solid var(--border); flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem;
}
.job-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.job-title a:hover { color: var(--primary); }
.job-company { font-size: 0.9rem; color: var(--text-muted); }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.78rem; font-weight: 500;
}
.badge-primary { background: rgba(37,99,235,0.1); color: var(--primary); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-purple { background: rgba(139,92,246,0.1); color: var(--accent); }
.badge-gray { background: var(--surface-2); color: var(--text-muted); }
.badge-cyan { background: rgba(6,182,212,0.1); color: var(--secondary); }

/* ── Category Cards ── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.category-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem 1rem; text-align: center; cursor: pointer;
    transition: all var(--transition); display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.category-card:hover { background: var(--primary); color: #fff; transform: translateY(-4px); box-shadow: var(--card-hover); }
.category-card:hover .category-icon, .category-card:hover .category-count { color: rgba(255,255,255,0.8); }
.category-icon { font-size: 2rem; }
.category-name { font-weight: 600; font-size: 0.9rem; }
.category-count { font-size: 0.78rem; color: var(--text-muted); }

/* ── Stats Banner ── */
.stats-banner { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item strong { font-size: 2.5rem; font-weight: 800; display: block; margin-bottom: 0.3rem; }
.stat-item span { font-size: 0.9rem; opacity: 0.85; }

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; color: var(--text); }
.form-control {
    width: 100%; padding: 0.7rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius); background: var(--surface); color: var(--text);
    font-size: 0.95rem; font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* ── Alerts ── */
.alert {
    padding: 0.875rem 1.25rem; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 500; margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.6rem; border-left: 4px solid;
}
.alert-success { background: rgba(16,185,129,0.1); color: var(--success); border-color: var(--success); }
.alert-error { background: rgba(239,68,68,0.1); color: var(--danger); border-color: var(--danger); }
.alert-info { background: rgba(37,99,235,0.1); color: var(--primary); border-color: var(--primary); }
.alert-warning { background: rgba(245,158,11,0.1); color: var(--warning); border-color: var(--warning); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
thead th { background: var(--surface-2); font-weight: 600; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.05em; padding: 0.875rem 1.25rem; color: var(--text-muted); white-space: nowrap; }
tbody td { padding: 1rem 1.25rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
tbody tr:hover { background: var(--surface-2); }

/* ── Sidebar Admin Layout ── */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--sidebar-bg); flex-shrink: 0;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; transition: width var(--transition);
}
.sidebar-logo { padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-logo a {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sidebar-nav { padding: 1rem 0.75rem; flex: 1; }
.sidebar-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3); padding: 0.5rem 0.75rem; margin-top: 1rem; }
.sidebar-link {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
    border-radius: var(--radius); color: var(--sidebar-text); font-size: 0.9rem; font-weight: 500;
    transition: all var(--transition); margin-bottom: 0.15rem;
}
.sidebar-link:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-link.active { background: var(--sidebar-active); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,0.4); }
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.main-content { flex: 1; overflow-x: hidden; background: var(--bg); }
.topbar {
    position: sticky; top: 0; z-index: 100; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 0.875rem 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.topbar h1 { font-size: 1.1rem; font-weight: 700; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.page-body { padding: 2rem 1.5rem; }

/* ── Stat Cards (Dashboard) ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; position: relative; overflow: hidden;
    box-shadow: var(--card-shadow);
}
.stat-card::before {
    content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
    border-radius: 50%; opacity: 0.08; transform: translate(20px,-20px);
}
.stat-card.blue::before { background: var(--primary); }
.stat-card.green::before { background: var(--success); }
.stat-card.purple::before { background: var(--accent); }
.stat-card.orange::before { background: var(--warning); }
.stat-card .stat-icon {
    width: 46px; height: 46px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1rem;
}
.stat-card.blue .stat-icon { background: rgba(37,99,235,0.1); color: var(--primary); }
.stat-card.green .stat-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-card.purple .stat-icon { background: rgba(139,92,246,0.1); color: var(--accent); }
.stat-card.orange .stat-icon { background: rgba(245,158,11,0.1); color: var(--warning); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-card .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Pagination ── */
.pagination { display: flex; gap: 0.4rem; align-items: center; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-link {
    padding: 0.5rem 0.875rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500;
    border: 1px solid var(--border); color: var(--text-muted); transition: all var(--transition); cursor: pointer;
}
.page-link:hover, .page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-link.disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Auth Pages ── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0369a1 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 3rem; color: #fff;
}
.auth-visual h2 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.auth-visual p { opacity: 0.8; font-size: 1rem; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
.auth-form-box { width: 100%; max-width: 420px; }
.auth-form-box h1 { font-size: 1.75rem; margin-bottom: 0.4rem; }
.auth-form-box p.subtitle { color: var(--text-muted); margin-bottom: 2rem; }

@media (max-width: 768px) { .auth-page { grid-template-columns: 1fr; } .auth-visual { display: none; } }

/* ── Dark Mode Toggle ── */
.theme-toggle {
    width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.theme-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Footer ── */
footer {
    background: var(--sidebar-bg); color: var(--sidebar-text); padding: 4rem 0 2rem; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem; font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #38bdf8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.75rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--sidebar-text); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Grid Helpers ── */
.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.5rem; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }

@media (max-width: 900px) { .grid-4,.grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2,.grid-3,.grid-4,.jobs-grid { grid-template-columns: 1fr; } }

/* ── Sidebar Mobile ── */
.sidebar-backdrop { display: none; }
@media (max-width: 900px) {
    .sidebar { position: fixed; left: -260px; z-index: 200; transition: left var(--transition); height: 100vh; }
    .sidebar.open { left: 0; }
    .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; display: none; }
    .sidebar-backdrop.visible { display: block; }
    .sidebar-toggle { display: flex !important; }
}

/* ── Utility ── */
.flex { display: flex; } .flex-center { display: flex; align-items: center; } .flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.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; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-sm { font-size: 0.85rem; } .text-muted { color: var(--text-muted); } .font-bold { font-weight: 700; }
.hidden { display: none; } .d-flex { display: flex; }
.w-full { width: 100%; }

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.animate-fade-in { animation: fadeInUp 0.4s ease both; }
.animate-delay-1 { animation-delay: 0.1s; } .animate-delay-2 { animation-delay: 0.2s; } .animate-delay-3 { animation-delay: 0.3s; }
.loading { animation: pulse 1.5s infinite; }

/* ── Search Filters Sidebar ── */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filter-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 90px; }
.filter-card h3 { font-size: 1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.filter-section { margin-bottom: 1.25rem; }
.filter-section label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem; }
@media (max-width: 768px) { .search-layout { grid-template-columns: 1fr; } .filter-card { position: static; } }

/* ── Notification Bell ── */
.notif-bell { position: relative; cursor: pointer; }
.notif-badge {
    position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
    background: var(--danger); color: #fff; border-radius: 50%;
    font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.notif-dropdown {
    position: absolute; right: 0; top: calc(100% + 10px); width: 320px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15); display: none; z-index: 500;
}
.notif-dropdown.open { display: block; }
.notif-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 0.9rem; }
.notif-item { padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition); }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: rgba(37,99,235,0.04); }
.notif-msg { font-size: 0.86rem; margin-bottom: 0.25rem; }
.notif-time { font-size: 0.75rem; color: var(--text-muted); }
