.search-results-header {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-gray-200);
}

.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--bs-gray-200);
}

.active-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-tag {
    background: var(--bs-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag .btn-close {
    background: none;
    border: none;
    color: white;
    opacity: 0.8;
    font-size: 0.7rem;
    padding: 0;
    margin: 0;
}

.pagination {
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile Filter Styles */
.mobile-filter-section {
    padding: 0;
}

.mobile-filter-section .form-control-lg,
.mobile-filter-section .form-select-lg {
    min-height: 48px;
    font-size: 1rem;
}

.mobile-filter-section .form-check-lg .form-check-input {
    width: 1.5em;
    height: 1.5em;
}

.mobile-filter-section .form-check-lg .form-check-label {
    font-size: 1rem;
    padding-left: 0.5rem;
}

/* Job Card Mobile Enhancements */
.job-card.search {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.job-card.search:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.salary-highlight {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #c3e6c3;
}

/* Touch-Friendly Improvements */
@media (max-width: 768px) {
    /* Search Results Header Mobile */
    .search-results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch !important;
        padding: 1rem;
    }

    .results-count {
        text-align: center;
    }

    .sort-options {
        display: flex;
        justify-content: center;
    }

    /* Active Filters Mobile */
    .active-filters {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .filter-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Job Cards Mobile */
    .job-card {
        margin-bottom: 1.5rem;
    }

    .job-card .card-body {
        padding: 1.25rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .job-meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    /* Skills Tags Mobile */
    .job-tags {
        margin-bottom: 1rem;
    }

    .job-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin: 0.125rem;
    }

    /* Pagination Mobile */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    .pagination .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    /* No Results Mobile */
    .no-results {
        padding: 2rem 1rem;
        text-align: center;
    }

    .no-results .btn {
        margin: 0.25rem;
        min-width: 140px;
    }
}

/* Extra Small Screens */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .job-card .card-body {
        padding: 1rem;
    }

    .job-card .card-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .search-actions .btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .salary-highlight {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

    .badge {
        font-size: 0.7rem;
    }
}

/* Large Touch Screens (Tablets) */
@media (min-width: 768px) and (max-width: 992px) {
    .job-card .card-body {
        padding: 1.5rem;
    }

    .search-results-header {
        padding: 1.25rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .job-card {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .job-card {
        border-width: 2px;
    }

    .salary-highlight {
        border-width: 2px;
    }

    .filter-tag {
        border: 2px solid currentColor;
    }
}

