body {
    background: url(../images/bg.png) !important;
    background-position: center;
}

.fw-bold {
    font-weight: 700 !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.section-padding {
    padding: 100px 0;
}


/* Classe utilitaire pour hauteur 100% sur lg et plus */

@media (min-width: 992px) {
    .h-lg-100 {
        height: 100% !important;
    }
}


/* BARRE DE RECHERCHE HEADER COMPACT */

.header-search-compact {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-right: 1rem;
}

.header-search-compact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(238, 117, 58, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.header-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    width: 200px;
    transition: all 0.3s ease;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header-search-input:focus {
    width: 250px;
}

.header-search-btn {
    background: linear-gradient(135deg, #ee753a 0%, #d85c2a 100%);
    border: none;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(238, 117, 58, 0.4);
}

.header-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(238, 117, 58, 0.6);
}

.header-search-btn i {
    color: #fff;
    font-size: 0.95rem;
}


/* Responsive pour la barre de recherche header */

@media (max-width: 992px) {
    .header-search-compact {
        margin: 1rem 0;
        width: 100%;
    }
    .header-search-input {
        width: 100%;
        flex: 1;
    }
    .header-search-input:focus {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .header-search-compact {
        padding: 0.25rem 0.25rem 0.25rem 0.85rem;
        border-radius: 20px;
        margin: 0.75rem 0;
    }
    .header-search-input {
        font-size: 0.85rem;
        padding: 0.35rem 0.6rem;
    }
    .header-search-btn {
        width: 36px;
        height: 36px;
        border-radius: 18px;
    }
    .header-search-btn i {
        font-size: 0.85rem;
    }
}


/* NIDS D'ABEILLES */

.honeycomb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    transform: translateY(34.375px);
}

.honeycomb-cell {
    flex: 0 1 250px;
    max-width: 197px;
    height: 102.5px;
    margin: 38px 5.5px 21px;
    position: relative;
    padding: 0.5em;
    text-align: center;
    z-index: 1;
    cursor: pointer;
    transition: transform 350ms ease;
}

.honeycomb-cell__title {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    font-weight: 600;
    transition: all 350ms ease;
    position: relative;
    z-index: 2;
}

.honeycomb-cell__title i {
    font-size: 2.5em;
    color: #ee753a;
    margin-bottom: 8px;
    transition: all 350ms ease;
}

.honeycomb-cell__title h4 {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 5px 0;
    color: #333;
    transition: color 350ms ease;
    line-height: 1.1;
}

.honeycomb-cell__title small {
    font-size: 0.7em;
    font-weight: 400;
    color: #ededed;
    text-transform: none;
    transition: color 350ms ease;
    line-height: 1.2;
}

.honeycomb-cell__image {
    object-fit: cover;
    object-position: center;
}

.honeycomb-cell::before,
.honeycomb-cell::after {
    content: '';
}

.honeycomb-cell::before,
.honeycomb-cell::after,
.honeycomb-cell__image {
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    display: block;
    position: absolute;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.honeycomb-cell::before {
    /* background: #ffe7db; */
    background: #ffffff1c;
    transform: scale(1.005);
}

.honeycomb-cellOLD:hover::after {
    background: #ee753a;
}

.text-violet-clair {
    color: #b465ff !important;
}

.honeycomb-cell::after {
    /* background: #1b0a3e; */
    background: linear-gradient(45deg, transparent 30%, rgba(238, 117, 58, 0.1) 50%, transparent 70%);
    opacity: 1;
    transition: all 350ms ease;
    transform: scale(0.95);
}

.honeycomb-cell:hover {
    transform: translateY(-8px);
}

.honeycomb-cell:hover::before {
    /* background: #fff; */
    background: #ee753570;
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(238, 117, 58, 0.3);
}

.honeycomb-cellOLD:hover::after {
    opacity: 1;
    transform: scale(1);
}

.honeycomb-cell:hover .honeycomb-cell__title i {
    color: #fff;
    transform: scale(1.1);
}

.honeycomb-cell:hover .honeycomb-cell__title h4 {
    color: #fff;
}

.honeycomb-cell:hover .honeycomb-cell__title small {
    color: rgba(255, 255, 255, 0.9);
}

.honeycomb__placeholder {
    display: none;
    opacity: 0;
    width: 250px;
    margin: 0 12.5px;
}

@media (max-width: 550px) {
    .honeycomb-cell {
        margin: 81.25px 25px;
    }
}

@media (max-width: 768px) {
    .honeycomb-cell {
        flex: 0 1 180px;
        max-width: 180px;
        height: 156px;
        margin: 50px 8px 20px;
    }
    .honeycomb-cell__title i {
        font-size: 2em;
        margin-bottom: 6px;
    }
    .honeycomb-cell__title h4 {
        font-size: 0.9em;
    }
    .honeycomb-cell__title small {
        font-size: 0.65em;
    }
}

@media (min-width: 550px) and (max-width: 825px) {
    .honeycomb-cell:nth-child(3n) {
        margin-right: calc(50% - 125px);
        margin-left: calc(50% - 125px);
    }
    .honeycomb__placeholder:nth-child(3n+5) {
        display: block;
    }
}

@media (min-width: 825px) and (max-width: 1100px) {
    .honeycomb-cell:nth-child(5n+4) {
        margin-left: calc(50% - 275px);
    }
    .honeycomb-cell:nth-child(5n+5) {
        margin-right: calc(50% - 275px);
    }
    .honeycomb__placeholder:nth-child(5n),
    .honeycomb__placeholder:nth-child(5n+3) {
        display: block;
    }
}

@media (min-width: 1100px) {
    .honeycomb-cell:nth-child(7n+5) {
        margin-left: calc(50% - 400px);
    }
    .honeycomb-cell:nth-child(7n+7),
    .honeycomb-cell:nth-child(7n+5):nth-last-child(2) {
        margin-right: calc(50% - 400px);
    }
    .honeycomb__placeholder:nth-child(7n+7),
    .honeycomb__placeholder:nth-child(7n+9),
    .honeycomb__placeholder:nth-child(7n+11) {
        display: block;
    }
}

.img-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}


/* Ombres dégradées pour les sliders */

.slide-slider.owl-carousel {
    position: relative;
    overflow: hidden;
}

.slide-slider.owl-carousel::before,
.slider-ressources.owl-carousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg, #16072e 0%, rgba(22, 7, 46, 0.8) 30%, rgba(22, 7, 46, 0.4) 70%, transparent 100%);
    z-index: 10;
    pointer-events: none;
    opacity: 0.9;
}

.slide-slider.owl-carousel::after,
.slider-ressources.owl-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(270deg, #16072e 0%, rgba(22, 7, 46, 0.8) 30%, rgba(22, 7, 46, 0.4) 70%, transparent 100%);
    z-index: 10;
    pointer-events: none;
    opacity: 0.9;
}

.category-slider.owl-carousel {
    position: relative;
    overflow: hidden;
}

.category-slider.owl-carousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, #16072e 0%, rgba(22, 7, 46, 0.7) 40%, transparent 100%);
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

.category-slider.owl-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(270deg, #16072e 0%, rgba(22, 7, 46, 0.7) 40%, transparent 100%);
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}


/* Responsive pour mobile - ombres plus petites */

@media (max-width: 768px) {
    .slide-slider.owl-carousel::before,
    .slide-slider.owl-carousel::after {
        width: 40px;
        opacity: 0.7;
    }
    .category-slider.owl-carousel::before,
    .category-slider.owl-carousel::after {
        width: 30px;
        opacity: 0.6;
    }
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11111111111111;
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 4em;
    flex-direction: column;
    gap: 10px;
}


/* Fix pour le carousel - permettre les ombres et transformations */

.category-slider .owl-stage-outer {
    overflow: visible !important;
    padding: 20px 0 30px 0;
    /* Espace pour les ombres */
}

.category-slider .owl-stage {
    padding-left: 0;
    padding-right: 0;
}

.category-slider .owl-item {
    padding: 10px;
    /* Espace interne pour éviter les coupures */
}


/* Glassmorphism ultra stylé pour les catégories */

.category-wrap {
    display: block;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin: 0;
    /* Supprimer les marges pour éviter les conflits */
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.category-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 117, 58, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-wrap:hover::before {
    left: 100%;
}

.category-wrap:hover {
    transform: translateY(-5px) scale(1.01);
    /* Réduit la transformation pour éviter les coupures */
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(238, 117, 58, 0.4);
    box-shadow: 0 15px 40px rgba(238, 117, 58, 0.2), /* Ombre réduite */
    0 5px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff;
}

.category-wrap:active {
    transform: translateY(-4px) scale(0.98);
}

.category-icon {
    margin-bottom: 1rem;
    position: relative;
}

.category-icon i {
    font-size: 2.5rem;
    color: #ee753a;
    filter: drop-shadow(0 0 10px rgba(238, 117, 58, 0.3));
    transition: all 0.3s ease;
}

.category-wrap:hover .category-icon i {
    transform: scale(1.1) rotateY(10deg);
    color: #ff8a50;
    filter: drop-shadow(0 0 20px rgba(238, 117, 58, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-wrap:hover .category-title {
    color: #ee753a;
    text-shadow: 0 2px 8px rgba(238, 117, 58, 0.4);
}

.category-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.category-wrap:hover .category-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.category-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-arrow i {
    font-size: 1.1rem;
    color: #ee753a;
}

.category-wrap:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* Animations */

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1.1) rotateY(10deg);
    }
    50% {
        transform: scale(1.15) rotateY(15deg);
    }
}

@keyframes sparkleAnimation {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}


/* Effet de brillance */

.category-wrap::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 30%, rgba(238, 117, 58, 0.1) 50%, transparent 70%);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-wrap:hover::after {
    opacity: 1;
}


/* Animation d'apparition séquentielle */

.owl-items {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.owl-items:nth-child(1) {
    animation-delay: 0s;
}

.owl-items:nth-child(2) {
    animation-delay: 0.1s;
}

.owl-items:nth-child(3) {
    animation-delay: 0.2s;
}

.owl-items:nth-child(4) {
    animation-delay: 0.3s;
}

.owl-items:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive design */

@media (max-width: 768px) {
    .category-wrap {
        padding: 1.5rem 1rem;
        margin: 0.25rem;
    }
    .category-icon i {
        font-size: 2rem;
    }
    .category-title {
        font-size: 1.1rem;
    }
}


/* Accessibilité */

.category-wrap:focus {
    outline: none;
    border-color: #ee753a;
    box-shadow: 0 0 0 3px rgba(238, 117, 58, 0.3), 0 20px 60px rgba(238, 117, 58, 0.2);
}


/* Pagination */

.pagination-wrapper {
    margin: 2rem 0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-container a,
.pagination-container span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination-container a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(238, 117, 58, 0.5);
    transform: translateY(-1px);
}


/* Page active */

.pagination-container .current {
    color: #fff !important;
    background: #ee753a !important;
    border-color: #ee753a !important;
    font-weight: 600;
}


/* Pages désactivées */

.pagination-container .disabled {
    color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    cursor: not-allowed;
}

.pagination-container .disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03) !important;
}


/* Info pagination */

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}


/* Responsive */

@media (max-width: 768px) {
    .pagination-container a,
    .pagination-container span {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .pagination-container {
        gap: 6px;
    }
}


/* Cartes de ressources stylées */

.resource-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    /* overflow: hidden; */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.resource-card:hover {
    z-index: 9999;
}


/* Layout de la ressource */

.resource-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


/* Image de la ressource */

.resource-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
}


/* Layout côte à côte sur grand écran */

@media (min-width: 992px) {
    .resource-layout {
        flex-direction: row;
        align-items: stretch;
    }
    .resource-image {
        width: 280px;
        height: auto;
        min-height: 200px;
    }
    .resource-content {
        flex: 1;
    }
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee753a, #ff8a50, #ee753a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238, 117, 58, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(238, 117, 58, 0.1);
}

.resource-card:hover::before {
    opacity: 1;
}


/* Badge type de ressource sur l'image */

.resource-image .resource-type-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 4;
}

.resource-type-badge .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-articles {
    background: rgba(52, 152, 219, 0.9);
    color: #fff;
}

.badge-webinaires {
    background: rgba(155, 89, 182, 0.9);
    color: #fff;
}

.badge-podcasts {
    background: rgba(46, 204, 113, 0.9);
    color: #fff;
}

.badge-guides {
    background: rgba(241, 196, 15, 0.9);
    color: #333;
}


/* Contenu de la ressource */

.resource-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-header {
    margin-bottom: 1rem;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.resource-tag {
    background: rgba(238, 117, 58, 0.2);
    color: #ff8a50;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(238, 117, 58, 0.3);
}

.resource-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}


/* Métadonnées */

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.meta-item i {
    color: #ee753a;
    width: 14px;
}


/* Rating Styles */

.meta-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-rating .rating-value {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
    margin-left: 0.2rem;
}

.rating-stars i {
    color: #ffc107;
    font-size: 0.8rem;
    width: auto;
}


/* PDUs */

.resource-pdus {
    margin-bottom: 1.25rem;
}

.pdus-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.pdus-label i {
    color: #ee753a;
}

.pdu-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pdu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 70px;
    position: relative;
    overflow: hidden;
}

.pdu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdu-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.pdu-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.pdu-item:hover .pdu-icon {
    transform: scale(1.1) rotate(5deg);
}

.pdu-count {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
}


/* Styles spécifiques par type de PDU */

.pdu-item.pdu-wow {
    border-color: rgba(52, 152, 219, 0.3);
}

.pdu-item.pdu-wow::before {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.pdu-item.pdu-wow:hover {
    border-color: rgba(52, 152, 219, 0.6);
    background: rgba(52, 152, 219, 0.12);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.pdu-item.pdu-wow:hover::before {
    opacity: 1;
}

.pdu-item.pdu-ps {
    border-color: rgba(238, 117, 58, 0.3);
}

.pdu-item.pdu-ps::before {
    background: linear-gradient(90deg, #ee753a, #e67e22);
}

.pdu-item.pdu-ps:hover {
    border-color: rgba(238, 117, 58, 0.6);
    background: rgba(238, 117, 58, 0.12);
    box-shadow: 0 8px 25px rgba(238, 117, 58, 0.3);
}

.pdu-item.pdu-ps:hover::before {
    opacity: 1;
}

.pdu-item.pdu-ba {
    border-color: rgba(155, 89, 182, 0.3);
}

.pdu-item.pdu-ba::before {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.pdu-item.pdu-ba:hover {
    border-color: rgba(155, 89, 182, 0.6);
    background: rgba(155, 89, 182, 0.12);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.pdu-item.pdu-ba:hover::before {
    opacity: 1;
}


/* Personnalisation Litepicker pour glass morphism */

.litepicker {
    font-family: inherit;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    font-size: 0.85rem;
    max-width: 480px;
}

.litepicker .container__footer {
    box-shadow: none !important;
}

.litepicker .container__main {
    display: flex;
}

.litepicker .container__months {
    background: transparent;
    box-shadow: none !important;
    padding: 0.75rem;
}

.litepicker .container__months .month-item {
    padding: 0.5rem;
}

.litepicker .container__months .month-item-header {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.litepicker .container__months .month-item-weekdays-row {
    margin-bottom: 0.25rem;
}

.litepicker .container__months .month-item-weekdays-row>div {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    padding: 0.25rem;
    font-weight: 500;
}

.litepicker .container__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.litepicker .container__days .day-item {
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 0.4rem;
    font-size: 0.8rem;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.litepicker .container__days .day-item:hover {
    background: rgba(238, 117, 58, 0.2);
    color: #fff;
}

.litepicker .container__days .day-item.is-today {
    border: 1px solid #ee753a;
    color: #ee753a;
    font-weight: 600;
}

.litepicker .container__days .day-item.is-in-range {
    background: rgba(238, 117, 58, 0.15);
    color: #fff;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
    background: #ee753a;
    color: #fff;
    font-weight: 600;
}

.litepicker .container__footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.litepicker .container__footer .preview-date-range {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    flex: 1;
}

.litepicker .container__footer .button-apply,
.litepicker .container__footer .button-cancel {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.litepicker .container__footer .button-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.litepicker .container__footer .button-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.litepicker .container__footer .button-apply {
    background: #ee753a;
    color: #fff;
    border-color: #ee753a;
}

.litepicker .container__footer .button-apply:hover {
    background: #ff8347;
    border-color: #ff8347;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 117, 58, 0.3);
}

.litepicker .container__footer .button-apply:disabled,
.litepicker .container__footer .button-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.litepicker .button-previous-month,
.litepicker .button-next-month {
    padding: 0.25rem;
}

.litepicker .button-previous-month svg,
.litepicker .button-next-month svg {
    fill: #ee753a;
    width: 10px;
    height: 18px;
}


/* Dropdowns années/mois */

.litepicker .month-item-header select {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    color: #d86a38;
    border: none;
    font-weight: 600;
}


/* Presets buttons - version compacte */

.litepicker .container__predefined-ranges {
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    min-width: 160px;
    max-width: 160px;
}

.litepicker .container__predefined-ranges button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

.litepicker .container__predefined-ranges button:hover {
    background: rgba(238, 117, 58, 0.2);
    border-color: rgba(238, 117, 58, 0.4);
    color: #fff;
}

.litepicker .container__predefined-ranges button.is-active {
    background: #ee753a;
    border-color: #ee753a;
    color: #fff;
    font-weight: 500;
}


/* Responsive pour mobile */

@media (max-width: 768px) {
    .litepicker {
        max-width: 92vw !important;
        width: 100vw !important;
        left: 17px !important;
        right: 0 !important;
        border-radius: 0;
        font-size: 0.75rem;
    }
    .litepicker .container__main {
        flex-direction: column;
    }
    .litepicker .container__predefined-ranges {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-width: 100%;
        max-width: 100%;
        padding: 0.5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .litepicker .container__predefined-ranges button {
        flex: 1 1 calc(50% - 0.2rem);
        min-width: 120px;
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        margin-bottom: 0;
    }
    .litepicker .container__months {
        padding: 0.5rem;
        max-width: 100%;
        margin: auto;
    }
    .litepicker .container__months .month-item {
        padding: 0.25rem;
    }
    .litepicker .container__months .month-item-header {
        font-size: 0.8rem;
        padding: 0.25rem 0;
        margin-bottom: 0.25rem;
    }
    .litepicker .container__months .month-item-weekdays-row>div {
        font-size: 0.65rem;
        padding: 0.15rem;
    }
    .litepicker .container__days .day-item {
        padding: 0.3rem;
        font-size: 0.7rem;
        height: 28px;
    }
    .litepicker .container__footer {
        padding: 0.5rem;
    }
    .litepicker .container__footer .preview-date-range {
        font-size: 0.7rem;
    }
    .litepicker .container__footer .button-apply,
    .litepicker .container__footer .button-cancel {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    .litepicker .month-item-header select {
        font-size: 0.75rem;
        padding: 0.2rem 0.3rem;
    }
}


/* Tags */

.resource-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resource-tags i {
    color: rgba(52, 152, 219, 0.9);
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

.tag-badge {
    background: rgba(52, 152, 219, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    padding: 0rem 0.45rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.1);
}

.tag-badge:hover {
    background: rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}


/* Styles pour les notes */

.note-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.note-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.note-avatar {
    flex-shrink: 0;
}

.note-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.note-user-info {
    flex-grow: 1;
}

.note-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.note-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.note-stars i {
    color: #ffc107;
    font-size: 14px;
}

.note-stars .fa-regular {
    color: rgba(255, 193, 7, 0.3);
}

.note-value {
    margin-left: 8px;
    color: #ffc107;
    font-weight: 600;
    font-size: 14px;
}

.note-date {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
}

.note-date i {
    margin-right: 5px;
}

.note-comment {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 15px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .note-header {
        flex-wrap: wrap;
    }
    .note-date {
        width: 100%;
        margin-top: 10px;
        text-align: left;
    }
    .note-avatar span {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.auteur-modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95) 0%, rgba(20, 20, 35, 0.98) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
}

.auteur-avatar-large {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auteur-avatar-large span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.auteur-name {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.auteur-organisation {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
}

.auteur-organisation i {
    color: #ff6b35;
    margin-right: 8px;
}

.auteur-bio {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 15px;
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: left;
}

.auteur-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-ressources {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6b35;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-ressources:hover {
    background: #ff5722;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-ressources i {
    font-size: 18px;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077b5;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover {
    background: #006399;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.btn-linkedin i {
    font-size: 20px;
}

.btn-close-white {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}


/* Styles pour le bouton signaler */

.note-report {
    display: flex;
    justify-content: flex-end;
}

.btn-report-note {
    background: transparent;
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: rgba(255, 107, 53, 0.8);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-report-note:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.6);
    color: rgba(255, 107, 53, 1);
}

.btn-report-note i {
    font-size: 14px;
}


/* Actions */

.resource-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-favorite,
.btn-noter-ressource,
.btn-share {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite:hover,
.btn-share:hover {
    background: rgba(238, 117, 58, 0.2);
    color: #ee753a;
    transform: translateY(-2px);
}

.btn-view-resource {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #ee753a, #ff8a50);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.3);
}

.btn-view-resource:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.4);
    color: #fff;
}

.btn-view-resource i {
    transition: transform 0.3s ease;
}

.btn-view-resource:hover i {
    transform: translateX(3px);
}


/* Responsive */

@media (max-width: 768px) {
    .resource-card {
        padding: 1.2rem;
    }
    .resource-layout {
        gap: 1.2rem;
    }
    .resource-title {
        font-size: 1.1rem;
    }
    .resource-meta {
        gap: 0.75rem;
    }
    .meta-item {
        font-size: 0.8rem;
    }
    .resource-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-view-resource {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .resource-card {
        padding: 1rem;
    }
    .resource-layout {
        gap: 1rem;
    }
    .resource-image {
        height: 180px;
    }
}


/* Pagination responsive */

.pagination-wrapper {
    margin: 2rem 0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-container a,
.pagination-container span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination-container a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(238, 117, 58, 0.5);
    transform: translateY(-1px);
}


/* Page active */

.pagination-container .current {
    color: #fff !important;
    background: #ee753a !important;
    border-color: #ee753a !important;
    font-weight: 600;
}


/* Pages désactivées */

.pagination-container .disabled {
    color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    cursor: not-allowed;
}

.pagination-container .disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03) !important;
}


/* Info pagination */

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}


/* Responsive pagination */

@media (max-width: 768px) {
    .pagination-container a,
    .pagination-container span {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .pagination-container {
        gap: 6px;
    }
}


/* Boutons mobiles au-dessus de l'image */

.mobile-action-buttons {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: none;
    gap: 0.5rem;
    z-index: 4;
}

.btn-favorite-mobile,
.btn-share-mobile {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-favorite-mobile:hover,
.btn-share-mobile:hover {
    background: rgba(238, 117, 58, 0.8);
    color: #fff;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}


/* Mobile responsive - Affichage conditionnel des boutons */

@media (max-width: 768px) {
    /* Afficher les boutons mobiles au-dessus de l'image */
    .mobile-action-buttons {
        display: flex !important;
    }
    /* Masquer les boutons desktop en mobile */
    .resource-actions .action-buttons {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-action-buttons {
        top: 0.5rem;
        right: 0.5rem;
    }
}


/* Desktop - Masquer les boutons mobiles */

@media (min-width: 992px) {
    .mobile-action-buttons {
        display: none !important;
    }
}


/* Styles simplifiés pour les statistiques */

.resource-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.resource-stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(238, 117, 58, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    color: #ee753a;
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stat-number {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .resource-stats .row {
        gap: 0.5rem;
    }
}

.banner-ressource {
    border-radius: 7px;
    overflow: hidden;
    float: left;
    width: 100%;
    position: relative;
    background-color: #1d1a2ad6;
    backdrop-filter: blur(3px);
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.banner-ressource .image-ressource {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ressource-iframe iframe {
    width: 100%;
}

.ressource-iframe.VIDEO iframe {
    aspect-ratio: 16/9;
    height: auto;
}

.slider-ressources .slide-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* Statistiques des slides de ressources */

.slide-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.slide-stats .stat-item i {
    color: #ee753a;
    font-size: 0.75rem;
    width: 12px;
}

.slide-meta {
    margin-bottom: 0.75rem !important;
}


/* Carte "Voir plus" en glassmorphism */

.see-more-card {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.see-more-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(238, 117, 58, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(238, 117, 58, 0.15);
}

.see-more-content {
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.see-more-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(238, 117, 58, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(238, 117, 58, 0.3);
}

.see-more-card:hover .see-more-icon {
    background: rgba(238, 117, 58, 0.3);
    transform: scale(1.1);
    border-color: rgba(238, 117, 58, 0.5);
}

.see-more-icon i {
    font-size: 1rem;
    color: #ee753a;
    transition: all 0.3s ease;
}

.see-more-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.see-more-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(238, 117, 58, 0.2);
    border: 1px solid rgba(238, 117, 58, 0.3);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background: rgba(238, 117, 58, 0.3);
    border-color: rgba(238, 117, 58, 0.5);
    color: #fff;
    text-decoration: none;
}

.see-more-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.1;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icons i {
    position: absolute;
    color: rgba(238, 117, 58, 0.3);
    font-size: 2rem;
    animation: floatIcons 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-icons i:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
}

.floating-icons i:nth-child(4) {
    top: 35%;
    right: 30%;
    animation-delay: 4.5s;
}

@keyframes floatIcons {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}


/* Animation d'apparition */

.see-more-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive pour la carte voir plus */

@media (max-width: 768px) {
    .see-more-content {
        padding: 1.5rem;
    }
    .see-more-title {
        font-size: 1.2rem;
    }
    .see-more-description {
        font-size: 0.9rem;
    }
    .see-more-icon {
        width: 50px;
        height: 50px;
    }
    .see-more-icon i {
        font-size: 1.2rem;
    }
}

.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}


/* ==================== PAGE DE CONNEXION ==================== */

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-card h2 {
    color: #fff;
    font-weight: 600;
}

.login-card .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}


/* Bouton Google */

.btn-google-login {
    width: 100%;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-google-login:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Séparateur */

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.separator span {
    padding: 0 1rem;
    font-size: 14px;
}


/* Formulaire */

.login-form .form-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}

.login-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ee753a;
    box-shadow: 0 0 0 3px rgba(238, 117, 58, 0.1);
    outline: none;
    color: #fff;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* Checkbox */

.form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #ee753a;
    border-color: #ee753a;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
}


/* Bouton de connexion */

.btn-login {
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-login:hover {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.4);
}


/* Liens */

.text-orange {
    color: #ee753a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-orange:hover {
    color: #ff8c52;
    text-decoration: underline;
}


/* Responsive */

@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
    .login-card h2 {
        font-size: 1.5rem;
    }
}


/* ==================== PAGE DE PARAMÈTRES DU COMPTE ==================== */

.account-sidebar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.user-avatar-large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ee753a;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ee753a;
    border: 2px solid #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-edit-btn:hover {
    background: #ff8c52;
    transform: scale(1.1);
}

.user-profile-header h5 {
    color: #fff;
    margin: 0;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.account-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.account-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.account-nav-item.active {
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
}


/* Contenu du compte */

.account-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
}

.content-header h2 {
    color: #fff;
    font-weight: 600;
}

.content-header .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}


/* Formulaire */

.account-form .form-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.account-form .form-label i {
    color: #ee753a;
}

.account-form .form-control,
.account-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.account-form .form-control:focus,
.account-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ee753a;
    box-shadow: 0 0 0 3px rgba(238, 117, 58, 0.1);
    outline: none;
    color: #fff;
}

.account-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.account-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.account-form .form-text {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px;
}


/* Boutons d'action */

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-save-account {
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-save-account:hover {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.4);
}

.btn-cancel-account {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cancel-account:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}


/* Zone dangereuse */

.danger-zone {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.danger-zone h5 {
    color: #ff4444;
}

.danger-zone-content {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
}

.danger-zone-content h6 {
    color: #fff;
    margin: 0;
}

.danger-zone-content .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.btn-danger-action {
    background: #ff4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-danger-action:hover {
    background: #ff2222;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}


/* Modal */

#createPlaylistModal {
    z-index: 1070 !important;
}

#createPlaylistModal .modal-backdrop {
    z-index: 1065 !important;
}

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body ul {
    padding-left: 1.5rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}


/* Responsive */

@media (max-width: 768px) {
    .account-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    .account-content {
        padding: 1.5rem;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn-save-account,
    .btn-cancel-account {
        width: 100%;
    }
    .danger-zone-content {
        text-align: center;
    }
    .danger-zone-content .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-danger-action {
        width: 100%;
    }
}


/* ==================== DROPDOWN PLAYLISTS (FAVORIS) ==================== */

.playlist-dropdown-container {
    position: relative;
}

.playlist-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 450px;
    display: flex;
    flex-direction: column;
}

.playlist-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.playlist-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-dropdown-header h6 {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.close-dropdown {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.close-dropdown:hover {
    color: #fff;
}

.playlist-dropdown-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    min-height: 150px;
    max-height: 300px;
}

.playlist-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.playlist-dropdown-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.playlist-dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(238, 117, 58, 0.5);
    border-radius: 10px;
}

.playlist-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(238, 117, 58, 0.7);
}

.playlist-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    gap: 10px;
}

.playlist-loader i {
    font-size: 24px;
    color: #ee753a;
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-item.loading {
    pointer-events: none;
    opacity: 0.6;
}

.playlist-item.loading::after {
    content: '\f110';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    animation: fa-spin 1s infinite linear;
}

.playlist-item.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
}

.playlist-item.success::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    color: #28a745;
    animation: none;
}

.playlist-item i {
    font-size: 16px;
    margin-right: 12px;
}

.playlist-favoris {
    font-weight: 600;
    background: rgba(255, 193, 7, 0.1);
}

.playlist-favoris:hover {
    background: rgba(255, 193, 7, 0.2);
}

.playlist-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0.5rem;
}

.playlist-empty,
.playlist-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.playlist-empty i,
.playlist-error i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.playlist-empty p,
.playlist-error p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.playlist-empty small,
.playlist-error small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.playlist-dropdown-footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-create-playlist {
    width: 100%;
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-playlist:hover {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}


/* Modal de création de playlist */

.btn-save-playlist {
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-save-playlist:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.btn-save-playlist:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel-playlist {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cancel-playlist:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}


/* Animation pour les notifications */

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Responsive */

@media (max-width: 768px) {
    .playlist-dropdown {
        width: 280px;
        right: -10px;
    }
    .playlist-dropdown-content {
        max-height: 250px;
    }
}


/* ==================== PAGE DES PLAYLISTS/FAVORIS ==================== */

.playlists-header {
    margin-bottom: 2rem;
}

.playlists-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.btn-new-playlist,
.btn-new-playlist-lg {
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.3);
}

.btn-new-playlist:hover,
.btn-new-playlist-lg:hover {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.5);
}

.btn-new-playlist-lg {
    padding: 18px 36px;
    font-size: 18px;
}


/* Stats globales */

.playlists-stats {
    margin-bottom: 3rem;
}

.stat-card-playlist {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card-playlist:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon-playlist {
    font-size: 2.5rem;
    color: #ee753a;
    opacity: 0.8;
}

.stat-number-playlist {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label-playlist {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}


/* Grille des playlists */

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.playlist-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.playlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee753a 0%, #ff8c52 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(238, 117, 58, 0.3);
}

.playlist-card:hover::before {
    opacity: 1;
}

.playlist-card-favoris {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.playlist-card-favoris::before {
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
    opacity: 1;
}

.playlist-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.playlist-card-favoris .playlist-card-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.playlist-card-content {
    flex: 1;
}

.playlist-card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.playlist-card-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.playlist-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.playlist-card-count,
.playlist-card-date {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.playlist-card-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-playlist {
    flex: 1;
    background: rgba(238, 117, 58, 0.2);
    color: #ee753a;
    border: 1px solid rgba(238, 117, 58, 0.3);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-view-playlist:hover {
    background: rgba(238, 117, 58, 0.3);
    color: #ff8c52;
    border-color: rgba(238, 117, 58, 0.5);
    transform: translateY(-2px);
}

.btn-edit-playlist,
.btn-delete-playlist {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-playlist:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.btn-delete-playlist:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}


/* État vide */

.playlists-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.playlists-empty i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.playlists-empty h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.playlists-empty p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
}


/* Responsive */

@media (max-width: 768px) {
    .playlists-title {
        font-size: 2rem;
    }
    .playlists-grid {
        grid-template-columns: 1fr;
    }
    .stat-card-playlist {
        padding: 1.25rem;
    }
    .stat-icon-playlist {
        font-size: 2rem;
    }
    .stat-number-playlist {
        font-size: 1.5rem;
    }
    .playlist-card {
        padding: 1.5rem;
    }
    .btn-new-playlist {
        width: 100%;
        justify-content: center;
    }
}

#slider_home_header .owl-dots {
    display: none;
}


/* ==================== PAGE DÉTAILS PLAYLIST ==================== */

.playlist-detail-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.breadcrumb-custom {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: #ee753a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff8c52;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.playlist-detail-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.playlist-detail-icon.favoris {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.playlist-detail-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.playlist-detail-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.playlist-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.meta-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.playlist-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-edit-playlist-header,
.btn-delete-playlist-header {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-edit-playlist-header {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-edit-playlist-header:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.btn-delete-playlist-header {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete-playlist-header:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}


/* Filtres */

.playlist-filters {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
}

.search-box-playlist {
    position: relative;
}

.search-box-playlist i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-box-playlist .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px 12px 45px;
    color: #fff;
    font-size: 15px;
}

.search-box-playlist .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ee753a;
    box-shadow: 0 0 0 3px rgba(238, 117, 58, 0.1);
    outline: none;
}

.search-box-playlist .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.filter-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ee753a;
    box-shadow: 0 0 0 3px rgba(238, 117, 58, 0.1);
    outline: none;
}

.filter-select option {
    background: #1a1a1a;
    color: #fff;
}


/* Grille des ressources */

.ressources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ressource-grid-item {
    position: relative;
}

.ressource-remove-action {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ressource-grid-item:hover .ressource-remove-action {
    opacity: 1;
}

.btn-remove-ressource {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-remove-ressource:hover {
    background: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}


/* État vide */

.playlist-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.playlist-empty-state i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.playlist-empty-state h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.playlist-empty-state p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-browse-resources {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ee753a 0%, #ff8c52 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.3);
}

.btn-browse-resources:hover {
    background: linear-gradient(135deg, #ff8c52 0%, #ee753a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.5);
    color: #fff;
}


/* Responsive */

@media (max-width: 768px) {
    .playlist-detail-header {
        padding: 1.5rem;
    }
    .playlist-detail-title {
        font-size: 1.5rem;
    }
    .playlist-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .playlist-actions {
        width: 100%;
    }
    .btn-edit-playlist-header,
    .btn-delete-playlist-header {
        flex: 1;
        justify-content: center;
    }
    .ressources-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   PAGE DE RECHERCHE - GLASS MORPHISM
   ======================================== */


/* Header de la page de recherche */

.search-page-header {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95) 0%, rgba(74, 47, 38, 0.95) 100%);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.search-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(238,117,58,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.search-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.search-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.search-results-badge {
    background: rgba(238, 117, 58, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}


/* Section des filtres */

.search-filters-section {
    background: transparent;
    padding: 2rem 0;
}


/* Barre de recherche principale avec glass morphism */

.glass-search-bar {
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-input-wrapper:hover {
    border-color: rgba(238, 117, 58, 0.4);
    box-shadow: 0 8px 32px rgba(238, 117, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-input-wrapper:focus-within {
    border-color: rgba(238, 117, 58, 0.6);
    box-shadow: 0 8px 32px rgba(238, 117, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 2rem;
    color: #ee753a;
    font-size: 1.2rem;
    z-index: 1;
}

.glass-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 1.5rem 1rem 4rem;
    outline: none;
}

.glass-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.glass-search-btn {
    background: linear-gradient(135deg, #ee753a 0%, #d85c2a 100%);
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.glass-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.6);
}


/* Disposition compacte des filtres principaux sur une ligne */

.main-filters-compact {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: end;
}

.toggle-filter-item {
    min-width: 200px;
}


/* Filtres visibles uniquement sur desktop/mobile */

.filter-mobile-only {
    display: none;
}

.filter-desktop-only {
    display: flex;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}


/* Grille des filtres principaux (ancienne version - garde pour compatibilité) */

.main-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}


/* Item de filtre avec glass morphism */

.glass-filter-item {
    display: flex;
    flex-direction: column;
}

.filter-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.filter-label i {
    color: #ee753a;
}


/* Bouton Noter - style orange du site */

.btn-noter-ressource {
    /* background: rgba(238, 117, 58, 0.1);
    border: 2px solid rgba(238, 117, 58, 0.4);
    color: #ee753a;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.5rem; */
}

.btn-noter-ressource:hover {
    background: rgba(238, 117, 58, 0.2);
    border-color: #ee753a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.btn-noter-ressource i {
    font-size: 1.1rem;
}

.text-orange {
    color: #ee753a;
}


/* Modal glass morphism */

.glass-modal {
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
}

.glass-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.glass-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}


/* Section de notation */

.rating-section {
    text-align: center;
    padding: 2rem 0;
}

.rating-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star-rating .star {
    font-size: 2.5rem;
    color: rgba(238, 117, 58, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.hover {
    color: #ee753a;
    transform: scale(1.2);
}

.star-rating .star.active {
    color: #ee753a;
    text-shadow: 0 0 10px rgba(238, 117, 58, 0.5);
}

.rating-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-style: italic;
    min-height: 24px;
}


/* Textarea glass */

.glass-textarea {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    padding: 1rem;
    transition: all 0.3s ease;
}

.glass-textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(238, 117, 58, 0.5);
    box-shadow: 0 0 20px rgba(238, 117, 58, 0.2);
    color: #fff;
}

.glass-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.comment-section .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.comment-section .form-label i {
    color: #ee753a;
}


/* Boutons */

.glass-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.glass-btn-orange {
    background: linear-gradient(135deg, #ee753a 0%, #d85c2a 100%);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
    transition: all 0.3s ease;
}

.glass-btn-orange:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.6);
    color: #fff;
}

.glass-btn-orange:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Select glass morphism */

.glass-select,
.glass-input {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #fff;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-select {
    cursor: pointer;
    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='%23ee753a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.glass-select:hover,
.glass-input:hover {
    border-color: rgba(238, 117, 58, 0.4);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-select:focus,
.glass-input:focus {
    outline: none;
    border-color: rgba(238, 117, 58, 0.6);
    box-shadow: 0 4px 20px rgba(238, 117, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* Custom dropdown avec checkboxes */

.custom-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.custom-dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background-image: none !important;
    padding-right: 1.25rem !important;
}

.custom-dropdown-toggle i {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #ee753a;
}

.custom-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow: hidden;
}

.custom-dropdown-menu.show {
    display: block;
    animation: dropdownSlideDown 0.3s ease;
}

@keyframes dropdownSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-search {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-search i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.dropdown-search input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.dropdown-search input:focus {
    border-color: rgba(238, 117, 58, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.dropdown-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.dropdown-options {
    max-height: 280px;
    overflow-y: auto;
    padding: 0.5rem;
}

.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: rgba(238, 117, 58, 0.5);
    border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: rgba(238, 117, 58, 0.7);
}

.dropdown-option {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    user-select: none;
}

.dropdown-option:hover {
    background: rgba(238, 117, 58, 0.15);
}

.dropdown-option input[type="checkbox"] {
    margin: 0;
    margin-right: 0.75rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #ee753a;
}

.dropdown-option span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.dropdown-option:has(input:checked) {
    background: rgba(238, 117, 58, 0.2);
}

.dropdown-option:has(input:checked) span {
    color: #fff;
    font-weight: 500;
}


/* Sous-catégories avec padding progressif */

.dropdown-option[style*="padding-left"] {
    position: relative;
}

.dropdown-option[style*="padding-left"] input[type="checkbox"] {
    flex-shrink: 0;
}

.dropdown-option[style*="padding-left"] span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.dropdown-option[style*="padding-left"]:hover span {
    color: rgba(255, 255, 255, 1);
}


/* Indicateurs visuels pour les sous-catégories */

.dropdown-option[data-level="1"] {
    border-left: 2px solid rgba(238, 117, 58, 0.3);
}

.dropdown-option[data-level="2"] {
    border-left: 2px solid rgba(238, 117, 58, 0.5);
}

.dropdown-option[data-level="3"] {
    border-left: 2px solid rgba(238, 117, 58, 0.7);
}


/* Input date specifique */

.glass-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}


/* Bouton toggle filtres avancés - version compacte */

.glass-toggle-btn-compact {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #fff;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-toggle-btn-compact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(238, 117, 58, 0.4);
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-toggle-btn-compact i {
    transition: transform 0.3s ease;
}

.glass-toggle-btn-compact.active i {
    transform: rotate(180deg);
}


/* Bouton toggle filtres avancés - version centrée (ancienne) */

.toggle-advanced-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.glass-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #fff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(238, 117, 58, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.2);
}

.glass-toggle-btn i:last-child {
    transition: transform 0.3s ease;
}

.glass-toggle-btn.active i:last-child {
    transform: rotate(180deg);
}


/* Dropdown de tri discret au-dessus des résultats */

.sort-select-compact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.sort-select-compact .glass-filter-item {
    width: auto;
    min-width: 220px;
    flex-direction: row;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0.65rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.sort-select-compact .glass-filter-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(238, 117, 58, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sort-select-compact .filter-label {
    font-size: 0.85rem;
    margin-bottom: 0;
    margin-right: 0.75rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.sort-select-compact .filter-label i {
    font-size: 0.8rem;
    color: #ee753a;
}

.sort-select-compact .glass-select {
    padding: 0.4rem 2rem 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 12px;
    border: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23ee753a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-size: 10px;
    box-shadow: none;
    flex: 1;
    min-width: 140px;
    font-weight: 500;
}


/* Container des filtres avancés */

.advanced-filters-container {
    margin-bottom: 2rem;
}

.glass-advanced-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.advanced-card-header {
    background: rgba(238, 117, 58, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.advanced-filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}


/* Card glass morphism pour "Aucun résultat" */

.no-results-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.no-results-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 117, 58, 0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.no-results-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.no-results-icon {
    font-size: 5rem;
    color: #ee753a;
    position: relative;
    z-index: 2;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.no-results-icon-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(238, 117, 58, 0.4) 0%, transparent 70%);
    filter: blur(25px);
    z-index: 1;
}

.no-results-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.no-results-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.no-results-suggestions {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.suggestions-title {
    color: #ee753a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: left;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.suggestions-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.suggestions-list li:last-child {
    border-bottom: none;
}

.suggestions-list li i {
    color: #ee753a;
    opacity: 0.8;
}

.no-results-glass-card .glass-btn {
    position: relative;
    z-index: 10;
}


/* Boutons d'action */

.filters-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.glass-btn {
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.glass-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.glass-btn-primary {
    background: linear-gradient(135deg, #ee753a 0%, #d85c2a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 117, 58, 0.4);
}

.glass-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 117, 58, 0.6);
}


/* Responsive */

@media (max-width: 992px) {
    .search-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .main-filters-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .toggle-filter-item {
        min-width: auto;
    }
    .main-filters-grid {
        grid-template-columns: 1fr;
    }
    .advanced-filters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Inverser l'affichage des filtres catégorie/type sur mobile */
    .filter-desktop-only {
        display: none !important;
    }
    .filter-mobile-only {
        display: flex !important;
    }
    /* Header mobile compact */
    .search-page-header {
        padding: 1.5rem 0 1rem;
    }
    .search-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    .search-title i {
        font-size: 1.25rem;
    }
    .search-subtitle {
        font-size: 0.9rem;
    }
    .search-results-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    /* Section filtres mobile compact */
    .search-filters-section {
        padding: 1rem 0;
    }
    /* Barre de recherche mobile compact */
    .glass-search-bar {
        margin-bottom: 1rem;
    }
    .search-input-wrapper {
        padding: 0.25rem;
        border-radius: 30px;
    }
    .search-icon {
        left: 1rem;
        font-size: 1rem;
    }
    .glass-search-input {
        font-size: 0.9rem;
        padding: 0.75rem 0.75rem 0.75rem 2.75rem;
    }
    .glass-search-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    /* Filtres mobile compacts */
    .main-filters-compact {
        gap: 0.75rem;
        margin-bottom: 1rem;
        grid-template-columns: 1fr;
    }
    .toggle-filter-item {
        grid-column: 1;
    }
    .filter-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    /* Masquer texte complet sur mobile, afficher version courte pour les labels */
    .label-text-mobile {
        display: inline !important;
    }
    .label-text-full {
        display: none !important;
    }
    .glass-select,
    .glass-input {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    .glass-select {
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }
    /* Custom dropdown responsive */
    .custom-dropdown-menu {
        max-height: 300px;
    }
    .dropdown-options {
        max-height: 230px;
    }
    .dropdown-option {
        padding: 0.5rem 0.65rem;
    }
    .dropdown-option span {
        font-size: 0.85rem;
    }
    /* Bouton toggle compact mobile */
    .glass-toggle-btn-compact {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    /* No results card responsive */
    .no-results-glass-card {
        padding: 3rem 1.5rem;
        border-radius: 25px;
    }
    .no-results-icon {
        font-size: 4rem;
    }
    .no-results-icon-blur {
        width: 100px;
        height: 100px;
    }
    .no-results-title {
        font-size: 1.5rem;
    }
    .no-results-subtitle {
        font-size: 1rem;
    }
    .no-results-suggestions {
        padding: 1.5rem;
        border-radius: 15px;
    }
    .suggestions-title {
        font-size: 0.95rem;
    }
    .suggestions-list li {
        font-size: 0.9rem;
        padding: 0.65rem 0;
    }
    /* Filtres avancés mobile */
    .advanced-filters-container {
        margin-bottom: 1rem;
    }
    .glass-advanced-card {
        border-radius: 15px;
    }
    .advanced-card-header {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    .advanced-filters-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    /* Sort dropdown mobile */
    .sort-select-compact {
        margin-bottom: 1rem;
        justify-content: center;
    }
    .sort-select-compact .glass-filter-item {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 0.6rem 0.9rem;
    }
    .sort-select-compact .filter-label {
        font-size: 0.8rem;
        margin-right: 0.6rem;
        margin-bottom: 0;
    }
    .sort-select-compact .filter-label i {
        font-size: 0.75rem;
    }
    .sort-select-compact .glass-select {
        padding: 0.35rem 1.75rem 0.35rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 10px;
        background-size: 9px;
        background-position: right 0.4rem center;
        min-width: 120px;
    }
    /* Boutons d'action mobile */
    .filters-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .glass-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    /* Masquer texte complet sur mobile, afficher version courte */
    .btn-text-mobile {
        display: inline !important;
    }
    .btn-text-full {
        display: none !important;
    }
}

@media (max-width: 576px) {
    /* Extra petit écran - encore plus compact */
    .search-page-header {
        padding: 1rem 0 0.75rem;
    }
    .search-title {
        font-size: 1.25rem;
    }
    .search-title i {
        font-size: 1.1rem;
        margin-right: 0.5rem !important;
    }
    .search-subtitle {
        font-size: 0.85rem;
    }
    .search-results-badge {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }
    .search-filters-section {
        padding: 0.75rem 0;
    }
    .glass-search-bar {
        margin-bottom: 0.75rem;
    }
    /* Garder la barre de recherche sur une ligne sur mobile */
    .search-input-wrapper {
        padding: 0.25rem;
        border-radius: 25px;
    }
    .search-icon {
        left: 0.85rem;
        font-size: 0.9rem;
    }
    .glass-search-input {
        padding: 0.6rem 0.75rem 0.6rem 2.25rem;
        font-size: 0.85rem;
    }
    .glass-search-btn {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    /* Masquer le texte "Rechercher" sur mobile, garder juste l'icône */
    .search-btn-text {
        display: none;
    }
    .search-btn-icon-mobile {
        margin: 0 !important;
    }
    .main-filters-compact {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .toggle-filter-item {
        grid-column: 1 / -1;
    }
    .filter-label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    .filter-label i {
        font-size: 0.75rem;
    }
    .glass-select,
    .glass-input {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    .glass-select {
        background-position: right 0.85rem center;
        padding-right: 2.25rem;
    }
    .glass-toggle-btn-compact {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    /* No results card extra petit écran */
    .no-results-glass-card {
        padding: 2.5rem 1rem;
        border-radius: 20px;
    }
    .no-results-icon {
        font-size: 3.5rem;
    }
    .no-results-icon-blur {
        width: 80px;
        height: 80px;
    }
    .no-results-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    .no-results-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    .no-results-suggestions {
        padding: 1.25rem;
        border-radius: 12px;
        margin: 1.5rem auto;
    }
    .suggestions-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .suggestions-list li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
    .no-results-glass-card .glass-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .advanced-filters-container {
        margin-bottom: 0.75rem;
    }
    .glass-advanced-card {
        border-radius: 12px;
    }
    /* Sort dropdown extra petit écran */
    .sort-select-compact {
        margin-bottom: 0.75rem;
    }
    .sort-select-compact .glass-filter-item {
        min-width: auto;
        width: 100%;
        max-width: 260px;
        padding: 0.5rem 0.75rem;
    }
    .sort-select-compact .filter-label {
        font-size: 0.75rem;
        margin-right: 0.5rem;
        margin-bottom: 0;
    }
    .sort-select-compact .filter-label i {
        font-size: 0.7rem;
    }
    .sort-select-compact .glass-select {
        padding: 0.3rem 1.5rem 0.3rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 8px;
        background-size: 8px;
        background-position: right 0.35rem center;
        min-width: 110px;
    }
    .advanced-card-header {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
    }
    .advanced-card-header i {
        font-size: 0.85rem;
    }
    .advanced-filters-grid {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    .filters-actions {
        gap: 0.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .glass-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    .glass-btn i {
        font-size: 0.8rem;
    }
}