@media (max-width: 575.98px) {
    .comment-section,
    .comments-list {
        padding: 1rem 0.5rem !important;
        font-size: 0.98rem !important;
        border-radius: 0.7rem !important;
    }
    .comment-heading {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    .comment {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    .comment-avatar {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
    .comment-avatar img {
        width: 40px !important;
        height: 40px !important;
    }
    .comment-content {
        width: 100% !important;
    }
    .comment-author {
        font-size: 1rem !important;
    }
    .comment-date {
        font-size: 0.85rem !important;
    }
    .comment-text {
        font-size: 0.98rem !important;
        margin-top: 0.3rem !important;
    }
}
@media (max-width: 575.98px) {
    .article-body {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        word-break: break-word;
        padding: 0.5rem 0.2rem !important;
    }
    .article-body p, .article-body blockquote {
        font-size: 0.98rem !important;
        margin-bottom: 0.8rem !important;
    }
}
@media (max-width: 575.98px) {
    .blog-post img {
        width: 100% !important;
        height: auto !important;
        max-height: 180px !important;
        object-fit: cover !important;
        border-radius: 0.7rem !important;
        margin-bottom: 1rem !important;
    }
}
@media (max-width: 575.98px) {
    .article-post img {
        width: 100% !important;
        height: auto !important;
        max-height: 180px !important;
        object-fit: cover !important;
        border-radius: 0.7rem !important;
        margin-bottom: 1rem !important;
    }
}
@media (max-width: 575.98px) {
    .teams-gallery-section .team-logo-thumb,
    .teams-gallery-section .team-logo-thumb:hover {
        opacity: 1 !important;
        filter: none !important;
        transition: none !important;
    }
}

@media (max-width: 575.98px) {
    .history-section, .matches-section, .blog-main-content, .single-article-content, .contact-section, .classement-section {
        margin-top: 0 !important;
        padding-top: 1.5rem !important;
    }
}
@media (max-width: 575.98px) {
    .section-title, .blog-post-title, .article-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }
}
@media (min-width: 992px) {
    .sidebar {
        position: sticky;
        top: 110px;
        z-index: 2;
    }
}
/* Corps et polices générales */
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}


/* --- Section En-tête --- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-text {
    color: white;
    font-size: 1.25rem;
}

.nav .nav-link {
    color: white;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav .nav-link.active,
.nav .nav-link:hover {
    opacity: 1;
    color: white; /* Assure que le survol fonctionne correctement */
}


/* Bouton "S'inscrire" */
.get-started-btn {
    background-color: #f75841;
    border-color: #f75841;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    background-color: #e54c34;
    border-color: #e54c34;
}

/* Bouton de navigation mobile */
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Section Héros (Hero) --- */
.hero-section {
    min-height: 100vh;
    background-image: linear-gradient(to right, #240046, #690069, #A91370, #F75841);
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px; /* Ajoute un rembourrage supérieur pour l'en-tête */
}

/* Motif sur le côté droit */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('images/image-1-4.jpg');
    background-size: 100px 100px;
    background-position: 10% 50%, 90% 50%;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.3;
}

/* Contenu textuel du héros */
.hero-text-content {
    position: relative;
    z-index: 2;
    /* padding-left: 5rem; Augmentez cette valeur pour pousser le texte vers la droite */
}
.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f75841;
    margin-bottom: 1rem;
}

.main-heading {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
}

.feature-item {
    font-weight: 500;
    font-size: 1.1rem;
    color: #f75841;
}

.feature-item i {
    color: white;
    background-color: #f75841;
    padding: 5px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.description {
    max-width: 550px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Boutons d'appel à l'action */
.join-club-btn {
    background-color: #240046;
    border: 2px solid #240046;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.join-club-btn:hover {
    background-color: #1a0030;
    border-color: #1a0030;
}

.view-schedule-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.view-schedule-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Conteneur de l'image du héros */


/* --- Conception Réactive --- */
@media (max-width: 991.98px) {
    .header {
        position: relative; /* Rétablit la position de l'en-tête pour le mobile */
        background-color: #240046; /* Ajoute une couleur de fond solide pour l'en-tête mobile */
    }
    .main-heading {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 60px 0;
        text-align: center;
        min-height: auto;
    }
    .hero-image-container {
        display: none; /* Cache la grande image sur les écrans plus petits */
    }
    .hero-text-content {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }
    .cta-buttons {
        justify-content: center;
    }
    .feature-item {
        margin-right: 1rem !important;
        margin-left: 1rem !important;
    }
}

/* --- Section "À Propos" --- */
.about-section {
    background-color: #f8f9fa;
    color: #343a40;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #240046;
}

.title-hr {
    border: 0;
    height: 4px;
    width: 60px;
    background-color: #f75841;
    opacity: 1;
}

.about-text-content p {
    line-height: 1.8;
}

/* Styles pour les cartes */
.about-card {
    border: none;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.card-icon {
    font-size: 2.5rem;
    color: #f75841;
}

.card-title {
    color: #240046;
}

/* --- Section Partenaires --- */
.partners-section {
    background-color: #dadada; /* Même couleur de fond que la section précédente pour la cohérence */
}

.partner-logo {
    max-height: 100px; /* Taille maximale pour les logos */
    opacity: 0.6; /* Les logos sont légèrement estompés */
    filter: grayscale(100%); /* Les logos sont en noir et blanc */
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logo:hover {
    opacity: 1; /* L'opacité redevient normale au survol */
    filter: grayscale(0%); /* L'image redevient colorée au survol */
}

/* Ajustement pour les titres de section, pour une meilleure cohérence */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #240046;
}

.title-hr {
    border: 0;
    height: 4px;
    width: 60px;
    background-color: #f75841;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
}
/* --- Section "Balezi Interculturel" --- */
.balezi-section {
    background-color: #ffffff; /* Fond blanc pour faire contraster avec les autres sections */
    color: #343a40;
}

.balezi-text-content p {
    line-height: 1.8;
}

.balezi-logo {
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.balezi-btn {
    background-color: #240046;
    border-color: #240046;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.balezi-btn:hover {
    transform: translateY(-2px);
    background-color: #1a0030;
    border-color: #1a0030;
}

/* --- Section Équipes --- */
/* --- Section Équipes - Style Galerie --- */
.teams-gallery-section {
    background-color: #dadada; /* Fond blanc pour faire contraster avec les autres sections */
}

.team-logo-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* Taille fixe pour une grille uniforme */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 575.98px) {
    .teams-gallery-section .team-logo-card {
        flex-direction: column;
        height: auto;
        min-height: 120px;
        padding: 0.75rem 0.5rem;
    }
    .teams-gallery-section .team-logo-thumb {
        max-width: 70%;
        max-height: 60px;
        margin-bottom: 0.5rem;
    }
    .teams-gallery-section .team-name {
        font-size: 1rem;
        margin-top: 0;
        word-break: break-word;
        white-space: normal;
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }
}

.team-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.team-logo-thumb {
    max-width: 80%;
    max-height: 100px;
    filter: grayscale(100%); /* Les logos sont en noir et blanc par défaut */
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.team-logo-card:hover .team-logo-thumb {
    filter: grayscale(0%); /* L'image redevient colorée au survol */
    opacity: 1;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #240046;
    margin-top: 0.5rem; /* Espace entre le logo et le nom */
    text-align: center;
}

/* --- Section Pied de Page --- */
.footer-section {
    background-color: #0d1226;
    color: #fff;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    color: #fff;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f75841; /* Couleur orange pour le titre */
}

/* Styles pour les icônes sociales */
.social-icon-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

.social-icon-link:hover {
    background-color: #f75841;
}

/* Styles pour les liens */
.footer-links li a,
.footer-contact-info li {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links li a:hover {
    opacity: 1;
    color: #f75841;
}

.footer-contact-info li i {
    color: #f75841;
}

/* Styles pour la newsletter */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    border-color: #f75841;
}

.btn-subscribe {
    background-color: #f75841;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #e54c34;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Réajustement pour le mobile */
@media (max-width: 767.98px) {
    .footer-heading {
        margin-top: 1.5rem;
    }
}

/* --- Sections de la page "À Propos" --- */

/* Style pour la section histoire */
.history-section {
    background-color: #f8f9fa;
    padding-top: 100px; /* Pour laisser de l'espace sous la barre de navigation */
}
.history-text-content p {
    line-height: 1.8;
}

/* Style de l'image dans la section histoire */
.history-section img {
    border-radius: 1rem;
}

/* Réutilisation des styles de titre pour la cohérence */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #240046;
}

.title-hr {
    border: 0;
    height: 4px;
    width: 60px;
    background-color: #f75841;
    opacity: 1;
}

/* --- Section "Comment se Déroule" --- */
.how-it-works-section {
    background-color: #ffffff;
}

.step-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    height: 100%; /* S'assure que toutes les cartes ont la même hauteur */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.step-icon {
    font-size: 3rem;
    color: #f75841; /* Couleur orange des icônes */
}

.step-title {
    font-weight: 700;
    color: #240046;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.95rem;
    color: #6c757d;
}

/* --- Section "Prix à Gagner" --- */
.prizes-section {
    background-color: #f8f9fa;
}

.prize-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.prize-icon {
    font-size: 3rem;
    color: #240046; /* Utilisation du violet pour les icônes */
}

.prize-title {
    font-weight: 700;
    color: #f75841; /* Utilisation de l'orange pour les titres */
    margin-bottom: 0.5rem;
}

.prize-description {
    font-size: 0.95rem;
    color: #6c757d;
}

/* --- Styles de la page Blog --- */
.blog-main-content {
    background-color: #f8f9fa;
    padding-top: 100px;
}

.blog-post {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.blog-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.blog-meta i {
    color: #f75841;
}

.blog-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #240046;
}

.blog-post-excerpt {
    line-height: 1.6;
    color: #495057;
}

.read-more-btn {
    color: #f75841;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.read-more-btn:hover {
    color: #a91370;
}

/* Styles pour la barre latérale */
.sidebar {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #240046;
    border-bottom: 2px solid #f75841;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-links li a {
    color: #495057;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.sidebar-links li a:hover {
    color: #f75841;
}
.sidebar-links li a i {
    color: #f75841;
}

.recent-posts li {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
.recent-posts li:hover {
    background-color: #e9ecef;
}

.recent-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.recent-post-link {
    font-weight: 500;
    color: #240046;
    text-decoration: none;
}
.recent-post-link:hover {
    color: #f75841;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Styles de la pagination */
.pagination .page-link {
    color: #240046;
    border: none;
    border-radius: 50px;
    margin: 0 0.25rem;
}
.pagination .page-item.active .page-link {
    background-color: #f75841;
    border-color: #f75841;
    color: #fff;
}
.pagination .page-link:hover {
    background-color: #f75841;
    color: #fff;
}
/* --- Styles de la page d'article individuel --- */
.single-article-content {
    background-color: #f8f9fa;
    padding-top: 100px;
}

.article-post {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.article-image {
    max-height: 400px;
    object-fit: cover;
}

.article-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #240046;
    margin-bottom: 1.5rem;
}

.article-body p {
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

/* Style pour la citation */
blockquote {
    border-left: 4px solid #f75841;
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Style pour la section des commentaires */
.comment-section .form-label {
    font-weight: 600;
    color: #240046;
}

.comment-btn {
    background-color: #f75841;
    border-color: #f75841;
    font-weight: 600;
}

.comment-btn:hover {
    background-color: #e54c34;
    border-color: #e54c34;
}

/* Style de l'affichage des commentaires */
.comment-heading {
    font-weight: 700;
    color: #240046;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.comment-content {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    flex-grow: 1; /* Permet au contenu de prendre le reste de l'espace */
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: #240046;
    margin-bottom: 0.2rem;
}

.comment-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.comment-text {
    line-height: 1.6;
    color: #495057;
}
/* --- Styles pour la barre latérale des commentaires --- */
.comment-section,
.comments-list {
    background-color: #fff; /* Fond blanc pour les deux sections */
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.comment-section {
    padding: 2rem;
}

.comments-list {
    padding: 2rem;
     /* Les nouvelles règles pour le défilement */
    max-height: 500px; /* Définissez la hauteur maximale du bloc */
    overflow-y: auto;  /* Permet le défilement vertical si le contenu dépasse */

}

/* Vous pouvez aussi ajuster les marges pour mieux les aligner */
.article-post {
    padding: 3rem;
}
/* --- Styles de la page de contact --- */
.contact-section {
    background-color: #f8f9fa;
    padding-top: 100px;
}

.contact-form-container,
.contact-info-container {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.form-title,
.info-title {
    font-weight: 700;
    color: #240046;
}

/* Nous allons nous assurer que les champs de formulaire sont clairs */
.form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    border-radius: 2px;
    
}

.form-control:focus {
    background-color: #fff;
    border-color: #f75841;
    box-shadow: 0 0 0 0.25rem rgba(247, 88, 65, 0.25);
}

.contact-btn {
    background-color: #f75841;
    border-color: #f75841;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #e54c34;
    border-color: #e54c34;
}

/* Styles pour la colonne d'informations */
.contact-icon {
    font-size: 1.5rem;
    color: #f75841;
}

.info-label {
    font-weight: 600;
    color: #240046;
}

.info-text {
    font-size: 0.95rem;
    color: #495057;
}

.social-icon-link {
    color: #fff;
    text-decoration: none;
    background-color: #240046;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon-link:hover {
    background-color: #f75841;
}

@media (max-width: 991.98px) {
    .contact-form-container,
    .contact-info-container {
        padding: 2rem;
    }
}
/* --- Styles de la page Matchs --- */
.matches-section {
    background-color: #f8f9fa;
    padding-top: 100px;
}

.match-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.match-meta {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-logo {
    max-width: 80px;
    height: auto;
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    color: #240046;
}

.score-display {
    padding: 0 2rem;
}

.score-text {
    font-size: 2rem;
    font-weight: 700;
    color: #f75841;
}

.match-status {
    font-weight: 600;
    color: #240046;
}

.match-date-time {
    font-size: 0.9rem;
    color: #6c757d;
}
.match-date-time i {
    color: #f75841;
}

@media (max-width: 767.98px) {
    .match-score {
        flex-direction: column;
    }
    .score-display {
        padding: 1rem 0;
    }
    .team-info {
        margin: 0;
    }
}
/* --- Styles pour les matchs terminés --- */
.match-card.completed {
    background-color: #ffffff; /* Fond plus foncé pour les matchs terminés */
}

/* Styles pour le score */
.match-card.completed .score-text {
    font-size: 3rem;
    color: #240046;
}

/* Styles pour les buteurs */
.match-scorers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.scorer-list {
    text-align: left;
    flex-grow: 1;
}

.scorer-list p {
    margin: 0;
    line-height: 1.5;
}

.scorer-divider {
    width: 2px;
    height: 100%;
    min-height: 40px; /* Hauteur minimale de la ligne */
    background-color: #ffffff;
    margin: 0 1.5rem;
}

/* --- Styles de la page Classement --- */
.classement-section {
    background-color: #f0f0f0;
    padding-top: 100px;
}

.classement-card {
    background-color: #ffffff; /* Fond bleu très foncé, plus proche de l'image */
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.classement-title {
    font-weight: 700;
    color: #1a2233;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.classement-table {
    border-collapse: collapse;
    width: 100%;
}

.classement-table thead tr {
    background-color: rgba(255, 255, 255, 0.05);
}

.classement-table th,
.classement-table td {
    padding: 1rem 0.75rem;
    border: none;
    vertical-align: middle;
    text-align: right; /* Aligne le texte à droite par défaut */
}

.classement-table th.team-col,
.classement-table td.team-cell {
    text-align: left; /* Aligne l'équipe à gauche */
}

.classement-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.classement-table .team-cell {
    display: flex;
    align-items: center;
}

.classement-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.classement-table .team-name {
    font-size: 1rem;
}

/* Surbrillance de la première ligne */
.classement-table tbody tr:first-child .rank-cell,
.classement-table tbody tr:first-child .team-cell,
.classement-table tbody tr:first-child td {
    background-color: rgba(197, 8, 8, 0.1);
    color: #fff;
}

/* --- Styles de la page d'inscription --- */
.inscription-section {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important; /* Supprime le padding-top si présent */
    padding-bottom: 0 !important;
}

.inscription-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.inscription-card .section-title {
    font-weight: 700;
    color: #240046;
}

.inscription-card .form-label {
    font-weight: 600;
    color: #240046;
}

.inscription-btn {
    background-color: #f75841;
    border-color: #f75841;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease;
}

.inscription-btn:hover {
    background-color: #e54c34;
    border-color: #e54c34;
}

/* Styles pour les champs de saisie */
.form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.form-control:focus {
    background-color: #fff;
    border-color: #f75841;
    box-shadow: 0 0 0 0.25rem rgba(247, 88, 65, 0.25);
}

/* --- Styles de la page Tombola --- */
.tombola-header-section {
    background-color: #240046;
    color: #fff;
    padding: 100px 0 50px;
}

.tombola-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    height: 100%; /* S'assure que les cartes ont la même hauteur */
}

.tombola-card .card-title {
    font-weight: 700;
    color: #240046;
}

.tombola-btn {
    background-color: #f75841;
    border-color: #f75841;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.tombola-btn:hover {
    background-color: #e54c34;
    border-color: #e54c34;
}

/* Styles pour le compte à rebours */
.countdown-display {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f75841;
}

.countdown-item {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Styles pour la liste des prix */
.prizes-list .fa-trophy, .fa-tshirt, .fa-futbol {
    color: #240046;
}
.prize-text {
    font-weight: 500;
    color: #495057;
}

@media (max-width: 575.98px) {
  .sidebar .row {
    flex-direction: column !important;
  }
  .sidebar .col-lg-6 {
    max-width: 100%;
    flex: 0 0 100%;
    text-align: left !important;
    margin-bottom: 0.25rem;
  }
  .sidebar .col-lg-6.text-end {
    text-align: right !important;
  }
}
.form-control::placeholder {
    color: #888 !important;
    opacity: 1;
}