/* =============================================
   HRM Group Australia - Main Stylesheet
   hrmgroup.com.au | allothost.com
   ============================================= */

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

:root {
    --primary: #1a6ef5;
    --primary-dark: #0f4fc7;
    --primary-light: #e8f0fe;
    --secondary: #ff6b35;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --bg-2: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Sora', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-text strong {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.nav-logo .logo-text span {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark-3);
    transition: all 0.2s;
}

.nav-menu a:hover { background: var(--bg); color: var(--primary); }
.nav-menu a.active { background: var(--primary-light); color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--dark);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(26,110,245,0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,110,245,0.4); }

.btn-secondary {
    background: var(--secondary);
    color: white;
}
.btn-secondary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 50%, #0f172a 100%);
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,110,245,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,110,245,0.15);
    border: 1px solid rgba(26,110,245,0.3);
    color: #7cb9f4;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero h1 span { color: var(--primary); position: relative; }

.hero p {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 820px;
    margin: 0 auto 16px;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    transition: all 0.2s;
    cursor: text;
}

.search-field:focus-within {
    border-color: var(--primary);
    background: var(--primary-light);
}

.search-field i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.search-field input,
.search-field select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}

.search-field input::placeholder { color: var(--gray-light); }

.search-divider {
    width: 1px;
    background: var(--border);
    margin: 8px 0;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    color: white;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}
.hero-stat span { color: #64748b; font-size: 12px; }

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* =============================================
   POPULAR SEARCHES
   ============================================= */
.popular-searches {
    padding: 24px 20px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}

.popular-searches .container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.popular-searches span {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    white-space: nowrap;
}

.search-tag {
    padding: 5px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--dark-3);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.search-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* =============================================
   SECTION STYLES
   ============================================= */
.section { padding: 60px 20px; }
.section-alt { background: var(--bg-2); }

.container { max-width: 1280px; margin: 0 auto; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
}

.section-header p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.view-all {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.view-all:hover { gap: 8px; }

/* =============================================
   JOB CARDS - BLUE THEME
   ============================================= */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 16px;
}

.job-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: all 0.25s;
    position: relative;
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.job-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, white 0%, #f0f6ff 100%);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.company-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo img { width: 100%; height: 100%; object-fit: contain; }

.job-title-wrap { flex: 1; }

.job-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.job-title:hover { color: var(--primary); }

.company-name {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #dcfce7; color: var(--success); }
.badge-orange { background: #fff7ed; color: var(--warning); }
.badge-purple { background: #f3e8ff; color: #7c3aed; }
.badge-featured { background: var(--primary); color: white; }
.badge-urgent { background: var(--secondary); color: white; }

.job-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.job-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray);
}

.job-info-item i { color: var(--primary); font-size: 13px; }

.job-salary {
    font-size: 15px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 12px;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.job-time {
    font-size: 12px;
    color: var(--gray-light);
}

.job-actions {
    display: flex;
    gap: 8px;
}

.save-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.2s;
    font-size: 14px;
}

.save-btn:hover, .save-btn.saved { border-color: var(--secondary); color: var(--secondary); background: #fff7ed; }

/* Absolute badges */
.card-badge-abs {
    position: absolute;
    top: 14px;
    right: 14px;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.category-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-card i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.category-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.category-card span {
    font-size: 12px;
    color: var(--gray);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.step-card p { font-size: 14px; color: var(--gray); }

/* =============================================
   COMPANY LOGOS
   ============================================= */
.companies-strip {
    overflow: hidden;
    padding: 30px 0;
}

.companies-scroll {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
}

.company-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: 600;
    color: var(--dark-3);
    font-size: 14px;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 14px;
}

.footer-brand p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s;
    font-size: 15px;
}

.social-link:hover { background: var(--primary); color: white; }

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: #64748b;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
    max-width: 1280px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

/* =============================================
   DASHBOARD SIDEBAR
   ============================================= */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--dark);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: white;
}

.sidebar-logo .logo-text strong {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.sidebar-logo .logo-text span {
    display: block;
    color: #475569;
    font-size: 11px;
}

.sidebar-nav { flex: 1; padding: 16px 12px; }

.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0 8px;
    margin: 14px 0 6px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.sidebar-nav a i { width: 18px; font-size: 15px; }

.sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.sidebar-nav a.active { background: var(--primary); color: white; }

.sidebar-nav a .badge-count {
    margin-left: auto;
    background: var(--secondary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}

.sidebar-user {
    padding: 14px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-info strong {
    display: block;
    color: white;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user-info span { color: #475569; font-size: 11px; }

.sidebar-user a { color: #64748b; font-size: 14px; }
.sidebar-user a:hover { color: white; }

.dashboard-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.topbar-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.notif-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray);
    font-size: 16px;
    position: relative;
    transition: all 0.2s;
}

.notif-btn:hover { border-color: var(--primary); color: var(--primary); }

.notif-dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    border: 2px solid white;
}

.dashboard-content { padding: 30px; flex: 1; }

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
}

.stat-card.green::before { background: var(--success); }
.stat-card.orange::before { background: var(--secondary); }
.stat-card.purple::before { background: #7c3aed; }

.stat-label { font-size: 13px; color: var(--gray); font-weight: 500; margin-bottom: 8px; }

.stat-value {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Tables */
.table-wrap {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-header h3 {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark);
}

table { width: 100%; border-collapse: collapse; }

th {
    padding: 12px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--dark-3);
    border-bottom: 1px solid var(--border);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }

/* Status Badges */
.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-active { background: #dcfce7; color: var(--success); }
.status-pending { background: #fef3c7; color: var(--warning); }
.status-rejected { background: #fee2e2; color: var(--danger); }
.status-closed { background: var(--bg-2); color: var(--gray); }

/* Forms */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-3);
    margin-bottom: 7px;
}

.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--dark);
    background: white;
    transition: all 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,110,245,0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-body { padding: 24px; }
.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark);
}

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo .logo-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 auto 10px;
}

.auth-logo h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.auth-logo p { color: var(--gray); font-size: 14px; }

.role-tabs {
    display: flex;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.role-tab {
    flex: 1;
    padding: 10px;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.role-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: #dcfce7; color: var(--success); border: 1px solid #86efac; }
.alert-danger { background: #fee2e2; color: var(--danger); border: 1px solid #fca5a5; }
.alert-info { background: var(--primary-light); color: var(--primary); border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: var(--warning); border: 1px solid #fde68a; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .jobs-grid { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; }
    .search-divider { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .sidebar { transform: translateX(-260px); transition: transform 0.3s; }
    .sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-left: 0; }
    .form-row { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-content { padding: 20px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-light); }

/* Misc */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
