:root {
    /* Variables pour le thème clair (par défaut) */
    --primary-color: #ffffff;
    --accent-color: #D4AF37;
    --text-color: #181818;
    --sidebar-width: 240px;
    --sidebar-bg: #ffffff;
    --sidebar-hover: rgba(212, 175, 55, 0.1);
    --sidebar-active: rgba(212, 175, 55, 0.2);
    --link-color: rgba(24, 24, 24, 0.7);
    --link-hover: #181818;
    --card-bg: #f5f5f5;
    --card-bg-light: #ffffff;
    --card-hover: rgba(212, 175, 55, 0.1);
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-muted: rgba(24, 24, 24, 0.7);
    --primary-color-rgb: 212, 175, 55;
    --primary-color-light: #E5C158;
    --input-border: rgba(24, 24, 24, 0.2);
    --input-text: #181818;
    --input-bg: #ffffff;
    --input-focus-border: #D4AF37;
    --input-placeholder: rgba(24, 24, 24, 0.5);
    --text-muted-sn: #1818180e;
    --song-header-bg1: rgba(255, 255, 255, 0.596);
    --song-header-bg2: rgba(255, 255, 255, 0.493);
}

/* Variables pour le thème sombre */
[data-theme="dark"] {
    --primary-color: #181818;
    --accent-color: #D4AF37;
    --text-color: #F5F5F5;
    --sidebar-bg: #181818;
    --sidebar-hover: rgba(212, 175, 55, 0.1);
    --sidebar-active: rgba(212, 175, 55, 0.2);
    --link-color: rgba(245, 245, 245, 0.7);
    --link-hover: #F5F5F5;
    --card-bg: #121212;
    --card-bg-light: #e9e9e9;
    --card-hover: rgba(212, 175, 55, 0.1);
    --bg-primary: #181818;
    --bg-secondary: #282828;
    --text-muted: rgba(255, 255, 255, 0.7);
    --input-border: rgba(255, 255, 255, 0.2);
    --input-text: #F5F5F5;
    --input-bg: #282828;
    --input-focus-border: #D4AF37;
    --input-placeholder: rgba(255, 255, 255, 0.5);
    --text-muted-sn: #181818a6;
    --song-header-bg1: rgba(0, 0, 0, 0.075);
    --song-header-bg2: rgba(0, 0, 0, 0.637);
}

/* Style du bouton de basculement du thème */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    display: block;
    margin-top: -8px;
}

.theme-toggle:hover {
    color: var(--accent-color);
    transform: none;
}

.theme-toggle i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.theme-toggle:hover i {
    transform: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

a:hover {
    color: var(--text-color);
}

.back-button{
    text-decoration: none;
    background-color: transparent;
    border: none;
}
.hover-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
    border-radius: 25px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.hover-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.05); /* Effet de zoom subtil au survol */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding-left: var(--sidebar-width);
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    padding: 1.5rem 0;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header {
    padding: 0.6rem 2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.sidebar-brand {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
    margin-top: -10px;
}

.sidebar-brand i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
.sidebar-header .logo{
    width:100%
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.3rem;
}

.sidebar-menu a {
    color: var(--link-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.76rem;
    background-size: 16px auto;
}

.sidebar-menu a:hover {
    background-color: var(--sidebar-hover);
    color: var(--link-hover);
}

.sidebar-menu a.active {
    background-color: var(--sidebar-active);
    color: var(--accent-color);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.sidebar-menu a i {
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section-title {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 1.5rem 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, #1a1a1a, #0a0a0a);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container-fluid {
    padding: 0 30px;
}

/* Menu Toggle Button */
.menu-toggle {
    background: transparent;
    border: none;
    padding: 0px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: none;
}

.menu-toggle i {
    font-size: 1.4rem;
    color: var(--accent-color);
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    padding: 12px 20px 12px 45px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-profile-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.btn-outline-light {
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container-fluid {
        padding: 0 15px;
    }

    .search-box {
        margin: 0 10px;
    }

    .search-box input {
        padding: 10px 15px 10px 40px;
        font-size: 0.9rem;
    }

    .user-profile-img {
        width: 35px;
        height: 35px;
    }

    .btn-outline-light {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* Dark Theme Enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-box input {
    backdrop-filter: blur(10px);
}

/* Active States */
.menu-toggle:active {
    transform: scale(0.95);
}

.btn-outline-light:active {
    transform: scale(0.95);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 20px;
}
/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 70%);
}

.hero-slide {
    position: relative;
    display: flex;
    height: 400px;
    margin: 0 0.5rem;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-secondary);
}

/* Image container */
.hero-image {
    width: 40%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content container */
.hero-content {
    width: 60%;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Separation oblique */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40%;
    width: 60%;
    height: 100%;
    background: #fff;
    transform: skewX(-45deg);
    z-index: 1;
}

/* Content and image stacking */
.hero-slide .hero-image,
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-content button {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero-content button:hover {
    background-color: var(--primary-color-light);
}

/* Pagination and arrows styles for Splide */
.splide__pagination {
    bottom: -2rem;
}

.splide__pagination__page {
    background: rgba(255,255,255,0.3);
}

.splide__pagination__page.is-active {
    background: var(--primary-color);
}

.splide__arrow {
    background: var(--primary-color);
    opacity: 1;
}

.splide__arrow svg {
    fill: white;
}

.splide__arrow:hover {
    background: var(--primary-color-light);
}

@media (max-width: 768px) {
    .hero-slide {
        height: 300px;
        flex-direction: column;
    }

    .hero-image,
    .hero-content {
        width: 100%;
        height: auto;
        transform: none; /* Remove skew for mobile */
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}
.recommended-section .card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.recommended-section .card:hover {
    transform: none;
}

.recommended-section .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Pour les écrans de 1024px à 1200px */
@media (min-width: 1024px) and (max-width: 1200px) {
    .recommended-section .card-img-top {
        height: 150px;
    }
}

/* Pour les écrans de 763px et moins */
@media (max-width: 763px) {
    .recommended-section .card-img-top {
        height: 240px !important;
    }
}

.recommended-section .btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: var(--accent-color);
    color: var(--text-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    z-index: 2;
    text-decoration: none;
}

.recommended-section .card:hover .btn-play {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}


.btn-primary {
    background: var(--accent-color);
    border: none;
    color: #ffffff;
    padding: 0.75rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* Featured Section */
.featured-section {
    padding: 0rem 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.featured-section:not(:last-child) {
    margin-bottom: 1rem;
}

.featured-section h2 {
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.splide {
    padding: 1rem;
}

.splide__slide {
    padding: 0px;
}

.splide__arrow {
    background: var(--accent-color) !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.splide:hover .splide__arrow {
    opacity: 1;
}

.splide__arrow svg {
    fill: var(--text-color) !important;
}

.splide__pagination__page {
    background: var(--link-color) !important;
}

.splide__pagination__page.is-active {
    background: var(--accent-color) !important;
    transform: scale(1.2);
}

.card {
    background-color: transparent;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    position: relative;
    height: 100%;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.card-body {
    padding: 1.5rem !important;
    background: transparent;
    color: var(--text-color);
    text-align: left;
    backdrop-filter: blur(5px);
    border-top: 0px;
    text-align: center;
    
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.card-text {
    color: var(--text-color);
    font-size: 0.8rem;
    margin-bottom: 0;
    text-decoration: none;
}

.card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.card:hover .play-button {
    opacity: 1;
}

.card .play-button:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: none;
}

.card-body h5{
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 3rem 0;
    color: var(--text-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--link-color);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--link-color);
}

.social-links a:hover {
    color: var(--link-color);
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-left: 0;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 200px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .navbar {
        left: 0;
        width: 100%;
    }
    
    .search-box input {
        width: 170px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
}

/* Overlay pour mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(5px);
}

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

/* Style de base pour la navbar */
.custom-navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.custom-navbar-brand {
    display: flex;
    align-items: center;
}

.custom-navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.custom-navbar-brand img:hover {
    transform: none;
}
.custom-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: 15rem !important;
}

.custom-search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 0.8rem; /* Positionnement à droite */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    z-index: 1;
    cursor: pointer;
}

.search-icon:hover {
    color: var(--accent-color);
}

.custom-search-input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 2rem; /* Augmente l'espace à droite pour l'icône */
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Responsivité */
@media (max-width: 768px) {
    .custom-search-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    .custom-search-input {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 2.5rem 0.8rem 1rem; /* Assure que l'espace pour l'icône reste correct */
    }
    .search-icon {
        right: 1rem; /* Ajuste pour éviter le débordement */
    }
}

.custom-search-input:focus {
    outline: none;
    background: var(--bg-secondary);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.custom-search-input::placeholder {
    color: var(--text-muted);
}


.social-media-icons {
    display: flex;
    gap: 1rem;
}

.social-media-icons a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-media-icons a:hover {
    color: var(--text-muted);
    transform: none;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .custom-search-wrapper {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .custom-container {
        padding: 0 1rem;
    }

    .navbar-left {
        flex: 1;
    }

    .custom-search-wrapper {
        display: none;
    }

    .social-media-icons {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: var(--accent-color);
    }

    .custom-navbar-brand img {
        height: 35px;
    }

    .search-toggle {
        color: var(--accent-color);
        margin-left: 1rem;
    }

    .mobile-search-wrapper {
        background: var(--primary-color);
        border-top: 1px solid var(--accent-color);
    }

    .mobile-search-wrapper .custom-search-input {
        background: var(--bg-secondary);
        color: var(--text-color);
        border: 1px solid var(--accent-color);
    }

    .mobile-search-wrapper .custom-search-input::placeholder {
        color: var(--text-muted);
    }

    .mobile-search-wrapper .search-icon {
        color: var(--text-muted);
    }
}

/* Styles pour la recherche mobile */
.search-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5rem;
}

.search-toggle:hover {
    color: var(--accent-color);
    transform: none;
}

.mobile-search-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.custom-navbar.search-active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
}

@media (max-width: 768px) {
    .custom-container {
        padding: 0 1rem;
    }

    .navbar-left {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .custom-navbar-brand img {
        height: 35px;
    }

    .custom-search-wrapper {
        display: none;
    }

    .mobile-search-wrapper .custom-search-box {
        width: 100%;
    }

    .mobile-search-wrapper .custom-search-input {
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
    }

    .social-media-icons {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Loader Styles */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 24, 0.6); /* Semi-transparent dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Prevent Interaction */
body.loading-content {
    pointer-events: none; /* Disable interactions */
}
body.loading-content * {
    cursor: wait;
}

/* Playlist Page Styles */
.playlist-header {
    display: none;
}

.playlist-cover img {
    display: none;
}

.playlist-type {
    display: none;
}

.playlist-type i {
    display: none;
}

.playlist-description {
    display: none;
}

.playlist-meta {
    display: none;
}

.track-cover {
    display: none;
}

.track-title,
.track-artist {
    display: none;
}

.track-title:hover,
.track-artist:hover {
    display: none;
}

.track-actions {
    display: none;
}

.track-actions .btn-link {
    display: none;
}

.track-actions .btn-link:hover {
    display: none;
}

.table-tracks tr:hover {
    display: none;
}

.now-playing img {
    display: none;
}

.track-info {
    display: none;
}

.now-playing-title {
    display: none;
}

.now-playing-artist {
    display: none;
}

.player-controls .btn-link {
    display: none;
}

.player-controls .btn-link:hover,
.player-controls .btn-link.active {
    display: none;
}

/* Inscription Page Styles */
.auth-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 60px rgba(0,0,0,.1);
    border: 1px solid var(--input-border);
}

.auth-title {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: var(--input-bg);
    border-color: var(--input-focus-border);
    color: var(--input-text);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

/* Style spécifique pour les selects */
select.form-control {
    background-color: var(--input-bg);
    color: var(--input-text);
    cursor: pointer;
    border: 1px solid var(--input-border);
}

select.form-control option {
    background-color: var(--input-bg);
    color: var(--input-text);
    padding: 8px;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-check-label {
    color: var(--text-muted);
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-group .form-control {
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding-right: 40px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--accent-color);
}

.toggle-password i {
    font-size: 1.1rem;
}

.password-strength .progress {
    background-color: var(--input-border);
}

.password-requirements p {
    color: var(--text-muted);
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    color: #ffffff;
    padding: 0.75rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.alert-info {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--text-color);
    border: 1px solid var(--input-border);
}

/* Connexion Page Styles */
.auth-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 60px rgba(0,0,0,.1);
    border: 1px solid var(--input-border);
}

.auth-title {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: var(--input-bg);
    border-color: var(--input-focus-border);
    color: var(--input-text);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.btn-toggle-password {
    color: var(--text-muted);
}

.btn-toggle-password:hover {
    color: var(--text-muted);
}

.form-check-label {
    color: var(--text-muted);
}

.forgot-password {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.section-title h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .theme-toggle {
        display: block !important;
        margin-left: 3.5rem;
        color: var(--accent-color);
        background: none;
        border: none;
        margin-top: 5px;
        padding: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
}

    .theme-toggle:hover {
        color: var(--accent-color);
        transform: none;
    }

    .navbar-left {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .search-toggle {
        margin-left: 0;
    }

    .social-media-icons {
        display: none;
    }
}

/* Styles pour les sous-menus */
.sidebar-submenu {
    display: none;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.sidebar-submenu.show {
    display: block;
}

.submenu-toggle {
    position: relative;
    width: 100%;
}

.submenu-toggle .fa-chevron-down {
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.submenu-toggle.active {
    background-color: var(--sidebar-active);
    color: var(--accent-color);
}

.sidebar-submenu a {
    padding-left: 2.5rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Styles pour la page des releases */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.release-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.release-cover {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.release-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-play:hover {
    background: var(--accent-color);
}

.release-info {
    padding: 1rem;
}

.release-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.release-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.release-info .artist {
    font-weight: 500;
    color: var(--accent-color);
}

.release-info .genre {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.release-info .date {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Styles pour la pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--card-bg);
    color: var(--text-color);
}

.page-item.active .page-link {
    background: var(--accent-color);
    color: white;
}

/* Styles pour le modal */
.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--input-border);
}

.modal-header {
    border-bottom: 1px solid var(--input-border);
}

.modal-footer {
    border-top: 1px solid var(--input-border);
}

.modal-title {
    color: var(--text-color);
}

.btn-close {
    color: var(--text-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .releases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .release-info h5 {
        font-size: 1rem;
    }

    .release-info p {
        font-size: 0.8rem;
    }

    .page-link {
        width: 35px;
        height: 35px;
    }
}

/* Styles pour les statistiques des tracks */
.track-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.track-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.track-stats i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.release-info .album {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.2rem 0;
}

/* Styles pour les selects dans le formulaire */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
}

/* Style pour le bouton de lecture */
.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-play:hover {
    transform: none;
    background: var(--accent-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-play i {
    font-size: 1.2rem;
}
.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #D4AF37; /* Vert néon */
    color: #F5F5F5; /* Blanc cassé */
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-header .left, 
.page-header .right {
    width: 100%;
}

@media (min-width: 992px) { /* Responsive pour les grands écrans */
    .page-header .left {
        width: 50%; /* col-lg-6 */
    }
    .page-header .right {
        width: 50%;
        display: flex;
        justify-content: flex-end;
    }
}

.page-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.page-header h3 i {
    font-size: 1.3rem;
    color: #F5F5F5;
}

.page-header .card-tools {
    display: flex;
    gap: 10px; /* Espacement entre les boutons */
}

.page-header .card-tools .btn {
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
}

.page-header .btn-primary {
    background: #F5F5F5;
    color: #121212;
    border: none;
}

.page-header .btn-primary:hover {
    background: #121212;
    color: #F5F5F5;
}

.page-header .btn-secondary {
    background: #797979;
    color: #F5F5F5;
    border: none;
}

.page-header .btn-secondary:hover {
    background: #F5F5F5;
    color: #121212;
}


/* Personnaliser la barre de défilement */
::-webkit-scrollbar {
    width: 10px; /* Largeur de la barre de défilement */
    height: 10px; /* Hauteur de la barre de défilement horizontale */
}

/* Personnaliser le "thumb" (partie mobile de la barre de défilement) */
::-webkit-scrollbar-thumb {
    background-color: var(--accent-color); /* Couleur du thumb */
    border-radius: 10px; /* Arrondir les bords du thumb */
    border: 3px solid rgba(0, 0, 0, 0.1); /* Ajouter une bordure légère */
}

/* Personnaliser la "track" (partie fixe de la barre de défilement) */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Couleur de fond de la track */
    border-radius: 10px; /* Arrondir les bords de la track */
}

/* Personnaliser la barre de défilement horizontale */
::-webkit-scrollbar-horizontal {
    height: 10px; /* Hauteur de la barre horizontale */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color); /* Couleur du thumb au survol */
}
