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

/* ==================== ENHANCED CSS VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors */
    --primary-blue: #0d6efd;
    --primary-blue-hover: #0b5ed7;
    --primary-blue-dark: #0a58ca;
    --primary-blue-light: #e7f1ff;
    
    /* Success/Applicant Colors */
    --success-green: #10b981;
    --success-green-hover: #059669;
    --success-green-light: #d1fae5;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    
    /* Border & Shadows */
    --border-color: #e5e7eb;
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ==================== BASE STYLES ==================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--gray-50);
    transition: var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dark Theme */
body.dark-theme {
    --gray-50: #1a1a1a;
    --gray-100: #2d2d2d;
    --white: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border-color: #374151;
}

body.dark-theme .site-header {
    background: var(--primary-blue);
    border-bottom-color: var(--primary-blue-dark);
}

body.dark-theme .site-title {
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

body.dark-theme .tagline {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-theme .lang-btn,
body.dark-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

body.dark-theme .lang-btn:hover,
body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-theme .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

body.dark-theme .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sr-only {
    position: absolute !important;
    height: 1px; 
    width: 1px; 
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); 
    white-space: nowrap;
    border: 0; 
    padding: 0; 
    margin: -1px;
}

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

/* ==================== HEADER ==================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content, .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.site-logo-img {
    height: 32px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: -4px;
}

.header-actions, .right-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.lang-btn:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: none;
    overflow: hidden;
    z-index: 100;
}

.lang-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    color: var(--text-primary);
    text-align: left;
}

.lang-option:hover {
    background: var(--gray-50);
}

.flag-icon {
    font-size: 1.25rem;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

/* Header Buttons */
.btn-outline {
    padding: 8px 16px;
    border: 1px solid var(--primary-blue);
    border-radius: var(--border-radius-md);
    color: var(--primary-blue);
    background: transparent;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-blue-light);
}

.btn-primary, .btn {
    padding: 8px 20px;
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--white);
    background: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary:hover, .btn:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .right-nav .header-actions {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        border-top: 1px solid var(--border-color);
        padding: 1rem;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
    }
    
    .right-nav.open .header-actions {
        display: flex;
    }
}

/* ==================== HERO BANNER ==================== */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

.hero-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.btn-banner {
    padding: 6px 16px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.btn-banner:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-close-banner {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition-fast);
}

.btn-close-banner:hover {
    opacity: 0.8;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #fbbf24;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.promo-content p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #78350f;
    font-size: 0.95rem;
}

.promo-icon {
    font-size: 1.25rem;
}

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

.promo-cta-btn {
    padding: 6px 16px;
    border: none;
    border-radius: var(--border-radius-md);
    background: #f59e0b;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.promo-cta-btn:hover {
    background: #d97706;
}

.promo-close {
    background: transparent;
    border: none;
    color: #78350f;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition-fast);
    line-height: 1;
}

.promo-close:hover {
    opacity: 0.7;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Search Card */
.search-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.search-form {
    padding: 1.5rem;
}

.search-field {
    position: relative;
    margin-bottom: 1rem;
}

.search-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.search-actions {
    display: flex;
    gap: 12px;
    padding: 0 1.5rem 1.5rem;
}

.search-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--shadow-md);
}

.clear-filters-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.clear-filters-btn:hover {
    background: var(--gray-50);
}

/* Map/List View Section */
.map-section {
    background: var(--gray-50);
    padding: 3rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--border-radius-md);
}

.view-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-btn.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.view-btn:hover:not(.active) {
    color: var(--text-primary);
}

.map-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.list-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.results-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.results-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Trending Section */
.trending-section {
    background: var(--white);
    padding: 3rem 0;
}

.section-header-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    font-size: 2rem;
}

/* ==================== SEARCH SECTION ==================== */
.search-container {
    background: var(--white);
    padding: 2rem 0 3rem;
}

.search-form {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 0;
}

.search-input-group {
    position: relative;
    border-right: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.search-input-group:last-child {
    border-right: none;
}

.search-input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
}

.search-input-group input,
.search-input-group select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding-left: 2rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.search-input-group input::placeholder {
    color: var(--text-tertiary);
}

.search-actions {
    display: flex;
    gap: 12px;
    padding: 1rem;
    background: var(--gray-50);
}

.btn-search {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-search:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--shadow-md);
}

.btn-clear {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-clear:hover {
    background: var(--gray-50);
}

/* ==================== MAP/LIST VIEW TOGGLE ==================== */
.view-toggle-section {
    background: var(--white);
    padding: 2rem 0 1rem;
}

.view-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.view-toggle-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.view-toggle-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.view-toggle-buttons {
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--border-radius-md);
}

.btn-view {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-view:hover:not(.active) {
    color: var(--text-primary);
}

/* ==================== JOB LISTINGS ==================== */
.jobs-section {
    background: var(--white);
    padding: 2rem 0 4rem;
}

.jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.jobs-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.jobs-sort {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-listings, .job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 1.5rem;
}

/* Job Listings Grid */
.job-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Empty State Job Cards */
.empty-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 1.5rem;
}

.job-card-empty {
    background: var(--gray-100);
    border: 2px dashed var(--border-color);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.job-card-empty:hover {
    border-color: var(--gray-400);
    transform: none;
}

.empty-card-content {
    text-align: center;
    padding: 2rem;
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-tertiary);
}

.empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-text {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* Dark theme empty state */
body.dark-theme .job-card-empty {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .job-card-empty:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .empty-icon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .empty-title {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .empty-text {
    color: rgba(255, 255, 255, 0.5);
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-fast);
    position: relative;
}

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

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

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

.job-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.job-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.company-badge {
    background: var(--gray-100);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.job-meta-item i {
    color: var(--text-tertiary);
}

.job-type-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-type-badge.full-time {
    background: var(--primary-blue-light);
    color: var(--primary-blue);
}

.job-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.job-tags .tag {
    background: var(--gray-100);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.job-posted {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.job-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn-view-job, .view-job-btn {
    padding: 8px 20px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-job:hover, .view-job-btn:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--shadow-md);
}

.btn-like {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.btn-like:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-like.liked {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* ==================== CATEGORY BROWSE ==================== */
.category-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

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

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== AUTHENTICATION PAGES ==================== */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: var(--gray-50);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    text-align: center;
}

.auth-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.auth-avatar.applicant {
    background: var(--success-green);
}

.auth-avatar.employer {
    background: var(--primary-blue);
}

.auth-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle, .muted {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Auth Buttons */
.social-auth, .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.btn-social, .btn.social {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: left;
}

.btn-social:hover, .btn.social:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.divider, .or-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label, .auth-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.btn-auth, .btn.primary-btn, .btn.success-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 0.5rem;
}

.btn-auth-primary, .btn.primary-btn {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-auth-primary:hover, .btn.primary-btn:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--shadow-md);
}

.btn-auth-success, .btn.success-btn {
    background: var(--success-green);
    color: var(--white);
}

.btn-auth-success:hover, .btn.success-btn:hover {
    background: var(--success-green-hover);
    box-shadow: var(--shadow-md);
}

.auth-legal {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.auth-legal a {
    color: var(--primary-blue);
    text-decoration: none;
}

.auth-legal a:hover {
    text-decoration: underline;
}

.auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ==================== JOB DETAIL PAGE ==================== */
.job-detail-page {
    background: var(--gray-50);
    padding: 2rem 0 4rem;
}

.job-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.job-detail-main {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.job-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.job-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.job-detail-company {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.job-detail-company i {
    color: var(--text-secondary);
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1rem;
}

.job-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.job-detail-section {
    margin-bottom: 2rem;
}

.job-detail-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.job-detail-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.job-detail-section ul {
    list-style: none;
    padding: 0;
}

.job-detail-section li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.job-detail-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 600;
}

.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.profile-complete-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-complete-banner h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.profile-complete-banner p {
    color: #78350f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-complete-profile {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius-md);
    background: #f59e0b;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.btn-apply {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--success-green);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apply:hover {
    background: var(--success-green-hover);
    box-shadow: var(--shadow-md);
}

.btn-apply-secondary {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apply-secondary:hover {
    background: var(--gray-50);
}

.job-location-map {
    width: 100%;
    height: 250px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.btn-view-map {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary-blue);
    border-radius: var(--border-radius-md);
    background: transparent;
    color: var(--primary-blue);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-view-map:hover {
    background: var(--primary-blue-light);
}

/* Job Details List */
.job-details-list {
    list-style: none;
    padding: 0;
}

.job-details-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.job-details-list li:last-child {
    border-bottom: none;
}

.job-details-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.job-details-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Comments Section */
.comments-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.comments-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.btn-post-comment {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.rating-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-form {
    background: var(--gray-50);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rating-input {
    margin-bottom: 1rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 1.75rem;
    color: var(--gray-300);
    cursor: pointer;
}

.star-rating .star {
    transition: var(--transition-fast);
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #fbbf24;
}

.review {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .search-inputs {
        grid-template-columns: 1fr 1fr;
    }
    
    .job-listings {
        grid-template-columns: 1fr;
    }
    
    .job-detail-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .search-input-group {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .search-input-group:last-child {
        border-bottom: none;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none !important;
}
