/* ================================================================
   SECTION TROUVER UN COACH - NOUVEAU DESIGN (COACH CONNECT ELITE)
   ================================================================ */

/* Container */
.search-container-new {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.search-header-new {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.search-title-new {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.search-subtitle-new {
    font-size: 1.125rem;
    color: #94a3b8;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle-new {
    display: none;
    margin-bottom: 1rem;
}

.btn-filter-mobile-new {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter-mobile-new:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(168, 85, 247, 0.3);
}

.btn-filter-mobile-new .flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search Layout */
.search-layout-new {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Filters Panel */
.filters-panel-new {
    width: 320px;
    flex-shrink: 0;
}

.filters-panel-content-new {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.filters-title-new {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.filter-group-new {
    margin-bottom: 1.25rem;
}

.filter-label-new {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.filter-input-new {
    width: 100%;
    padding: 0.625rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.filter-input-new:focus {
    outline: none;
    border-color: hsl(271, 91%, 65%);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.filter-input-new::placeholder {
    color: #64748b;
}

.range-inputs-new {
    display: flex;
    gap: 0.5rem;
}

.range-inputs-new .filter-input-new {
    flex: 1;
    min-width: 0;
}

/* Mode Toggle */
.mode-toggle-group-new {
    display: flex;
    gap: 0.5rem;
}

.mode-toggle-btn-new {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-toggle-btn-new:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.mode-toggle-btn-new.active {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: hsl(271, 91%, 65%) !important;
    color: hsl(271, 91%, 65%) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
    transform: scale(1.02);
}

.mode-toggle-btn-new i {
    font-size: 0.875rem;
}

/* Tag Select Group */
.tag-select-group-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.tag-select-btn-new {
    padding: 0.625rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.tag-select-btn-new:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.tag-select-btn-new.active {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: hsl(271, 91%, 65%) !important;
    color: hsl(271, 91%, 65%) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
    transform: scale(1.02);
}

/* Distance Slider */
.distance-slider-container-new {
    margin-top: 0.5rem;
}

.distance-slider-new {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.distance-slider-new::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: hsl(271, 91%, 65%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.distance-slider-new::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: hsl(271, 91%, 65%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.distance-label-new {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Rating Slider */
.rating-slider-container-new {
    margin-top: 0.5rem;
}

.rating-slider-new {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.rating-slider-new::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: hsl(271, 91%, 65%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.rating-slider-new::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: hsl(271, 91%, 65%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.rating-display-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.rating-stars-new {
    display: flex;
    gap: 0.125rem;
    align-items: center;
}

.star-wrapper-new {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.star-wrapper-new:hover {
    transform: scale(1.1);
}

.star-bg-new {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.25rem;
    color: #64748b;
    z-index: 1;
}

.star-fill-new {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    height: 100%;
}

.star-filled-new {
    font-size: 1.25rem;
    color: #fbbf24;
}

.rating-value-new {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    background: rgba(168, 85, 247, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    min-width: 3rem;
    text-align: center;
}

/* Filter Actions */
.filter-actions-new {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-block-new {
    width: 100%;
}

/* Search Results */
.search-results-new {
    flex: 1;
    min-width: 0;
}

.results-header-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

@media (min-width: 640px) {
    .results-header-new {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.results-count-new {
    font-weight: 600;
    color: #94a3b8;
}

.sort-container-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-label-new {
    font-size: 0.875rem;
    color: #94a3b8;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .sort-label-new {
        display: none;
    }
}

.select-wrapper-new {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.sort-select-new {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.sort-select-new:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(30, 41, 59, 0.7);
}

.sort-select-new:focus {
    outline: none;
    border-color: hsl(271, 91%, 65%);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.select-arrow-new {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.select-wrapper-new:hover .select-arrow-new {
    color: hsl(271, 91%, 65%);
}

/* Empty State */
.empty-state-new {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-state-new i {
    font-size: 4rem;
    color: #64748b;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state-new p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 0.4s ease-out;
}

/* Responsive */
@media (max-width: 1023px) {
    .mobile-filter-toggle-new {
        display: block;
    }
    
    .filters-panel-new {
        display: none;
        width: 100%;
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .filters-panel-new.mobile-open {
        display: block;
    }
    
    .filters-panel-content-new {
        position: static;
        max-height: none;
    }
    
    .search-layout-new {
        flex-direction: column;
    }
    
    .search-results-new {
        width: 100%;
    }
}


/* Aggressive Global Font Enforcement */
*:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(i):not([class*='fa-']):not(.text-gradient) {
    font-family: 'Oswald', sans-serif !important;
}
