/* ====== ENHANCED FIND TALENT PAGE STYLES ====== */

/* Main Container */
.find-talent-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Page Banner Enhancement */
.page-banner {
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(247, 115, 41, 0.4) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Section Header */
.enhanced-talent-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(247, 115, 41, 0.1);
}

.enhanced-talent-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="talent-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(247,115,41,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23talent-dots)"/></svg>');
    opacity: 0.3;
    animation: dotPattern 20s linear infinite;
}

@keyframes dotPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(20px) translateY(20px); }
}

.talent-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.talent-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c3e50 0%, #f77329 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
}

.talent-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.talent-stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.talent-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 115, 41, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.talent-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.talent-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f77329;
    display: block;
}

.talent-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Enhanced Search & Filter Section */
.enhanced-search-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(247, 115, 41, 0.1);
}

.search-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(247, 115, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f77329 0%, #e55a1f 100%);
    border-radius: 25px 25px 0 0;
}

/* Enhanced Search Input */
.enhanced-search-input {
    position: relative;
    margin-bottom: 2rem;
}

.enhanced-search-input .form-control {
    height: 60px;
    border-radius: 30px !important;
    border: 2px solid rgba(247, 115, 41, 0.2) !important;
    padding: 1rem 4rem 1rem 2rem !important;
    font-size: 1.1rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.enhanced-search-input .form-control:focus {
    border-color: #f77329 !important;
    box-shadow: 0 8px 25px rgba(247, 115, 41, 0.2) !important;
    transform: translateY(-2px) !important;
}

.enhanced-search-input .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #f77329;
    font-size: 1.2rem;
    z-index: 3;
}

/* Quick Filter Buttons */
.quick-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.quick-filter-btn {
    position: relative;
    padding: 0;
    background: none !important;
    border: none !important;
    overflow: hidden;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.quick-filter-btn label {
    display: block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(247, 115, 41, 0.2);
    border-radius: 25px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.quick-filter-btn label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 115, 41, 0.1), transparent);
    transition: left 0.5s;
}

.quick-filter-btn:hover label::before {
    left: 100%;
}

.quick-filter-btn input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.quick-filter-btn input[type="checkbox"]:checked + span {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%) !important;
    color: white !important;
    border-color: #f77329 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 115, 41, 0.4);
}

.quick-filter-btn:hover label {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(247, 115, 41, 0.4);
}

/* Advanced Filters Toggle */
.advanced-filters-toggle {
    text-align: center;
    margin: 2rem 0;
}

.toggle-advanced-btn {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.8rem 2rem !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(247, 115, 41, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.toggle-advanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.toggle-advanced-btn:hover::before {
    left: 100%;
}

.toggle-advanced-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(247, 115, 41, 0.4) !important;
}

/* Advanced Filters Container */
.advanced-filters {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(247, 115, 41, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Collapse functionality for advanced filters */
.advanced-filters.collapse {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
}

.advanced-filters.collapse.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    max-height: 2000px; /* Large enough to accommodate all filters */
}

/* Animation for showing filters */
.advanced-filters.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    max-height: 2000px;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation for hiding filters */
.advanced-filters.hiding {
    animation: slideOutUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

.advanced-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f77329 0%, #e55a1f 100%);
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Enhanced Dropdown Filters */
.enhanced-filter-dropdown {
    position: relative;
}

.enhanced-filter-dropdown .dropdown-toggle {
    width: 100% !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(247, 115, 41, 0.2) !important;
    border-radius: 15px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 1rem !important;
    text-align: left !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.enhanced-filter-dropdown .dropdown-toggle:hover,
.enhanced-filter-dropdown .dropdown-toggle:focus {
    border-color: #f77329 !important;
    box-shadow: 0 4px 15px rgba(247, 115, 41, 0.2) !important;
    transform: translateY(-2px) !important;
}

.enhanced-filter-dropdown .dropdown-menu {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    max-height: 300px;
    overflow-y: auto;
}

.enhanced-filter-dropdown select {
    width: 100% !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(247, 115, 41, 0.2) !important;
    border-radius: 15px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 0 1rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.enhanced-filter-dropdown select:hover,
.enhanced-filter-dropdown select:focus {
    border-color: #f77329 !important;
    box-shadow: 0 4px 15px rgba(247, 115, 41, 0.2) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

.enhanced-filter-dropdown input[type="number"] {
    width: 100% !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(247, 115, 41, 0.2) !important;
    border-radius: 15px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 0 1rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.enhanced-filter-dropdown input[type="number"]:hover,
.enhanced-filter-dropdown input[type="number"]:focus {
    border-color: #f77329 !important;
    box-shadow: 0 4px 15px rgba(247, 115, 41, 0.2) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

/* Enhanced Age Range Filter */
.enhanced-age-range {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(247, 115, 41, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.enhanced-age-range:hover {
    border-color: rgba(247, 115, 41, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.age-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.age-range-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.age-display {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(247, 115, 41, 0.3);
}

/* Enhanced Range Slider */
.enhanced-range-slider {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.enhanced-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.enhanced-range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    border: 3px solid white;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(247, 115, 41, 0.4);
    transition: all 0.3s ease;
}

.enhanced-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(247, 115, 41, 0.6);
}

.enhanced-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    border: 3px solid white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(247, 115, 41, 0.4);
    transition: all 0.3s ease;
}

.enhanced-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 3px;
    z-index: 1;
}

.enhanced-slider-track::before {
    content: '';
    position: absolute;
    left: var(--min-percent);
    right: calc(100% - var(--max-percent));
    height: 100%;
    background: linear-gradient(90deg, #f77329 0%, #e55a1f 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Search Actions */
.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-search-talent {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 1rem 2.5rem !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(247, 115, 41, 0.3) !important;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-search-talent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-search-talent:hover::before {
    left: 100%;
}

.btn-search-talent:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(247, 115, 41, 0.4) !important;
}

.btn-clear-filters {
    background: rgba(108, 117, 125, 0.1) !important;
    border: 2px solid #6c757d !important;
    border-radius: 25px !important;
    padding: 1rem 2rem !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    min-width: 150px;
}

.btn-clear-filters:hover {
    background: #6c757d !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3) !important;
}

/* Enhanced Talent Grid Section */
.enhanced-talent-grid-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.grid-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.grid-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.grid-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

/* Enhanced Talent Grid */
.enhanced-talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Enhanced Talent Card */
.enhanced-talent-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(247, 115, 41, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.enhanced-talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(247, 115, 41, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.enhanced-talent-card:hover::before {
    opacity: 1;
}

.enhanced-talent-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(247, 115, 41, 0.1);
    border-color: rgba(247, 115, 41, 0.3);
}

.enhanced-talent-card .card-img-top {
    height: 320px;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    border-radius: 25px 25px 0 0;
}

.enhanced-talent-card:hover .card-img-top {
    transform: scale(1.08);
}

.enhanced-talent-card .card-body {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.enhanced-talent-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.enhanced-talent-card:hover .card-title {
    color: #f77329;
}

.talent-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(247, 115, 41, 0.3);
}

.talent-location {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.talent-location i {
    color: #f77329;
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background: rgba(247, 115, 41, 0.1);
    color: #f77329;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(247, 115, 41, 0.2);
}

/* Enhanced No Results */
.no-results-container {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.no-results-icon {
    font-size: 4rem;
    color: #f77329;
    margin-bottom: 1.5rem;
}

.no-results-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.no-results-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.suggestion-item {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Enhanced Pagination */
.enhanced-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.enhanced-pagination .pagination {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.enhanced-pagination .page-item .page-link {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 1.2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.enhanced-pagination .page-item:not(.active) .page-link {
    background: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d !important;
}

.enhanced-pagination .page-item:not(.active) .page-link:hover {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Loading Animation */
.talent-grid-loading {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.talent-card-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 25px;
    height: 450px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .enhanced-talent-header {
        padding: 40px 0 30px;
    }
    
    .talent-main-title {
        font-size: 2.5rem;
    }
    
    .talent-stats-row {
        gap: 1rem;
    }
    
    .talent-stat-item {
        padding: 1rem 1.5rem;
    }
    
    .search-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .quick-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .enhanced-age-range {
        grid-column: 1 / -1;
    }
    
    .search-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .enhanced-search-input .form-control {
        height: 50px;
        padding: 0.8rem 3rem 0.8rem 1.5rem !important;
    }
    
    .quick-filter-btn label {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .enhanced-talent-card .card-body {
        padding: 1.2rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .enhanced-talent-card {
        border: 2px solid #333;
    }
    
    .enhanced-talent-card .card-title {
        color: #000;
    }
    
    .btn-search-talent {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .enhanced-talent-card,
    .btn-search-talent,
    .enhanced-range-slider input[type="range"]::-webkit-slider-thumb {
        animation: none;
        transition: none;
    }
    
    .enhanced-talent-card {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    .enhanced-search-section,
    .enhanced-pagination {
        display: none;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .enhanced-talent-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Enhanced Focus States for Accessibility */
.enhanced-search-input .form-control:focus,
.quick-filter-btn:focus-within,
.btn-search-talent:focus,
.enhanced-filter-dropdown select:focus,
.enhanced-range-slider input[type="range"]:focus {
    outline: 3px solid rgba(247, 115, 41, 0.5);
    outline-offset: 2px;
}

/* Close Filters Button */
.close-filters-btn {
    background: none !important;
    border: none !important;
    font-size: 1.2rem !important;
    color: #6c757d !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.close-filters-btn:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    transform: scale(1.1) !important;
}

/* Mobile-First Responsive Enhancements */
@media (max-width: 480px) {
    .talent-main-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .talent-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .talent-stats-row {
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .talent-stat-item {
        padding: 1rem;
        min-width: calc(50% - 0.4rem);
    }
    
    .talent-stat-number {
        font-size: 1.8rem;
    }
    
    .talent-stat-label {
        font-size: 0.8rem;
    }
    
    .search-container {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .enhanced-search-input .form-control {
        height: 45px;
        font-size: 1rem;
        padding: 0.7rem 2.5rem 0.7rem 1rem !important;
    }
    
    .quick-filters {
        gap: 0.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .quick-filter-btn {
        flex-shrink: 0;
    }
    
    .quick-filter-btn label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .enhanced-filter-dropdown select,
    .enhanced-filter-dropdown input {
        height: 45px !important;
        font-size: 0.9rem !important;
    }
    
    .enhanced-age-range {
        padding: 1rem;
    }
    
    .search-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-search-talent,
    .btn-clear-filters {
        width: 100%;
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .enhanced-talent-card .card-body {
        padding: 1.2rem;
    }
    
    .enhanced-talent-card .card-title {
        font-size: 1.2rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Tablet Responsive Enhancements */
@media (min-width: 481px) and (max-width: 768px) {
    .talent-stats-row {
        gap: 1.5rem;
    }
    
    .search-container {
        margin: 0 1rem;
    }
    
    .filters-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .enhanced-age-range {
        grid-column: 1 / -1;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

/* Large Tablet and Small Desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .filters-row {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .enhanced-talent-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Enhancements */
@media (min-width: 1025px) {
    .search-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .filters-row {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .enhanced-age-range {
        grid-column: span 2;
    }
    
    .enhanced-talent-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Ultra-wide Desktop */
@media (min-width: 1400px) {
    .enhanced-talent-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Enhanced Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

.search-loading {
    position: relative;
    overflow: hidden;
}

.search-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 115, 41, 0.1), transparent);
    animation: searchProgress 2s infinite;
}

@keyframes searchProgress {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Hover Effects */
.enhanced-talent-card {
    position: relative;
    overflow: hidden;
}

.enhanced-talent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 115, 41, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.enhanced-talent-card:hover::after {
    left: 100%;
}

/* Tooltip Styles */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-wrapper::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-wrapper:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Status Indicators */
.status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.status-indicator.offline {
    background: #6c757d;
}

.status-indicator.busy {
    background: #ffc107;
}

/* Custom Scrollbar for Advanced Filters */
.advanced-filters::-webkit-scrollbar {
    width: 6px;
}

.advanced-filters::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.advanced-filters::-webkit-scrollbar-thumb {
    background: rgba(247, 115, 41, 0.5);
    border-radius: 3px;
}

.advanced-filters::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 115, 41, 0.7);
}

/* Enhanced Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(247, 115, 41, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-suggestion-item {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
    background: rgba(247, 115, 41, 0.1);
    color: #f77329;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .find-talent-page {
        background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        color: #ffffff;
    }
    
    .enhanced-talent-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
    
    .search-container,
    .enhanced-talent-card {
        background: rgba(45, 45, 45, 0.9);
        border-color: rgba(247, 115, 41, 0.3);
        color: #ffffff;
    }
    
    .enhanced-search-input .form-control,
    .enhanced-filter-dropdown select,
    .enhanced-filter-dropdown input {
        background: rgba(45, 45, 45, 0.9) !important;
        color: #ffffff !important;
        border-color: rgba(247, 115, 41, 0.3) !important;
    }
    
    .enhanced-search-input .form-control::placeholder {
        color: #999999;
    }
    
    .talent-main-title {
        color: #ffffff;
    }
    
    .talent-subtitle,
    .talent-location {
        color: #cccccc;
    }
}
