/**
 * Freelance Search Page - Version 2
 * Styles modernisés pour la page de recherche de freelances
 *
 * Design System ProWorkerSpace:
 * - Font: Poppins, Josefin Sans
 * - Primary: #c43939
 * - Secondary: #B91646
 */

/* ========================================
   Variables CSS (basées sur le design existant)
   ======================================== */
:root {
    /* Couleurs principales du projet */
    --pws-primary: #c43939;
    --pws-primary-hover: #b03333;
    --pws-secondary: #B91646;
    --pws-accent: #da4335;

    /* Couleurs de feedback */
    --pws-success: #19722f;
    --pws-success-hover: #145d26;
    --pws-danger: #ff1f59;
    --pws-warning: #f59e0b;

    /* Backgrounds */
    --pws-bg-dark: #242331;
    --pws-bg-dark-alt: #292838;
    --pws-bg-light: #f5f5f5;
    --pws-bg-card: #ffffff;

    /* Textes */
    --pws-text: #212529;
    --pws-text-dark: #000;
    --pws-text-muted: #6c757d;
    --pws-text-light: rgba(242, 245, 255, 0.8);

    /* Bordures et ombres */
    --pws-border: #e8e8e8;
    --pws-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --pws-shadow-lg: 0 10px 30px rgba(19, 14, 57, 0.09);

    /* Rayons et transitions */
    --pws-radius: 6px;
    --pws-radius-lg: 12px;
    --pws-radius-full: 50rem;
    --pws-transition: all 0.4s ease;
}

/* ========================================
   Header Banner
   ======================================== */
.header-banner-v2 {
    position: relative;
    background: url('https://proworkerspace.s3.us-east-2.amazonaws.com/static/images/app-hero-bg-n-min.jpg') no-repeat center center / cover;
    padding: 5rem 0;
    text-align: center;
}

.header-banner-v2 .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 57, 57, 0.85) 0%, rgba(185, 22, 70, 0.85) 100%);
}

.header-banner-v2 .container {
    position: relative;
    z-index: 1;
}

.header-banner-v2 .header-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.header-banner-v2 .header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.6rem;
    margin: 0 0 2rem 0;
}

/* ========================================
   Search Form (inside header)
   ======================================== */
.header-banner-v2 .search-form-v2 {
    max-width: 800px;
    margin: 0 auto;
}

.header-banner-v2 .search-results-count {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
}

.header-banner-v2 .search-results-count span {
    color: white;
    font-weight: 700;
}

.search-form-v2 {
    background: var(--pws-bg-card);
    border-radius: var(--pws-radius);
    padding: 1.5rem;
    box-shadow: var(--pws-shadow-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.search-form-v2 .form-group {
    flex: 1;
    min-width: 200px;
}

.search-form-v2 label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--pws-text-muted);
    margin-bottom: 0.5rem;
}

.search-form-v2 input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--pws-border);
    border-radius: var(--pws-radius);
    font-size: 1.5rem;
    font-family: inherit;
    transition: var(--pws-transition);
}

.search-form-v2 input:focus {
    outline: none;
    border-color: var(--pws-primary);
    box-shadow: 0 0 0 3px rgba(196, 57, 57, 0.15);
}

.search-form-v2 .btn-search-v2 {
    background: var(--pws-primary);
    color: white;
    border: 2px solid var(--pws-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--pws-radius);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pws-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form-v2 .btn-search-v2:hover {
    background: var(--pws-primary-hover);
    transform: translateY(-1px);
}

.search-results-count {
    color: var(--pws-text);
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.search-results-count span {
    font-weight: 600;
    color: var(--pws-primary);
}

/* Suggestions dropdown */
.suggestions-dropdown-v2 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pws-bg-card);
    border: 1px solid var(--pws-border);
    border-radius: var(--pws-radius);
    box-shadow: var(--pws-shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
}

.suggestions-dropdown-v2 li {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--pws-transition);
    border-bottom: 1px solid var(--pws-border);
    font-size: 1.4rem;
    color: var(--pws-text);
}

.suggestions-dropdown-v2 li:last-child {
    border-bottom: none;
}

.suggestions-dropdown-v2 li:hover {
    background: var(--pws-bg-light);
    color: var(--pws-primary);
}

/* ========================================
   Filters Sidebar
   ======================================== */
.filters-sidebar-v2 {
    background: var(--pws-bg-card);
    border-radius: var(--pws-radius);
    padding: 2rem;
    box-shadow: var(--pws-shadow);
    position: sticky;
    top: 1rem;
}

.filters-sidebar-v2 .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pws-border);
}

.filters-sidebar-v2 .filters-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pws-text-dark);
    margin: 0;
}

.filters-sidebar-v2 .btn-reset-filters {
    font-size: 1.3rem;
    color: var(--pws-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* Filter accordion */
.filter-group-v2 {
    border-bottom: 1px solid var(--pws-border);
    padding: 1.5rem 0;
}

.filter-group-v2:last-child {
    border-bottom: none;
}

.filter-group-v2 .filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pws-text-dark);
}

.filter-group-v2 .filter-toggle i {
    transition: var(--pws-transition);
    color: var(--pws-text-muted);
}

.filter-group-v2 .filter-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.filter-group-v2 .filter-content {
    padding-top: 1.5rem;
}

/* Price range slider */
.price-range-v2 {
    padding: 0.5rem 0;
}

.price-range-v2 .price-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-range-v2 .price-input-group {
    flex: 1;
}

.price-range-v2 .price-input-group label {
    font-size: 1.2rem;
    color: var(--pws-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.price-range-v2 .price-input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--pws-border);
    border-radius: var(--pws-radius);
    font-size: 1.4rem;
    text-align: right;
}

.price-range-v2 .range-slider-v2 {
    position: relative;
    height: 6px;
    background: var(--pws-border);
    border-radius: 3px;
    margin: 1.5rem 0;
}

.price-range-v2 .range-slider-v2 input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-v2 .range-slider-v2 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--pws-primary);
    cursor: pointer;
    pointer-events: auto;
    border: 3px solid white;
    box-shadow: var(--pws-shadow);
}

.price-range-v2 .range-slider-v2 input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--pws-primary);
    cursor: pointer;
    pointer-events: auto;
    border: 3px solid white;
    box-shadow: var(--pws-shadow);
}

/* Checkboxes */
.checkbox-group-v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-item-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-item-v2 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--pws-border);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--pws-primary);
}

.checkbox-item-v2 span {
    font-size: 1.4rem;
    color: var(--pws-text);
}

/* Mobile filter button */
.btn-filter-mobile-v2 {
    display: none;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--pws-bg-card);
    border: 2px solid var(--pws-primary);
    border-radius: var(--pws-radius);
    color: var(--pws-primary);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: var(--pws-transition);
}

.btn-filter-mobile-v2:hover {
    background: var(--pws-primary);
    color: white;
}

.btn-filter-mobile-v2 i {
    margin-right: 0.75rem;
}

/* ========================================
   Freelance Cards (Style Malt)
   ======================================== */
.freelance-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.freelance-card-v2 {
    background: var(--pws-bg-card);
    border-radius: var(--pws-radius-lg);
    overflow: hidden;
    box-shadow: var(--pws-shadow);
    transition: var(--pws-transition);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--pws-border);
}

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

/* Image carrée style Malt */
.freelance-card-v2 .card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--pws-bg-light);
}

.freelance-card-v2 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.freelance-card-v2:hover .card-image img {
    transform: scale(1.05);
}

/* Badge disponibilité */
.freelance-card-v2 .card-image .availability-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: var(--pws-radius);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pws-success);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.freelance-card-v2 .card-image .availability-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pws-success);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Badge TJM */
.freelance-card-v2 .card-image .tjm-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: var(--pws-radius);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pws-text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.freelance-card-v2 .card-image .tjm-badge span {
    font-weight: 400;
    color: var(--pws-text-muted);
    font-size: 1.1rem;
}

/* Corps de la card */
.freelance-card-v2 .card-body {
    padding: 1.5rem;
}

/* Nom du freelance */
.freelance-card-v2 .freelance-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pws-primary);
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.freelance-card-v2 .freelance-name .verified-badge {
    color: #1da1f2;
    font-size: 1.4rem;
}

/* Badge ProWorker / Talent Certifié */
.freelance-card-v2 .freelance-name .proworker-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.freelance-card-v2 .freelance-name .proworker-badge svg {
    width: 2rem;
    height: 2rem;
    color: #e6a817;
    stroke-width: 4;
    filter: drop-shadow(0 1px 2px rgba(200, 150, 0, 0.4));
}

/* Tooltip ProWorker */
.freelance-card-v2 .freelance-name .proworker-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--pws-bg-dark);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: var(--pws-radius);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    pointer-events: none;
}

/* Flèche du tooltip */
.freelance-card-v2 .freelance-name .proworker-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 10px;
    border: 6px solid transparent;
    border-bottom-color: var(--pws-bg-dark);
}

/* Afficher au survol */
.freelance-card-v2 .freelance-name .proworker-badge:hover .proworker-tooltip {
    opacity: 1;
    visibility: visible;
}

.freelance-card-v2 .freelance-name .proworker-tooltip strong {
    color: #e6a817;
}

/* Titre/Métier */
.freelance-card-v2 .freelance-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--pws-text-muted);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Localisation */
.freelance-card-v2 .freelance-location {
    font-size: 1.25rem;
    color: var(--pws-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.freelance-card-v2 .freelance-location i {
    color: var(--pws-primary);
    font-size: 1.2rem;
}

/* Stats (étoiles, avis) */
.freelance-card-v2 .freelance-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.freelance-card-v2 .stars {
    color: #fbbf24;
}

.freelance-card-v2 .stars i {
    margin-right: 0.1rem;
}

.freelance-card-v2 .rating-value {
    font-weight: 600;
    color: var(--pws-text-dark);
}

.freelance-card-v2 .reviews-count {
    color: var(--pws-text-muted);
}

.freelance-card-v2 .badge-new {
    background: var(--pws-primary);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: var(--pws-radius);
    font-size: 1.1rem;
    font-weight: 600;
}

.freelance-card-v2 .badge-recommendations {
    color: var(--pws-success);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Skills tags - 2 lignes max */
.skills-tags-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 4.7rem;
    overflow: hidden;
}

.skills-tags-v2 .skill-tag {
    background: var(--pws-bg-light);
    color: var(--pws-text);
    padding: 0.4rem 0.8rem;
    border-radius: var(--pws-radius);
    font-size: 1.15rem;
    font-weight: 500;
}

/* ========================================
   Pagination
   ======================================== */
.pagination-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-v2 .btn-page {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--pws-bg-card);
    border: 2px solid var(--pws-border);
    border-radius: var(--pws-radius);
    color: var(--pws-text);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pws-transition);
}

.pagination-v2 .btn-page:hover:not(:disabled) {
    border-color: var(--pws-primary);
    color: var(--pws-primary);
}

.pagination-v2 .btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-v2 .pagination-info {
    font-size: 1.4rem;
    color: var(--pws-text-muted);
}

/* ========================================
   Skeleton Loading
   ======================================== */
.skeleton-card-v2 {
    background: var(--pws-bg-card);
    border-radius: var(--pws-radius);
    overflow: hidden;
    box-shadow: var(--pws-shadow);
}

.skeleton-card-v2 .skeleton-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, var(--pws-bg-light) 25%, var(--pws-border) 50%, var(--pws-bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-card-v2 .skeleton-body {
    padding: 1.5rem;
}

.skeleton-card-v2 .skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--pws-bg-light) 25%, var(--pws-border) 50%, var(--pws-bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-card-v2 .skeleton-line.short {
    width: 60%;
}

.skeleton-card-v2 .skeleton-line.medium {
    width: 80%;
}

.skeleton-card-v2 .skeleton-tags {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.skeleton-card-v2 .skeleton-tag {
    height: 28px;
    width: 70px;
    background: linear-gradient(90deg, var(--pws-bg-light) 25%, var(--pws-border) 50%, var(--pws-bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--pws-radius-full);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Filter skeleton */
.skeleton-filter-v2 {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--pws-border);
}

.skeleton-filter-v2:last-child {
    border-bottom: none;
}

.skeleton-filter-v2 .skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, var(--pws-bg-light) 25%, var(--pws-border) 50%, var(--pws-bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* ========================================
   No Results State
   ======================================== */
.no-results-v2 {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--pws-bg-card);
    border-radius: var(--pws-radius);
    box-shadow: var(--pws-shadow);
}

.no-results-v2 i {
    font-size: 5rem;
    color: var(--pws-border);
    margin-bottom: 2rem;
    display: block;
}

.no-results-v2 h3 {
    font-size: 2.2rem;
    color: var(--pws-text-dark);
    margin-bottom: 1rem;
}

.no-results-v2 p {
    font-size: 1.5rem;
    color: var(--pws-text-muted);
    margin-bottom: 2rem;
}

.no-results-v2 p span {
    color: var(--pws-primary);
    font-weight: 600;
}

.no-results-v2 .btn-reset {
    background: var(--pws-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--pws-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pws-transition);
}

.no-results-v2 .btn-reset:hover {
    background: var(--pws-primary-hover);
}

/* ========================================
   Responsive
   ======================================== */
/* Large desktop: 3 colonnes → 2 colonnes */
@media (max-width: 1200px) {
    .freelance-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .filters-sidebar-v2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .filters-sidebar-v2.active {
        left: 0;
    }

    .filters-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(36, 35, 49, 0.6);
        z-index: 999;
    }

    .filters-overlay.active {
        display: block;
    }

    .btn-filter-mobile-v2 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-close-filters {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--pws-text-muted);
    }

    .freelance-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-banner-v2 {
        padding: 3rem 0;
    }

    .header-banner-v2 .header-title {
        font-size: 2.2rem;
    }

    .header-banner-v2 .header-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .search-form-v2 {
        flex-direction: column;
        padding: 1.5rem;
    }

    .search-form-v2 .form-group {
        min-width: 100%;
    }

    .search-form-v2 .btn-search-v2 {
        width: 100%;
        justify-content: center;
    }

    .freelance-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pagination-v2 {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-v2 .btn-page {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .freelance-grid-v2 {
        grid-template-columns: 1fr;
    }

    .freelance-card-v2 .card-body {
        padding: 1.25rem;
    }

    .skills-tags-v2 .skill-tag {
        font-size: 1.1rem;
        padding: 0.35rem 0.7rem;
    }

    .search-results-count {
        font-size: 1.3rem;
    }
}

/* ========================================
   Button return to top
   ======================================== */
.btn-return-top-v2 {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    background: var(--pws-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--pws-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--pws-transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.btn-return-top-v2.visible {
    opacity: 1;
    visibility: visible;
}

.btn-return-top-v2:hover {
    background: var(--pws-primary-hover);
    transform: translateY(-3px);
}

/* ========================================
   Infinite Scroll
   ======================================== */
.infinite-scroll-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--pws-text-muted);
    font-size: 1.4rem;
}

.infinite-scroll-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--pws-border);
    border-top-color: var(--pws-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.end-of-results {
    text-align: center;
    padding: 2rem;
    color: var(--pws-text-muted);
    font-size: 1.3rem;
    border-top: 1px solid var(--pws-border);
    margin-top: 2rem;
}
