/* ══════════════════════════════════════════════════════════════════════════════
   AnywhereHired — Premium Dark Design System
   A research-grade job board with glassmorphism & modern aesthetics
   ══════════════════════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
    /* Surface colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #181822;
    --bg-card-hover: #1c1c28;
    --bg-elevated: #1e1e2a;
    --bg-input: #1a1a25;
    --bg-glass: rgba(255, 255, 255, 0.03);

    /* Borders — slightly stronger so cards & fields read clearly */
    --border: rgba(255, 255, 255, 0.11);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-accent: rgba(99, 102, 241, 0.45);

    /* Text — higher contrast on #0a0a0f / #16161f for easier reading */
    --text-primary: #f4f4f8;
    --text-secondary: #b9b9ce;
    --text-muted: #9494ac;
    --text-inverse: #0a0a0f;

    /* Accent */
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --accent-gradient-2: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);

    /* Status */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.1);
    --shadow-pill-glow: 0 4px 12px rgba(99, 102, 241, 0.3);

    /* Theme extras (dark default) */
    --link: #a5b4fc;
    --link-hover: #c7d2fe;
    --nav-bg: rgba(10, 10, 15, 0.85);
    --hero-radial: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    --text-on-accent: #ffffff;
    --form-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239494ac' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --container: 1380px;
    --grid-columns: 12;
    --nav-height: 64px;
}

/* ── Theme: color-scheme for scrollbars / native UI ────────────────────────── */
html[data-theme="dark"] {
    color-scheme: dark;
}

/* ── Light theme ───────────────────────────────────────────────────────────── */
html[data-theme="light"] {
    color-scheme: light;
    --bg-primary: #f4f5fa;
    --bg-secondary: #e9ebf3;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f8;
    --bg-elevated: #eef0f7;
    --bg-input: #ffffff;
    --bg-glass: rgba(0, 0, 0, 0.04);

    --border: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.18);
    --border-accent: rgba(79, 70, 229, 0.45);

    --text-primary: #11111a;
    --text-secondary: #3d3d4d;
    --text-muted: #5c5c6e;
    --text-inverse: #ffffff;

    --accent: #4f46e5;
    --accent-hover: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.14);
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
    --accent-gradient-2: linear-gradient(135deg, #0891b2 0%, #4f46e5 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 28px rgba(99, 102, 241, 0.14);
    --shadow-pill-glow: 0 4px 14px rgba(79, 70, 229, 0.28);

    --link: #4338ca;
    --link-hover: #4f46e5;
    --nav-bg: rgba(255, 255, 255, 0.88);
    --hero-radial: radial-gradient(circle, rgba(99, 102, 241, 0.11) 0%, transparent 70%);
    --text-on-accent: #ffffff;
    --form-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235c5c6e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.2s ease, color 0.15s ease;
}

a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }

/* Keyboard / screen-reader: visible focus (mouse clicks stay clean via :focus-visible) */
:where(
    a,
    button,
    input:not([type="hidden"]),
    select,
    textarea,
    .nav-toggle,
    .category-pill
):focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 3px;
}
.search-box input[type="text"]:focus-visible {
    outline: none;
}
.hero-search-panel .search-box input[type="text"]:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    width: 100%;
    box-sizing: border-box;
}

/* ── Animations ────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.25); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
}
.nav-brand span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}
.nav-cta {
    background: var(--accent) !important;
    color: var(--text-on-accent) !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-full) !important;
}
.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.nav-theme-wrap {
    display: flex;
    align-items: center;
}
.theme-toggle-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: box-shadow 0.2s;
}
.theme-toggle-switch:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 3px;
}
.theme-toggle-switch:hover .theme-toggle-track {
    border-color: var(--border-hover);
}
.theme-toggle-track {
    display: block;
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    transition: background 0.2s, border-color 0.2s;
}
.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 0.22s ease, background 0.2s;
    box-shadow: var(--shadow-sm);
}
.theme-toggle-switch[aria-checked="true"] .theme-toggle-track {
    background: var(--accent-glow);
    border-color: var(--border-accent);
}
.theme-toggle-switch[aria-checked="true"] .theme-toggle-thumb {
    transform: translateX(20px);
    background: var(--accent);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 50;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}
.dropdown-menu a:hover {
    background: var(--accent-glow);
    color: var(--accent-hover);
}

/* Mobile menu trigger — bars animate to an “X” when open */
.nav-toggle {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.nav-toggle:hover {
    background: var(--bg-glass);
}
.nav-toggle:active {
    transform: scale(0.94);
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        background 0.2s ease;
}
.nav-toggle--open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle--open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        padding: 8px max(16px, env(safe-area-inset-right)) 20px max(16px, env(safe-area-inset-left));
        gap: 0;
        list-style: none;
        z-index: 200;
        background: var(--bg-elevated);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-height: min(72vh, calc(100dvh - var(--nav-height)));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links > li {
        border-bottom: 1px solid var(--border);
    }
    .nav-links > li:last-child {
        border-bottom: none;
    }
    .nav-links > li > a:not(.nav-cta) {
        display: block;
        width: 100%;
        padding: 14px 6px;
        font-size: 0.95rem;
        font-weight: 500;
        border-radius: var(--radius-sm);
        box-sizing: border-box;
    }
    .nav-links > li > a.nav-cta {
        display: block;
        width: 100%;
        margin: 12px 0 8px;
        padding: 12px 18px !important;
        text-align: center;
        box-sizing: border-box;
    }
    .nav-links .dropdown > a {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
        padding-top: 16px;
        padding-bottom: 6px;
        pointer-events: none;
        cursor: default;
    }
    .nav-links .dropdown {
        padding-bottom: 4px;
    }
    .nav-links .dropdown-menu {
        display: block !important;
        position: static;
        margin: 0 0 8px;
        padding: 4px 0 8px;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    .nav-links .dropdown-menu a {
        padding: 10px 10px;
        margin: 2px 0;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
        background: var(--bg-card);
        border: 1px solid var(--border);
    }
    .nav-links .dropdown-menu a:hover,
    .nav-links .dropdown-menu a:active {
        background: var(--accent-glow);
        border-color: var(--border-accent);
        color: var(--text-primary);
    }
    .nav-theme-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 6px;
        gap: 12px;
    }
    .nav-theme-wrap::before {
        content: 'Theme';
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-primary);
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════════ */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--hero-radial);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    animation: fadeUp 0.6s ease;
}
.gradient-text {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    animation: fadeUp 0.6s ease 0.1s both;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
    animation: fadeUp 0.6s ease 0.2s both;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto 24px;
    animation: fadeUp 0.6s ease 0.3s both;
}
.search-box form {
    display: flex;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box form:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}
.search-box input {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text-on-accent);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.search-box button:hover { background: var(--accent-hover); }

/* Hero: keyword search + AI resume (single panel) */
.hero-search-panel {
    --hero-pill-height: 3.25rem; /* shared row height for both pills */
    max-width: min(1080px, 100%);
    margin: 0 auto 32px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 28px;
    align-items: start;
    text-align: left;
    animation: fadeUp 0.6s ease 0.2s both;
}
.hero-search-panel .search-box form {
    align-items: stretch;
}
.hero-search-panel .search-box input[type="text"] {
    flex: 1;
    min-width: 0;
    min-height: var(--hero-pill-height);
    height: var(--hero-pill-height);
    padding: 0 1.5rem;
    font-size: 0.9rem;
    line-height: var(--hero-pill-height);
    box-sizing: border-box;
}
.hero-search-panel .search-box button[type="submit"] {
    flex-shrink: 0;
    min-height: var(--hero-pill-height);
    height: var(--hero-pill-height);
    padding: 0 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.9rem;
}
.hero-search-panel__block--resume {
    padding-left: 28px;
    border-left: 1px solid var(--border);
}
/* Hidden on desktop so grid is exactly 2 columns (search | resume). */
.hero-search-panel__divider {
    display: none;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero-search-panel__divider::before,
.hero-search-panel__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
@media (max-width: 639px) {
    .hero-search-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-search-panel__block--resume {
        padding-left: 0;
        border-left: none;
        text-align: center;
    }
    .hero-search-panel__divider {
        display: flex;
    }
    /* Stack input + button so the row does not overflow narrow viewports */
    .hero-search-panel .search-box {
        width: 100%;
        max-width: 100%;
    }
    .hero-search-panel .search-box form {
        flex-direction: column;
        align-items: stretch;
        /* Not a horizontal “pill” anymore — stacked field + button */
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    .hero-search-panel .search-box input[type="text"] {
        width: 100%;
        min-height: 2.875rem;
        height: auto;
        line-height: 1.4;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        border-bottom: 1px solid var(--border);
    }
    .hero-search-panel .search-box button[type="submit"] {
        width: 100%;
        flex-shrink: 1;
        min-height: 2.875rem;
        height: auto;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    /* Resume row: file strip + button — same stacked silhouette */
    .hero-search-panel .hero-search-panel__resume-box .search-box form {
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    .hero-search-panel .hero-search-panel__resume-box .hero-search-panel__file-wrap {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        border-bottom: 1px solid var(--border);
    }
    .hero-search-panel .hero-search-panel__resume-box .search-box button[type="submit"] {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
}
.hero-search-panel__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.hero-search-panel__search-box {
    max-width: none;
    margin: 0;
}
/* Same pill bar as keyword search: file zone + Match resume button */
.hero-search-panel__resume-box {
    max-width: none;
    margin: 0;
}
.hero-search-panel__file-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: var(--hero-pill-height);
    height: var(--hero-pill-height);
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.hero-search-panel__file-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 2rem;
}
.hero-search-panel__file-display {
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    width: 100%;
}
.hero-search-panel__file-display.is-chosen {
    color: var(--text-primary);
}
/* Resume Upload */
.resume-upload {
    max-width: 500px;
    margin: 0 auto 32px;
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    animation: fadeUp 0.6s ease 0.4s both;
}
.resume-upload h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.resume-upload form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.resume-upload input[type="file"] {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.resume-upload input[type="file"]::file-selector-button {
    padding: 8px 16px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.resume-upload input[type="file"]::file-selector-button:hover {
    background: var(--bg-card-hover);
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    animation: fadeUp 0.6s ease 0.5s both;
}
.category-pill {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.25s;
}
.category-pill:hover, .category-pill.active {
    color: var(--text-on-accent);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-pill-glow);
}

/* ══════════════════════════════════════════════════════════════════════════════
   JOB CARDS — 12-column grid (cards span 12 / 6 / 4 cols by breakpoint)
   ══════════════════════════════════════════════════════════════════════════════ */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    margin-bottom: 40px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.job-card {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
    animation: fadeUp 0.4s ease calc(var(--delay, 0) * 0.05s) both;
}

@media (min-width: 640px) {
    .job-card {
        grid-column: span 6;
    }
}

/* 2 larger cards per row on most desktops */
@media (min-width: 1024px) {
    .job-card {
        grid-column: span 6;
    }
}

/* 3 columns only on very wide screens */
@media (min-width: 1440px) {
    .job-card {
        grid-column: span 4;
    }
}

.job-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.job-card-main {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px 16px;
    width: 100%;
    min-height: 0;
}

.job-logo-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    align-self: flex-start;
}

.job-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-elevated);
    padding: 6px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.job-logo-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-hover);
    object-fit: unset;
    padding: 0;
}

.job-logo-fallback.is-visible {
    display: flex;
}

.job-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.job-company {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}
.job-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.job-meta {
    display: flex;
    align-items: flex-start;
    gap: 8px 12px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}
.job-meta-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.job-meta-item .icon { font-size: 0.9rem; }

.tag {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    background: var(--accent-glow);
    color: var(--accent-hover);
    border: 1px solid rgba(99, 102, 241, 0.15);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.job-meta .tag {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

/* Category pill: keep "Category: Name" on one line */
.tag-category {
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

/* Category page cards: meta + Apply stacked under title */
.job-card--category .job-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 16px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.job-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}
.job-head-text {
    flex: 1;
    min-width: 0;
}
.job-posted {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: right;
    max-width: 38%;
}
.job-card--category .job-card-title-row {
    padding-left: calc(52px + 14px);
}
.job-card--category .job-card-title-row .job-title {
    margin: 0;
    white-space: normal;
    line-height: 1.35;
    font-size: 1.05rem;
}
/* Loc + category pill always one horizontal row (narrow cards: ellipsis, no wrap) */
.job-card-loc-cat-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding-left: calc(52px + 14px);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.job-card-loc-cat-row .job-meta-item {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.job-card-loc-cat-row .tag.tag-category {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
    display: inline-block;
}
.job-card-exp-row {
    padding-left: calc(52px + 14px);
}
.job-card-actions-row {
    padding-left: calc(52px + 14px);
    padding-right: 2px;
}
.job-card-actions-row .btn-primary {
    width: 100%;
    max-width: none;
    justify-content: center;
}

@media (max-width: 640px) {
    .job-card-title-row,
    .job-card-loc-cat-row,
    .job-card-exp-row,
    .job-card-actions-row {
        padding-left: 0;
    }
    .job-card-head {
        flex-wrap: wrap;
    }
    .job-posted {
        flex: 1 1 100%;
        max-width: none;
        text-align: left;
        margin-top: 4px;
    }
    .job-head-text {
        flex: 1;
        min-width: 12rem;
    }
}

.job-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    align-self: stretch;
    min-width: 108px;
    max-width: 42%;
    text-align: right;
}
.job-actions .btn-primary {
    margin-top: auto;
    flex-shrink: 0;
    max-width: 100%;
}
.job-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-shrink: 0;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .job-card-main {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .job-actions {
        flex-direction: row;
        width: 100%;
        max-width: none;
        min-width: 0;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .job-actions .btn-primary {
        margin-top: 0;
    }
    .job-title { white-space: normal; }
}

/* Full-detail cards (homepage 12 jobs × 3-column grid) */
.job-card.job-card--detail {
    display: flex;
    flex-direction: column;
}
.job-detail-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 20px 22px 22px;
    gap: 14px;
}
.job-detail-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.job-detail-head .job-logo-wrap {
    align-self: flex-start;
    width: 58px;
    height: 58px;
}
.job-card--detail .job-detail-head .job-logo,
.job-card--detail .job-detail-head .job-logo-fallback {
    width: 58px;
    height: 58px;
}
.job-card--detail .job-detail-head .job-logo-fallback {
    font-size: 1.35rem;
}
.job-detail-head-text {
    flex: 1;
    min-width: 0;
}
.job-card--detail .job-company {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0 0 8px;
    white-space: normal;
    line-height: 1.3;
}
.job-detail-head-text .job-detail-position {
    margin: 0;
}
.job-detail-company-link {
    font-size: 0.78rem;
    color: var(--accent-hover);
    word-break: break-all;
}
.job-card--detail .job-title,
.job-card--detail .job-detail-position {
    font-size: 1.06rem;
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 600;
}
.job-card--detail .job-title a,
.job-card--detail .job-detail-position a {
    color: var(--text-primary);
    text-decoration: none;
}
.job-card--detail .job-title a:hover,
.job-card--detail .job-detail-position a:hover {
    color: var(--accent-hover);
}
.job-detail-spec {
    display: grid;
    grid-template-columns: minmax(0, 38%) 1fr;
    gap: 8px 14px;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
}
.job-detail-spec dt {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
}
.job-detail-spec dd {
    margin: 0;
    color: var(--text-secondary);
    word-break: break-word;
    overflow-wrap: anywhere;
}
.job-detail-spec a {
    color: var(--accent-hover);
}
.job-detail-apply {
    margin-top: auto;
    padding-top: 8px;
}
.job-detail-apply .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.92rem;
}

/* ══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--text-on-accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-pill-glow);
    color: var(--text-on-accent);
}
.btn-outline {
    background: transparent;
    color: var(--accent-hover);
    border: 1px solid var(--border-accent);
}
.btn-outline:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-hover);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════════════════ */
.form-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    animation: fadeUp 0.5s ease;
}
.form-section h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.form-section .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 32px;
    line-height: 1.5;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: var(--form-chevron);
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 32px 0 48px;
    max-width: 100%;
    box-sizing: border-box;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    flex: 0 0 auto;
    min-width: 0;
    text-align: center;
}
@media (max-width: 639px) {
    .pagination {
        gap: 6px;
        padding: 20px 0 32px;
        row-gap: 8px;
    }
    .pagination a, .pagination span {
        padding: 6px 9px;
        font-size: 0.75rem;
    }
}
@media (max-width: 380px) {
    .pagination a, .pagination span {
        padding: 5px 7px;
        font-size: 0.7rem;
    }
}
.pagination a:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}
.pagination .active {
    background: var(--accent);
    color: var(--text-on-accent);
}
.pagination .disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ══════════════════════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════════════════════ */
.newsletter-section {
    padding: 80px 0;
}
.newsletter-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}
.newsletter-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.newsletter-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form select {
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 320px;
}
.footer h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer li a:hover { color: var(--accent-hover); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--accent-hover); }
.footer-contact {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-contact-email {
    color: var(--text-muted);
}
.footer-credit {
    margin: 0;
}
.footer-credit a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   MESSAGE PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.message-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 20px;
    animation: fadeUp 0.5s ease;
}
.message-page .icon-large { font-size: 4rem; margin-bottom: 20px; }
.message-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    max-width: 500px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════════════════════════ */
.dash-header {
    padding: 40px 0 24px;
}
.dash-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.dash-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 4px;
}

.dashboard-owner-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.dashboard-owner-nav__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.dashboard-owner-nav__link:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}
.dashboard-owner-nav__link.is-active {
    color: var(--accent-hover);
    background: var(--accent-glow);
}
.dashboard-owner-nav__spacer {
    flex: 1;
    min-width: 8px;
}
.dashboard-owner-nav__logout {
    margin: 0;
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}
.stat-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.stat-card .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}
.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dashboard Panels */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.dash-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    overflow: hidden;
}
.dash-panel h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-panel.full-width {
    grid-column: 1 / -1;
}

/* Security Level Badges */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}
.security-0 { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.security-1 { background: rgba(34, 197, 94, 0.1); color: #86efac; }
.security-2 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.security-3 { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.security-4 { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.security-5 { background: rgba(239, 68, 68, 0.1); color: #f87171; }

/* Technique Badge */
.technique-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}
.technique-scrapy { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.technique-playwright { background: rgba(168, 85, 247, 0.1); color: #c084fc; }
.technique-api { background: rgba(6, 182, 212, 0.1); color: #22d3ee; }
.technique-llm { background: rgba(236, 72, 153, 0.1); color: #f472b6; }

/* Dashboard Tables */
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.dash-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.72rem;
    border-bottom: 1px solid var(--border);
}
.dash-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg-glass); }

/* Progress Bars */
.progress-bar {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    overflow: hidden;
    margin-top: 4px;
}
.progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-fill.success { background: var(--success); }
.progress-fill.warning { background: var(--warning); }
.progress-fill.danger { background: var(--danger); }
.progress-fill.accent { background: var(--accent); }

/* Chart Container */
.chart-container {
    width: 100%;
    height: 260px;
    position: relative;
}

@media (max-width: 768px) {
    .dash-grid { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-3 { margin-bottom: 24px; }
.mt-3 { margin-top: 24px; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-accent { color: var(--accent-hover) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.fw-bold { font-weight: 700; }
.mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.82rem; }

/* Job Details Expandable Drawer */
.job-details-expand {
    margin: 0 16px 16px 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.job-details-expand summary {
    cursor: pointer;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
    list-style: none; /* Hide default arrow in some browsers */
}

/* Hide webkit default arrow */
.job-details-expand summary::-webkit-details-marker {
    display: none;
}

.job-details-expand[open] summary {
    margin-bottom: 12px;
}

.job-description-content {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}