/* ============================================
   UnderApplied.com — Bold & Colorful Theme
   ============================================ */

:root {
    --primary: #1D4ED8;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #F97316;
    --secondary-dark: #EA580C;
    --accent: #059669;
    --accent-dark: #047857;
    --pink: #E11D48;
    --yellow: #F59E0B;
    --cyan: #0891B2;
    --dark: #0F172A;
    --dark2: #1E293B;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
    --gradient-2: linear-gradient(135deg, #059669 0%, #0891B2 100%);
    --gradient-3: linear-gradient(135deg, #E11D48 0%, #F97316 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1D4ED8 50%, #3B82F6 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(29,78,216,0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}
ul { list-style: none; }

/* ============ NAVBAR ============ */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(29, 78, 216, 0.2);
}
.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.logo span { font-weight: 400; opacity: 0.8; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}
.nav-auth { display: flex; gap: 0.75rem; align-items: center; }
.nav-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    cursor: pointer;
    position: relative;
}
.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    padding: 0.5rem;
    display: none;
    z-index: 100;
}
.nav-dropdown.show { display: block; }
.nav-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--gray-700);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--gray-100); color: var(--primary); }
.nav-dropdown hr { border: none; border-top: 1px solid var(--gray-200); margin: 0.25rem 0; }
.mobile-toggle {
    display: none;
    background: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(29, 78, 216, 0.45);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-accent {
    background: var(--gradient-2);
    color: var(--dark);
    font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,214,160,0.4); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-danger { background: #EF4444; color: white; }
.btn-danger:hover { background: #DC2626; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }
.btn-ghost { background: none; color: var(--gray-600); }
.btn-ghost:hover { color: var(--primary); background: var(--gray-100); }

/* ============ HERO ============ */
.hero {
    background: var(--gradient-hero);
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,214,160,0.1) 0%, transparent 70%);
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -1.5px;
}
.hero h1 .highlight {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}
.hero-stat {
    text-align: center;
    color: var(--white);
}
.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }

/* ============ SEARCH BAR ============ */
.search-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    display: flex;
    gap: 0;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}
.search-bar .search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
}
.search-bar .search-field:not(:last-child) {
    border-right: 1px solid var(--gray-200);
}
.search-bar .search-field i { color: var(--gray-400); font-size: 1.1rem; }
.search-bar input, .search-bar select {
    border: none;
    background: none;
    width: 100%;
    color: var(--gray-800);
    font-size: 0.95rem;
}
.search-bar input::placeholder { color: var(--gray-400); }
.search-bar select { cursor: pointer; color: var(--gray-500); }
.search-bar .btn { border-radius: 14px; padding: 0.9rem 2rem; }

/* ============ SECTIONS ============ */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}
.section-header p { color: var(--gray-500); font-size: 1.1rem; }
.section-header .accent-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ============ JOB CARDS ============ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}
.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29,78,216,0.2);
}
.job-card:hover::before { opacity: 1; }
.job-card.featured { border-color: rgba(29,78,216,0.3); }
.job-card.featured::before { opacity: 1; background: var(--gradient-3); }
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.job-card-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.company-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
}
.company-info h4 { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }
.company-info span { font-size: 0.75rem; color: var(--gray-400); }
.job-card-save {
    background: none;
    color: var(--gray-400);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.3rem;
}
.job-card-save:hover, .job-card-save.saved { color: var(--pink); }
.job-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.job-card h3 a:hover { color: var(--primary); }
.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.job-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}
.job-meta-tag i { font-size: 0.75rem; }
.job-card-salary {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.job-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.job-tag.type-full-time { background: rgba(29,78,216,0.1); color: var(--primary); }
.job-tag.type-part-time { background: rgba(249,115,22,0.1); color: var(--secondary); }
.job-tag.type-contract { background: rgba(6,214,160,0.1); color: var(--accent-dark); }
.job-tag.type-remote { background: rgba(0,212,255,0.1); color: #0099CC; }
.job-tag.type-internship { background: rgba(255,209,102,0.15); color: #B8860B; }
.job-tag.type-freelance { background: rgba(255,20,147,0.1); color: var(--pink); }
.job-tag.source {
    background: rgba(0,0,0,0.05);
    color: var(--gray-500);
    font-size: 0.7rem;
}
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.job-card-footer .time {
    font-size: 0.8rem;
    color: var(--gray-400);
}
.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-3);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ CATEGORIES ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.category-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.category-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.category-card span { font-size: 0.8rem; color: var(--gray-400); }

/* Image-backed Category Cards */
.category-card-img {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0;
    height: 200px;
    border-radius: var(--radius-lg);
}
.category-card-img .category-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card-img:hover .category-card-bg {
    transform: scale(1.08);
}
.category-card-img .category-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.category-card-img .category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    text-align: left;
}
.category-card-img h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.category-card-img span {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.category-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.category-icon-circle i {
    font-size: 1rem;
    color: white;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
}

/* ============ FORMS & AUTH ============ */
.auth-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--gradient-hero);
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
}
.auth-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.auth-card p { color: var(--gray-500); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.role-option {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.role-option:hover { border-color: var(--primary-light); }
.role-option.active { border-color: var(--primary); background: rgba(29,78,216,0.05); }
.role-option i { font-size: 1.5rem; margin-bottom: 0.4rem; display: block; color: var(--primary); }
.role-option span { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ============ DASHBOARD ============ */
.dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}
.sidebar {
    background: var(--dark);
    padding: 2rem 0;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1rem;
}
.sidebar-header h3 { color: var(--white); font-size: 1rem; font-weight: 700; }
.sidebar-header p { color: var(--gray-400); font-size: 0.8rem; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.sidebar-nav a.active {
    color: var(--white);
    background: rgba(29,78,216,0.1);
    border-left-color: var(--primary);
}
.sidebar-nav a i { font-size: 1.1rem; width: 20px; text-align: center; }
.dashboard-content { padding: 2rem; background: var(--gray-50); overflow-y: auto; }
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.dashboard-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--dark); }

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}
.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.stat-card .stat-icon.purple { background: rgba(29,78,216,0.1); color: var(--primary); }
.stat-card .stat-icon.green { background: rgba(6,214,160,0.1); color: var(--accent-dark); }
.stat-card .stat-icon.orange { background: rgba(249,115,22,0.1); color: var(--secondary); }
.stat-card .stat-icon.pink { background: rgba(255,20,147,0.1); color: var(--pink); }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.2rem; }

/* Data Table */
.data-table {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.data-table table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.data-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}
.status-badge.pending { background: rgba(255,209,102,0.15); color: #B8860B; }
.status-badge.reviewed { background: rgba(0,212,255,0.1); color: #0099CC; }
.status-badge.shortlisted { background: rgba(29,78,216,0.1); color: var(--primary); }
.status-badge.interview { background: rgba(249,115,22,0.1); color: var(--secondary); }
.status-badge.offered { background: rgba(6,214,160,0.1); color: var(--accent-dark); }
.status-badge.rejected { background: rgba(239,68,68,0.1); color: #DC2626; }
.status-badge.active { background: rgba(6,214,160,0.1); color: var(--accent-dark); }
.status-badge.inactive { background: rgba(107,114,128,0.1); color: var(--gray-500); }

/* ============ JOB DETAIL ============ */
.job-detail-page { max-width: 900px; margin: 0 auto; padding: 2rem; }
.job-detail-header {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
}
.job-detail-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.job-detail-body {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
}
.job-detail-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}
.job-detail-body h3:first-child { margin-top: 0; }
.job-detail-body p, .job-detail-body ul {
    color: var(--gray-600);
    line-height: 1.8;
}
.job-detail-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 90px;
}
.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}
.modal-overlay.show { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
}
.modal h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; }

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination button {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.9rem; transition: var(--transition); }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

/* ============ ALERTS ============ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.alert-success { background: rgba(6,214,160,0.1); color: var(--accent-dark); border: 1px solid rgba(6,214,160,0.2); }
.alert-error { background: rgba(239,68,68,0.1); color: #DC2626; border: 1px solid rgba(239,68,68,0.2); }
.alert-info { background: rgba(0,212,255,0.1); color: #0099CC; border: 1px solid rgba(0,212,255,0.2); }

/* ============ LOADING ============ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .job-detail-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .dashboard { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .sidebar.show { display: block; position: fixed; z-index: 100; left: 0; top: 70px; bottom: 0; width: 260px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; }
    .search-bar { flex-direction: column; }
    .search-bar .search-field { border-right: none !important; border-bottom: 1px solid var(--gray-200); }
    .search-bar .search-field:last-of-type { border-bottom: none; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .jobs-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 1.8rem; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
}

/* ============ MISC ============ */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.divider { height: 1px; background: var(--gray-200); margin: 2rem 0; }
.visually-hidden { position: absolute; clip: rect(0,0,0,0); height: 1px; width: 1px; overflow: hidden; }
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    align-items: center;
}
.filter-bar select, .filter-bar input {
    padding: 0.6rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: var(--transition);
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); }
.filter-count { font-size: 0.9rem; color: var(--gray-500); }
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid #EF4444; }

/* ============ QUICK APPLY & BULK APPLY ============ */
.bulk-select-check {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bulk-select-check input { display: none; }
.bulk-select-check .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.bulk-select-check .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}
.bulk-select-check input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}
.bulk-select-check input:checked + .checkmark::after { opacity: 1; }
.bulk-select-check:hover .checkmark { border-color: var(--primary-light); }

.job-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(29,78,216,0.15), var(--shadow);
    background: rgba(29,78,216,0.02);
}
.job-card { position: relative; }

.quick-apply-btn {
    font-size: 0.78rem !important;
    padding: 0.4rem 0.8rem !important;
}

/* Floating Bulk Apply Bar */
.bulk-apply-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 2px solid var(--primary);
    padding: 0.75rem 2rem;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
.bulk-apply-bar.show { transform: translateY(0); }
.bulk-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.bulk-bar-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
}
.bulk-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
}
.bulk-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bulk-bar-actions .btn-ghost { color: var(--gray-400); }
.bulk-bar-actions .btn-ghost:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.bulk-apply-trigger {
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(6,214,160,0.3); }
    50% { box-shadow: 0 4px 25px rgba(6,214,160,0.6); }
}

@media (max-width: 768px) {
    .bulk-bar-inner { flex-direction: column; text-align: center; }
    .bulk-bar-actions { flex-wrap: wrap; justify-content: center; }
    .bulk-select-check { top: 8px; left: 8px; }
}

/* ============ PREMIUM REDESIGN ============ */

/* Nav Logo */
.nav-logo-img {
    height: 32px;
    width: auto;
}
.navbar-premium {
    background: rgba(26, 26, 46, 0.97);
    border-bottom: 1px solid rgba(29, 78, 216, 0.15);
}

/* Premium Hero */
.hero-premium {
    position: relative;
    padding: 8rem 2rem 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(29,78,216,0.85) 50%, rgba(59,130,246,0.75) 100%);
    z-index: 1;
}
.hero-premium .hero-content {
    z-index: 2;
    max-width: 1000px;
}
.hero-premium::before,
.hero-premium::after { display: none; }

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
}
.search-bar.glass-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.6rem;
    max-width: 850px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* Hero Trust Bar */
.hero-trust {
    margin-top: 3rem;
    text-align: center;
}
.trust-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.trust-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 1px;
}

/* Section Premium Styling */
.section-premium {
    padding: 6rem 2rem;
    max-width: 100%;
}
.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.section-alt {
    background: var(--white);
}
.section-tag {
    display: inline-block;
    background: rgba(29,78,216,0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}
.section-header p {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}
.accent-line { display: none; }

/* How It Works Steps */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.step-card {
    flex: 1;
    max-width: 340px;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.step-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}
.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: var(--white);
}
.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.step-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.65;
}
.step-connector {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--gray-300);
    font-size: 1.5rem;
    margin-top: 4rem;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    padding: 5rem 2rem;
    overflow: hidden;
}
.stats-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stats-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.93) 0%, rgba(29,78,216,0.9) 100%);
}
.stats-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}
.stat-block-num {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.stat-block-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Section */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}
.feature-text p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}
.feature-list i {
    color: var(--accent);
    font-size: 1.1rem;
}
.feature-image {
    position: relative;
}
.feature-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    width: 100%;
}
.feature-float-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-200);
    animation: float 3s ease-in-out infinite;
}
.feature-float-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}
.feature-float-card span {
    font-size: 0.8rem;
    color: var(--gray-400);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.testimonial-stars {
    color: var(--yellow);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.15rem;
}
.testimonial-card > p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 700;
}
.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Premium CTA */
.cta-premium {
    position: relative;
    padding: 7rem 2rem;
    text-align: center;
    overflow: hidden;
}
.cta-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(29,78,216,0.88) 50%, rgba(59,130,246,0.8) 100%);
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.cta-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Btn Glass & XL */
.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}
.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Footer Premium */
.footer-premium {
    background: linear-gradient(180deg, var(--dark) 0%, #0D0D1A 100%);
    padding: 5rem 2rem 2rem;
}
.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.footer-logo-img {
    height: 36px;
    width: auto;
}
.footer-premium .footer-brand .footer-social {
    margin-top: 1.5rem;
}
.footer-legal {
    display: flex;
    gap: 0.5rem;
}
.footer-legal a {
    color: var(--gray-500);
    transition: var(--transition);
}
.footer-legal a:hover {
    color: var(--white);
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entry animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: animateIn 0.8s ease-out forwards;
}
.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.25s; }
.animate-in:nth-child(3) { animation-delay: 0.4s; }
.animate-in:nth-child(4) { animation-delay: 0.55s; }
.animate-in:nth-child(5) { animation-delay: 0.7s; }
.animate-in:nth-child(6) { animation-delay: 0.85s; }
@keyframes animateIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Responsive */
@media (max-width: 1024px) {
    .feature-split { grid-template-columns: 1fr; gap: 3rem; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .stats-banner-content { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3.5rem; }
    .step-connector { display: none; }
}
@media (max-width: 768px) {
    .hero-premium { min-height: 70vh; padding: 6rem 1.5rem 4rem; }
    .hero-title { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1.05rem; }
    .section-header h2 { font-size: 2rem; }
    .section-premium { padding: 4rem 1.5rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-banner-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stat-block-num { font-size: 2.5rem; }
    .cta-content h2 { font-size: 2rem; }
    .feature-image { order: -1; }
    .feature-float-card { left: 10px; bottom: -10px; }
    .trust-logos { gap: 1.5rem; }
    .trust-logo { font-size: 0.9rem; }
    .steps-grid { flex-direction: column; align-items: center; }
    .nav-logo-img { height: 26px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .stats-banner-content { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .trust-logos { flex-direction: column; gap: 0.75rem; }
}

/* ============ PLATFORMS STRIP ============ */
.platforms-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1.75rem 2rem;
    overflow: hidden;
}
.platforms-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.platforms-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    white-space: nowrap;
}
.platforms-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.platform-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    transition: var(--transition);
}
.platform-logo:hover {
    color: var(--dark);
}
.platform-logo i {
    font-size: 1.1rem;
}

/* ============ STEP CARD IMAGES ============ */
.step-card {
    overflow: hidden;
}
.step-card-img {
    display: block;
    width: calc(100% + 4rem);
    height: 150px;
    object-fit: cover;
    margin: -2.5rem -2rem 1.5rem -2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ============ FEATURES GRID ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============ REVERSE FEATURE SPLIT ============ */
.feature-split-reverse {
    direction: rtl;
}
.feature-split-reverse > * {
    direction: ltr;
}

/* ============ ENHANCED JOB CARD ELEMENTS ============ */
.source-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    flex-shrink: 0;
}
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--primary);
    background: rgba(29,78,216,0.06);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}
.skill-tag i {
    font-size: 0.6rem;
    opacity: 0.6;
}
.job-card-salary i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}
.company-info span i {
    font-size: 0.65rem;
    margin-right: 0.15rem;
}

/* ============ ADDITIONAL RESPONSIVE ============ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-split-reverse { direction: ltr; }
}
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .platforms-logos { gap: 1.2rem; }
    .platform-logo { font-size: 0.8rem; }
    .step-card-img { height: 120px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .category-card-img { height: 160px; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr !important; }
    .platforms-inner { flex-direction: column; gap: 1rem; }
}

/* ============ PRICING PAGE ============ */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, #ec4899 100%);
    color: #fff;
    padding: 5rem 1rem 3rem;
    text-align: center;
}
.pricing-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.pricing-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    backdrop-filter: blur(10px);
}
.toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.toggle-label.active, .toggle-label:first-child { opacity: 1; }
.save-badge {
    background: #fbbf24;
    color: #1a1a2e;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.25rem;
}
.pricing-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}
.pricing-toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 26px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.pricing-toggle input:checked + .toggle-slider { background: rgba(255,255,255,0.5); }
.pricing-toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.pricing-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-section-title i { color: var(--primary); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.plan-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 8px 30px rgba(99,102,241,0.15);
}
.plan-current {
    border-color: var(--success);
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}
.plan-badge-current {
    background: linear-gradient(135deg, var(--success), #059669);
}

.plan-header { margin-bottom: 1rem; }
.plan-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.25rem; }
.plan-desc { color: var(--gray-500); font-size: 0.9rem; }

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}
.price-currency { font-size: 1.5rem; font-weight: 700; color: var(--gray-600); }
.price-amount { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--gray-900); }
.price-period { font-size: 0.95rem; color: var(--gray-500); margin-left: 0.25rem; }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}
.plan-features li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.plan-features li i { color: var(--success); margin-top: 0.15rem; flex-shrink: 0; }

.plan-action { margin-top: auto; }
.btn-block { width: 100%; }

/* ============ FAQ ============ */
.faq-list { text-align: left; margin-top: 2rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}
.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.faq-item h4 i { color: var(--primary); font-size: 0.9rem; }
.faq-item p { color: var(--gray-600); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ============ SUBSCRIPTION PAGE ============ */
.sub-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
}
.sub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}
.sub-plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 0.75rem;
}
.sub-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}
.sub-status.active { background: #dcfce7; color: #166534; }
.sub-status.free { background: var(--gray-100); color: var(--gray-600); }
.sub-period { color: var(--gray-500); font-size: 0.9rem; }

.sub-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.limit-item {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1rem;
}
.limit-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}
.limit-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
}
.limit-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}
.limit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    border-radius: 3px;
    transition: width 0.3s;
}

.sub-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.btn-danger-outline {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-danger-outline:hover { background: #fef2f2; }
.sub-cancel-notice {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============ PAYMENT SUCCESS ============ */
.payment-success-section { min-height: 60vh; display: flex; align-items: center; }
.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 1rem;
    animation: successPop 0.5s ease;
}
@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.payment-success-text {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ============ UPGRADE MODAL ============ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s;
}
.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: var(--gray-700); }
.upgrade-modal { text-align: center; }
.upgrade-modal-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}
.upgrade-modal h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.upgrade-modal p { color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.6; }
.upgrade-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

/* Data tables for payment history */
.data-table { overflow-x: auto; }
.data-table table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-badge.status-succeeded, .status-badge.active { background: #dcfce7; color: #166534; }
.status-badge.status-pending { background: #fef3c7; color: #92400e; }
.status-badge.status-failed { background: #fef2f2; color: #991b1b; }
.status-badge.inactive { background: var(--gray-100); color: var(--gray-600); }

/* ============ APPLIES BANNER ============ */
.applies-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(124,58,237,0.06));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.applies-banner.applies-low {
    background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(249,115,22,0.06));
    border-color: rgba(239,68,68,0.2);
}
.applies-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    flex: 1;
}
.applies-info i { color: var(--primary); }
.applies-low .applies-info i { color: #ef4444; }
.applies-bar {
    width: 120px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}
.applies-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    border-radius: 3px;
    transition: width 0.3s;
}
.applies-low .applies-bar-fill { background: linear-gradient(90deg, #ef4444, #f97316); }

/* ============ PRO BADGES ============ */
.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-left: 0.35rem;
}
.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
}

/* ============ ANALYTICS ============ */
.analytics-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
}
.analytics-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.analytics-card h3 i { color: var(--primary); }

.status-bar-item { margin-bottom: 0.75rem; }
.status-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--gray-700);
}
.status-bar-track {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}
.status-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.top-jobs-list { display: flex; flex-direction: column; gap: 0.75rem; }
.top-job-row {
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 10px;
}
.top-job-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.top-job-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}
.top-job-stats i { color: var(--primary); margin-right: 0.15rem; }

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 140px;
    padding-top: 10px;
    overflow-x: auto;
}
.chart-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 24px;
    flex: 1;
}
.chart-bar {
    width: 100%;
    max-width: 30px;
    background: linear-gradient(180deg, var(--primary), #7c3aed);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}
.chart-label {
    font-size: 0.55rem;
    color: var(--gray-400);
    margin-top: 4px;
    white-space: nowrap;
}

.upgrade-prompt {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px dashed var(--gray-200);
}
.upgrade-prompt-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}
.upgrade-prompt h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.upgrade-prompt p { color: var(--gray-500); margin-bottom: 1.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============ JOB ALERTS ============ */
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.alert-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow 0.2s;
}
.alert-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.alert-inactive { opacity: 0.6; }
.alert-card-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.alert-card-header p {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.alert-freq {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 0.5rem;
}
.alert-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

/* ============ AI COVER LETTER ============ */
.ai-cover-btn {
    float: right;
    font-size: 0.75rem !important;
    padding: 0.2rem 0.6rem !important;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.1)) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(99,102,241,0.2) !important;
    border-radius: 100px !important;
}
.ai-cover-btn:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2)) !important;
}

@media (max-width: 768px) {
    .pricing-hero h1 { font-size: 2rem; }
    .plans-grid { grid-template-columns: 1fr; }
    .sub-limits { grid-template-columns: 1fr; }
    .sub-card-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .sub-actions { flex-direction: column; }
    .applies-banner { flex-direction: column; align-items: stretch; }
    .applies-bar { width: 100%; }
    .analytics-grid { grid-template-columns: 1fr !important; }
    .alerts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VIRAL FEATURES — Salaries, Companies, Matches, Referrals,
   Resources, Reviews
   ============================================================ */

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

/* ---------- back link ---------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.back-link:hover { color: var(--primary); }

/* ---------- btn-text ---------- */
.btn-text {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius);
}
.btn-text:hover { color: var(--primary); background: rgba(29,78,216,0.06); }

/* ---------- data-table-wrap ---------- */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); background: var(--white); }
.data-table-wrap .data-table { border: none; }

/* ============ SALARY PAGES ============ */
.salary-hero {
    background: linear-gradient(135deg, #059669 0%, #06D6A0 50%, #00D4FF 100%);
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.salary-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.salary-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    letter-spacing: -1px;
}
.salary-hero h1 i { margin-right: 0.5rem; }
.salary-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* salary search bar */
.salary-search {
    display: flex;
    gap: 0;
    border-radius: var(--radius-lg);
    max-width: 750px;
    margin: 0 auto;
    padding: 0.4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.salary-search.glass-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.3);
}
.salary-search .search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}
.salary-search .search-field:not(:last-child) {
    border-right: 1px solid var(--gray-200);
}
.salary-search .search-field i { color: var(--gray-400); }
.salary-search input {
    border: none;
    background: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--gray-800);
}
.salary-search input::placeholder { color: var(--gray-400); }
.salary-search .btn { border-radius: 14px; padding: 0.8rem 1.5rem; white-space: nowrap; }

/* salary cards grid */
.salary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}
.salary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.salary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6,214,160,0.3);
}
.salary-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}
.salary-card-header .salary-card-location,
.salary-card-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.salary-card-range {
    margin: 1.25rem 0 1rem;
}
.salary-bar-track {
    height: 10px;
    background: var(--gray-100);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.salary-bar-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    border-radius: 5px;
    min-width: 20px;
}
.salary-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}
.salary-median {
    color: var(--accent-dark);
    font-weight: 700;
}
.salary-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

/* salary CTA banner */
.salary-cta-banner {
    background: linear-gradient(135deg, rgba(6,214,160,0.08), rgba(0,212,255,0.08));
    border: 1px solid rgba(6,214,160,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.salary-cta-banner h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.salary-cta-banner p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin: 0;
}

/* salary detail hero */
.salary-detail-hero {
    background: linear-gradient(135deg, #0F172A 0%, #059669 100%);
    padding: 4rem 2rem 3rem;
    color: var(--white);
}
.salary-detail-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}
.salary-detail-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.salary-detail-hero .back-link { color: rgba(255,255,255,0.6); }
.salary-detail-hero .back-link:hover { color: white; }

/* overview cards */
.salary-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.salary-overview-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}
.salary-overview-card.highlight {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}
.salary-overview-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.salary-overview-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
}

/* level salary cards */
.level-salary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.level-salary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.level-salary-card:hover { box-shadow: var(--shadow); }
.level-salary-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.level-salary-range {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
}
.level-salary-median {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.35rem;
}
.level-salary-card small { color: var(--gray-400); font-size: 0.8rem; }

/* trending grid */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.trending-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.trending-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.trending-title { font-weight: 700; color: var(--dark); font-size: 1rem; }
.trending-salary { color: var(--accent-dark); font-weight: 700; font-size: 0.95rem; }
.trending-count { color: var(--gray-400); font-size: 0.8rem; }

/* ============ COMPANIES ============ */
.companies-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, #ec4899 100%);
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.companies-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.companies-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    letter-spacing: -1px;
}
.companies-hero h1 i { margin-right: 0.5rem; }
.companies-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* industry filter */
.industry-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.filter-chip {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.filter-chip:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* company cards */
.company-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}
.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29,78,216,0.2);
}
.company-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.company-card-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.company-card-logo span {
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
}
.company-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.15rem;
}
.company-card-industry {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.company-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.company-card-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.company-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}
.company-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* stars */
.stars-display {
    display: inline-flex;
    gap: 0.1rem;
    font-size: 0.85rem;
}
.stars-display.small { font-size: 0.75rem; }
.star-filled { color: var(--yellow); }
.star-empty { color: var(--gray-300); }
.rating-number {
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
}
.review-count {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============ COMPANY DETAIL ============ */
.company-detail-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 4rem 2rem 3rem;
    color: var(--white);
}
.company-detail-hero .back-link { color: rgba(255,255,255,0.6); }
.company-detail-hero .back-link:hover { color: white; }
.company-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.company-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.company-detail-logo span {
    color: var(--white);
    font-weight: 900;
    font-size: 2rem;
}
.company-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-detail-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.company-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}
.company-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.company-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.company-detail-rating .stars-display { font-size: 1rem; }
.rating-big {
    font-size: 1.6rem;
    font-weight: 900;
}
.recommend-badge {
    background: rgba(6,214,160,0.2);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* company detail layout */
.company-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
.company-main { min-width: 0; }
.company-sidebar { position: sticky; top: 90px; }

/* company about */
.company-about {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.company-about h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.company-about p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* tech stack & perks */
.company-tech, .company-perks {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.company-tech h3, .company-perks h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.company-tech h3 i { color: var(--primary); }
.company-perks h3 i { color: var(--secondary); }
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-tag {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(29,78,216,0.08);
    color: var(--primary);
}
.perk-tag {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(249,115,22,0.08);
    color: var(--secondary);
}

/* reviews section */
.reviews-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}
.reviews-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}
.review-card {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.review-card:last-child { border-bottom: none; }
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.review-card-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.3rem;
}
.review-role {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.75rem;
}
.review-body {
    margin-bottom: 0.75rem;
}
.review-pros, .review-cons {
    margin-bottom: 0.75rem;
}
.review-pros strong, .review-cons strong {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}
.review-pros strong { color: var(--accent-dark); }
.review-cons strong { color: #DC2626; }
.review-pros p, .review-cons p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.review-date {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* rating breakdown sidebar */
.rating-breakdown {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
}
.rating-breakdown h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
}
.rating-bar-row {
    display: grid;
    grid-template-columns: 100px 1fr 35px;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}
.rating-bar-row span:first-child {
    color: var(--gray-600);
    font-weight: 500;
}
.rating-bar-row span:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--dark);
}
.rating-bar-track {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    border-radius: 4px;
    transition: width 0.5s;
}

/* company jobs sidebar */
.company-jobs-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    margin-top: 1.25rem;
}
.company-jobs-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.company-jobs-sidebar h3 i { color: var(--primary); }
.company-job-link {
    display: block;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 0.25rem;
}
.company-job-link:hover { background: var(--gray-50); }
.company-job-link strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.15rem;
}
.company-job-link small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* write review form */
.review-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}
.review-form input[type="text"],
.review-form input[type="number"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.review-form textarea { min-height: 100px; resize: vertical; }

/* star input ratings */
.rating-inputs {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.rating-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}
.rating-input-row label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin: 0 !important;
}
.star-input {
    display: flex;
    gap: 0.3rem;
    font-size: 1.3rem;
    cursor: pointer;
}
.star-input i {
    transition: var(--transition);
    color: var(--gray-300);
}
.star-input i.star-filled { color: var(--yellow); }
.star-input i:hover { transform: scale(1.2); }

/* ============ DAILY MATCHES ============ */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}
.dashboard-sidebar {
    background: var(--dark);
    padding: 2rem 0;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.dashboard-main {
    padding: 2rem;
    background: var(--gray-50);
    overflow-y: auto;
}
.dashboard-main h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

/* sidebar user */
.sidebar-user {
    text-align: center;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1rem;
}
.sidebar-user .user-avatar,
.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
}
.sidebar-user h3 { color: var(--white); font-size: 1rem; font-weight: 700; }
.sidebar-user p { color: var(--gray-400); font-size: 0.8rem; }

/* sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.sidebar-link.active {
    color: var(--white);
    background: rgba(29,78,216,0.1);
    border-left-color: var(--primary);
}
.sidebar-link i { font-size: 1.1rem; width: 20px; text-align: center; }

/* matches grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}
.match-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}
.match-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(29,78,216,0.2);
}
.match-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-1);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}
.match-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.match-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.15rem;
}
.match-card-header h3 a { cursor: pointer; transition: var(--transition); }
.match-card-header h3 a:hover { color: var(--primary); }
.match-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.match-card-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.salary-transparent-badge {
    background: rgba(6,214,160,0.1);
    color: var(--accent-dark);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.78rem;
}
.match-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.match-reason-tag {
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(29,78,216,0.08);
    color: var(--primary);
}
.match-card-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

/* preferences form */
.preferences-form .form-group {
    margin-bottom: 1.25rem;
}
.preferences-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}
.preferences-form input[type="text"],
.preferences-form input[type="number"],
.preferences-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}
.preferences-form input:focus,
.preferences-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.preferences-form small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============ REFERRALS ============ */
.referral-share-card {
    background: linear-gradient(135deg, rgba(29,78,216,0.06), rgba(249,115,22,0.06));
    border: 1px solid rgba(29,78,216,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.referral-share-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.referral-link-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.referral-url-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--white);
    color: var(--gray-600);
}
.referral-share-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* referral stats */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.referral-stats-grid .stat-card {
    text-align: center;
    padding: 1.5rem;
}
.referral-stats-grid .stat-number,
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

/* referral rewards info */
.referral-rewards-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.referral-rewards-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.referral-rewards-info h3 i { color: var(--yellow); }
.rewards-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.reward-step {
    text-align: center;
    padding: 1rem 1.5rem;
    flex: 1;
    min-width: 120px;
}
.reward-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.2rem;
    color: var(--white);
}
.reward-step h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.2rem;
}
.reward-step p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}
.reward-step-arrow {
    color: var(--gray-300);
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

/* leaderboard */
.referral-leaderboard {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.referral-leaderboard h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}
.leaderboard-item:hover { background: var(--gray-100); }
.leaderboard-item.top-1 { background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.2); }
.leaderboard-item.top-2 { background: rgba(192,192,192,0.08); border: 1px solid rgba(192,192,192,0.2); }
.leaderboard-item.top-3 { background: rgba(205,127,50,0.08); border: 1px solid rgba(205,127,50,0.2); }
.lb-rank {
    width: 30px;
    text-align: center;
    font-weight: 800;
    color: var(--gray-500);
    font-size: 0.9rem;
}
.lb-name {
    flex: 1;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}
.lb-count {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============ CAREER RESOURCES ============ */
.resources-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.resources-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.resources-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    letter-spacing: -1px;
}
.resources-hero h1 i { margin-right: 0.5rem; }
.resources-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
}

/* resource type tabs */
.resource-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* resource cards grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.resource-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.2);
}
.resource-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.resource-type-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.resource-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.resource-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.resource-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}
.resource-card-footer span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* resource detail body */
.resource-body {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}
.resource-body h2, .resource-body h3 {
    color: var(--dark);
    margin: 2rem 0 0.75rem;
    font-weight: 700;
}
.resource-body h2 { font-size: 1.5rem; }
.resource-body h3 { font-size: 1.2rem; }
.resource-body p { margin-bottom: 1rem; }
.resource-body ul, .resource-body ol {
    margin: 0.75rem 0 1rem 1.5rem;
}
.resource-body li { margin-bottom: 0.4rem; }

/* coming soon cards */
.coming-soon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.coming-soon-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.coming-soon-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.coming-soon-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}
.coming-soon-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}
.coming-soon-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* badge helper (used in referral history) */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-pending { background: rgba(255,209,102,0.15); color: #B8860B; }
.badge-offered { background: rgba(6,214,160,0.1); color: var(--accent-dark); }
.badge-interview { background: rgba(249,115,22,0.1); color: var(--secondary); }

/* ============ VIRAL FEATURES RESPONSIVE ============ */
@media (max-width: 1024px) {
    .company-detail-layout { grid-template-columns: 1fr; }
    .company-sidebar { position: static; }
    .salary-overview-cards { grid-template-columns: 1fr 1fr; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: none; }
    .referral-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .salary-hero h1, .companies-hero h1, .resources-hero h1 { font-size: 2rem; }
    .salary-search { flex-direction: column; }
    .salary-search .search-field { border-right: none !important; border-bottom: 1px solid var(--gray-200); }
    .salary-search .search-field:last-of-type { border-bottom: none; }
    .salary-cards-grid, .company-cards-grid, .matches-grid, .resources-grid { grid-template-columns: 1fr; }
    .salary-cta-banner { flex-direction: column; text-align: center; }
    .salary-overview-cards { grid-template-columns: 1fr; }
    .level-salary-grid { grid-template-columns: 1fr 1fr; }
    .trending-grid { grid-template-columns: 1fr; }
    .company-detail-header { flex-direction: column; align-items: flex-start; }
    .rating-bar-row { grid-template-columns: 80px 1fr 30px; }
    .referral-link-row { flex-direction: column; }
    .referral-stats-grid { grid-template-columns: 1fr 1fr; }
    .rewards-steps { flex-direction: column; gap: 0.5rem; }
    .reward-step-arrow { transform: rotate(90deg); padding: 0.25rem; }
    .coming-soon-cards { grid-template-columns: 1fr 1fr; }
    .industry-filter { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
    .resource-type-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
}
@media (max-width: 480px) {
    .salary-hero h1, .companies-hero h1, .resources-hero h1 { font-size: 1.6rem; }
    .level-salary-grid { grid-template-columns: 1fr; }
    .referral-stats-grid { grid-template-columns: 1fr; }
    .coming-soon-cards { grid-template-columns: 1fr; }
    .rating-input-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============ TOGGLE SWITCH ============ */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 26px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* ============ STATUS BADGES ============ */
.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}
.status-badge.expired {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}
.status-badge.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
