/* ==========================================
   KARIYER (CAREER) PAGE - PROFESSIONAL MODERN DESIGN
   Inspired by kariyer.net with Custom Color Palette
   ========================================== */

/* ==========================================
   0. COLOR PALETTE & DESIGN TOKENS
   ========================================== */

:root {
    /* Primary Blue Palette */
    --primary-50: #E9EBF5;
    --primary-100: #CADDF6;
    --primary-200: #9EC1EF;
    --primary-300: #72A5E8;
    --primary-400: #4689E1;
    --primary-500: #226ED2;
    --primary-600: #1B57A6;
    --primary-700: #14407A;
    --primary-800: #0D294E;
    --primary-900: #061222;
    
    /* Brand Colors */
    --brand-primary: #1B57A6;
    --brand-secondary: #4689E1;
    --brand-accent: #226ED2;
    --brand-light: #E9EBF5;
    --brand-dark: #061222;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Palette */
    --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;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(27, 87, 166, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(27, 87, 166, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(27, 87, 166, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(27, 87, 166, 0.15);
    --shadow-2xl: 0 25px 50px -12px rgba(27, 87, 166, 0.25);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

/* ==========================================
   1. HEADER CONSISTENCY - ENSURE SAME AS OTHER PAGES
   ========================================== */

.navbar-modern {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-bottom: 1px solid rgba(27, 87, 166, 0.1) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06) !important;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 1px solid rgba(27, 87, 166, 0.12) !important;
}

/* ==========================================
   2. HERO SECTION - MODERN CLEAN DESIGN
   ========================================== */

.kariyer-hero {
    position: relative;
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #1B57A6 0%, #14407A 50%, #0D294E 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Form */
.hero-search-form {
    margin-bottom: 2rem;
}

.hero-search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin: 0 auto;
    transition: var(--transition-base);
}

.hero-search-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.hero-search-wrapper i.fa-search {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-right: 1rem;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--gray-800);
    background: transparent;
    padding: 0.5rem 0;
}

.hero-search-input::placeholder {
    color: var(--gray-400);
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--primary-700);
    transform: translateX(2px);
}

.hero-search-btn i {
    transition: var(--transition-fast);
}

.hero-search-btn:hover i {
    transform: translateX(3px);
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.hero-stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-stats-bar .stat-item i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   3. POPULAR CATEGORIES SECTION
   ========================================== */

.popular-categories-section {
    padding: 3rem 0 2rem;
    background: var(--gray-50);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-600);
    font-size: 1.5rem;
}

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

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
}

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

.category-card.active {
    border-color: var(--primary-600);
    background: var(--primary-50);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-card.active .category-icon {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
}

.category-info {
    flex: 1;
}

.category-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem 0;
}

.category-info .job-count {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
}

/* ==========================================
   4. JOBS SECTION - SIDEBAR + LIST LAYOUT
   ========================================== */

.jobs-content-wrapper {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Sidebar - Filters */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: fit-content;
    position: relative;
}

.sidebar-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group {
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    display: block;
}

.filter-select {
    width: 100%;
    padding: 0.625rem 2rem 0.625rem 0.875rem;
    font-size: 0.8125rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: white;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.filter-select:hover {
    border-color: var(--primary-600);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(27, 87, 166, 0.1);
}

/* Filter checkboxes */
.filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-600);
}

.filter-checkbox label {
    font-size: 0.8125rem;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}

/* Filter actions in sidebar */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-200);
}

.btn-filter,
.btn-clear {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-filter {
    background: var(--primary-600);
    color: white;
    border: none;
}

.btn-filter:hover {
    background: var(--primary-700);
}

.btn-clear {
    background: white;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

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

/* General button styles */
.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-600);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-apply:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-apply i {
    font-size: 0.875rem;
}

/* Mobile filter toggle button */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-600);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.mobile-filter-toggle i {
    margin-right: 0.5rem;
}

/* ==========================================
   5. JOB LISTINGS - RIGHT SIDE (LIST VIEW)
   ========================================== */

.jobs-section {
    padding: 2rem 0 3rem;
    background: var(--gray-50);
}

/* Main content area (right side) */
.jobs-main-content {
    flex: 1;
    min-width: 0;
}

/* Results header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.results-info {
    flex: 1;
}

.results-count {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Active Filters Display */
.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.active-filters-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-right: 0.25rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--primary-700);
    font-weight: 500;
}

.filter-tag .remove-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary-600);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.625rem;
}

.filter-tag .remove-filter:hover {
    background: var(--primary-700);
    transform: scale(1.1);
}

.clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--danger);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.clear-all-filters:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Sort Options */
.sort-options {
    flex-shrink: 0;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-form label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    white-space: nowrap;
}

.sort-form label i {
    color: var(--primary-600);
    margin-right: 0.25rem;
}

.sort-select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: white;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.sort-select:hover {
    border-color: var(--primary-600);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(27, 87, 166, 0.1);
}

/* Job list (vertical stacking) */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Job card - horizontal layout like kariyer.net */
.job-card {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: var(--transition-base);
    cursor: pointer;
    display: flex;
    gap: 1rem;
}

.job-card:hover {
    border-color: var(--primary-600);
    box-shadow: 0 4px 12px rgba(27, 87, 166, 0.12);
}

/* Favorite button - top right corner */
.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    color: var(--gray-400);
}

.favorite-btn:hover {
    color: var(--danger);
    transform: scale(1.15);
}

.favorite-btn.active {
    color: var(--danger);
}

.favorite-btn i {
    font-size: 1.25rem;
}

/* Company logo */
.job-card-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.job-card-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    background: white;
}

.company-logo-placeholder {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Job content */
.job-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-right: 2.5rem;
}

.job-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

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

/* Görüntülenmiş ilanlar için stil */
.job-title.viewed {
    color: #991b1b;
    /* Koyu, profesyonel kırmızı ton */
}

.job-title.viewed:hover {
    color: #7f1d1d;
}

.company-name {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.company-name i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Job metadata badges */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
}

.meta-badge i {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

/* Job footer info */
.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.job-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.badge-applied {
    padding: 0.25rem 0.625rem;
    background: var(--success);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-300);
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--gray-300);
    margin-bottom: 1.25rem;
}

.empty-state h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.625rem;
}

.empty-state p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==========================================
   5. ANIMATIONS & EFFECTS
   ========================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle staggered animation */
.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.1s; }
.job-card:nth-child(3) { animation-delay: 0.15s; }
.job-card:nth-child(4) { animation-delay: 0.05s; }
.job-card:nth-child(5) { animation-delay: 0.1s; }
.job-card:nth-child(6) { animation-delay: 0.15s; }
.job-card:nth-child(7) { animation-delay: 0.05s; }
.job-card:nth-child(8) { animation-delay: 0.1s; }
.job-card:nth-child(9) { animation-delay: 0.15s; }

/* Counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   6. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .filters-sidebar {
        width: 260px;
    }
    
    .job-card-logo {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .job-card-logo img,
    .company-logo,
    .company-logo-placeholder {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
}

@media (max-width: 992px) {
    .filters-sidebar {
        width: 240px;
    }
    
    .job-card {
        flex-direction: column;
    }
    
    .job-card-logo {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .job-card-logo img,
    .company-logo,
    .company-logo-placeholder {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
}

@media (max-width: 768px) {
    .kariyer-hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-search-wrapper {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .hero-search-wrapper i.fa-search {
        display: none;
    }
    
    .hero-search-input {
        padding: 0.75rem;
        text-align: center;
    }
    
    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-stats-bar .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    /* Popular Categories */
    .popular-categories-section {
        padding: 2rem 0 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    /* Results Header */
    .results-header {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }
    
    .results-count {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .active-filters {
        margin-top: 0.5rem;
    }
    
    .sort-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .sort-select {
        width: 100%;
    }
    
    /* Mobile: Filtreler accordion gibi açılır (modal değil) */
    .jobs-content-wrapper {
        flex-direction: column;
    }
    
    .filters-sidebar {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        z-index: 10 !important;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        box-shadow: none;
        margin-bottom: 0;
    }
    
    .filters-sidebar.active {
        max-height: 2000px;
        opacity: 1;
        margin-bottom: 1.5rem;
    }
    
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-base);
    }
    
    .mobile-filter-toggle.active {
        background: var(--primary-700);
    }
    
    /* Overlay kaldırıldı - artık gerekmez */
    .sidebar-overlay {
        display: none !important;
    }
    
    .job-card {
        padding: 1rem;
    }
    
    .job-card-content {
        padding-right: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .kariyer-hero {
        padding: 2.5rem 0 1.5rem;
    }
    
    .hero-search-wrapper {
        padding: 0.875rem;
    }
    
    .hero-search-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .category-info h3 {
        font-size: 1rem;
    }
    
    .job-card-logo {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }
    
    .job-card-logo img,
    .company-logo,
    .company-logo-placeholder {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }
    
    .job-title {
        font-size: 0.9375rem;
    }
    
    .filter-chip {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .favorite-btn {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .job-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filter-tag {
        font-size: 0.8125rem;
        padding: 0.375rem 0.625rem;
    }
    
    .clear-all-filters {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }
}

/* ==========================================
   7. SCROLL TO TOP BUTTON
   ========================================== */

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-600);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background: var(--primary-700);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

#scrollTopBtn i {
    font-size: 1.125rem;
}

/* ==========================================
   8. PAGINATION STYLES
   ========================================== */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 0.375rem;
    align-items: center;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0.5rem 0.625rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.page-link:hover {
    border-color: var(--primary-600);
    background: var(--primary-50);
    color: var(--primary-600);
}

.page-item.active .page-link {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================
   9. ADDITIONAL COMPONENTS
   ========================================== */

/* Results header */
.jobs-section h2,
.jobs-section .h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Badge styles */
.badge-applied {
    padding: 0.25rem 0.625rem;
    background: var(--success);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Info text */
.text-muted {
    color: var(--gray-500) !important;
}

/* ==========================================
   10. UTILITY CLASSES
   ========================================== */

.text-primary {
    color: var(--primary-600) !important;
}

.bg-primary {
    background: var(--primary-600) !important;
}

.border-primary {
    border-color: var(--primary-600) !important;
}

.text-secondary {
    color: var(--primary-400) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

/* SweetAlert Toast Customization */
.swal-toast-container {
    z-index: 10000 !important;
}

/* SweetAlert Login Modal - Yüksek z-index */
.swal-login-modal {
    z-index: 99999 !important;
}

.swal-login-modal .swal2-container {
    z-index: 99999 !important;
}

.swal2-container.swal2-bottom-end {
    bottom: 2rem;
    right: 2rem;
}

.swal2-toast {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    border-radius: var(--radius-lg) !important;
}

.swal2-toast .swal2-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.swal2-toast .swal2-html-container {
    font-size: 0.875rem !important;
}
