/* Inscription */
.inscription-header {
    text-align: center;
    margin-top: 20px;
    background: linear-gradient(to bottom, #001f3f, #004080);
}

.inscription-header h1 {
    cursor: pointer;
    font-size: 32px;
    color: #004080;
}

.bet {
    color: #ff5733;
}

.alert {
    color: #4CAF50;
}

.inscription-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.inscription-container h2 {
    color: #004080;
}

.inscription-slogan {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
}

/* Formulaire */
.inscription-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
    color: #777;
}

/* Applique la largeur 90% uniquement aux champs texte, email, mot de passe, etc. */
.inscription-form input[type="text"],
.inscription-form input[type="email"],
.inscription-form input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Checkbox aligné au centre */
.inscription-checkbox-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.inscription-checkbox-label {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

/* Style spécifique pour le checkbox */
.inscription-checkbox-container input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

/* Bouton d'inscription */
.inscription-btn {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.inscription-btn:hover {
    background-color: #45a049;
}





/* Notifications Container */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1rem;
    color: white;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, transform 0.5s;
}

/* Types of Notifications */
.notification.success {
    background-color: #28a745;
    /* Vert pour succès */
}

.notification.error {
    background-color: #dc3545;
    /* Rouge pour erreur */
}

.notification.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.notification.hide {
    opacity: 0;
    transform: translateY(-20px);
}


.titre {
    margin: 3%;
}

.center {
    justify-content: center;
}

#ici {
    color: #ffe96d;
}

ul {
    list-style-type: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: #f8f9fa;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
}

header img {
    width: 150px;
}

.header-container {
    display: flex;
    align-items: center;
}

.banner {
    display: flex;
    justify-content: space-between;
    /* Aligne les éléments à gauche, centre et droite */
    align-items: center;
    /* Centre les éléments verticalement */
    background: linear-gradient(to bottom, #001f3f, #004080);
    width: 100%;
}

.banner img {
    height: 50px;
    /* Ajuste selon la taille du logo */
    margin-right: 15px;
}

.banner h1 {
    font-size: 2.5em;
    color: white;
    cursor: pointer;
    margin: 1%;
    /* Supprime la marge par défaut */
}

.banner p {
    font-size: 1.125rem;
    color: #666;
}

form {
    margin-top: 20px;
}

input[type="text"],
input[type="tel"],
input[type="number"] {
    padding: 10px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    padding: 12px 20px;
    background-color: blue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: darkblue;
}

.hidden {
    display: none;
}

.bet {
    color: white;
}

.alert {
    color: #ffe96d;
    /* La même couleur que la cloche */
}

.login-btn {
    background-color: transparent;
    /* Fond transparent */
    color: white;
    /* Couleur du texte */
    border: 2px solid #ffe96d;
    /* Bordure colorée */
    padding: 10px 20px;
    border-radius: 25px;
    margin-right: 1%;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Transition pour l'effet survol */
}

.login-btn:hover {
    background-color: #ffe96d;
    /* Couleur de fond au survol */
    color: blue;
    /* Couleur du texte au survol */
}

.banner .pricing-text {
    font-size: 1.2em;
    color: white;
    text-align: center;
    cursor: pointer;
    margin: 0;
    /* Supprime la marge par défaut */
}

.banner .pricing-text:hover {
    color: #ffe96d;
    /* Couleur du texte au survol */
}

/* Centrer les éléments de la section content */
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f9fa;
    color: #333;
    align-items: center;
    /* Hauteur minimale pour centrer verticalement */
    text-align: center;
    padding: 20px;
    /* Ajoute un espace intérieur autour du texte */
    margin: 0 auto;
    /* Centre la section sur la page */
    text-align: justify;
    /* Justifie le texte pour un aspect plus propre */
    line-height: 1.6;
}



.pricing-section {
    text-align: center;
    background-color: #f8f9fa;
    color: #333;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 3%;
    margin-top: 2%;
}

.pricing-plan {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.pricing-plan h3 {
    font-size: 24px;
    color: #001f3f;
}

.pricing-plan p {
    font-size: 18px;
    color: #666;
}

.pricing-plan button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

.pricing-plan button:hover {
    background-color: #001f3f;
}

.trial-offer {
    max-width: 600px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.trial-offer h1 {
    color: #004080;
    font-size: 2rem;
}

.trial-offer p {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}


.trial-submit-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
    color: white;
    background-color: #004080;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px;
    transition: background-color 0.3s ease;
}

.trial-submit-btn:hover {
    background-color: #003366;
}

.terms-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 20px;
}

.texte {
    max-width: 800px;
}

h2 {
    text-align: center;
}

.trial {
    background-color: #f8f9fa;
}

.essai {
    font-weight: bold;
}

/* Styles pour la section d'offre d'essai */
.trial-form label {
    display: flex;
    align-items: center;
    color: #333;
    margin: 15px 0;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.trial-form label:hover {
    background-color: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trial-form input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #004080;
    border-radius: 50%;
    margin-right: 15px;
    outline: none;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.trial-form input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #004080;
    border-radius: 50%;
    transform: scale(0) translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.trial-form input[type="radio"]:checked::before {
    transform: scale(1) translate(-50%, -50%);
}

.trial-form input[type="radio"]:hover {
    border-color: #003366;
}

.trial-form input[type="radio"]:checked {
    background-color: #e6f0ff;
    border-color: #003366;
}

.modalSubmitButton {
    background-color: #004080;
}

/* Styles pour un tableau plus esthétique */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: white;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    /* Pour les bordures arrondies */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

th {
    background-color: #004080;
    /* Couleur de la bannière */
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
    /* Couleur de fond alternée */
}

tr:hover {
    background-color: #e6f0ff;
    /* Couleur au survol */
    transition: background-color 0.3s ease;
}

td {
    font-size: 0.95rem;
    color: #555;
}

table caption {
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #004080;
    text-align: center;
}

/* Effet spécial sur le premier et dernier tr */
tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Styles pour les boutons dans la colonne */
table button {
    padding: 8px 12px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

table button:hover {
    background-color: #003366;
    transform: scale(1.05);
    /* Légère mise en relief au survol */
}

table td button {
    margin: 0;
    /* Ajustement pour éviter les décalages */
}

/* Harmonisation des colonnes ID et MAJ */
table th:first-child,
table td:first-child {
    text-align: center;
    /* Centrer le contenu des colonnes ID */
    width: 5%;
    /* Largeur relative pour l'ID */
}

table th:last-child,
table td:last-child {
    text-align: center;
    /* Centrer les boutons dans la colonne MAJ */
    width: 15%;
    /* Largeur relative pour la colonne des boutons */
}

/* Ajustement spécifique pour le tableau des équipes */
#teamsTable {
    margin: 30px auto;
    /* Ajout d'un espacement spécifique */
    width: 95%;
    /* Adaptation pour s'ajuster aux écrans plus larges */
}

/* Styles des boutons de ligue */
.league-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Espacement entre les boutons */
    margin: 20px 0;
}

.league-buttons button {
    background-color: #004080;
    /* Bleu sombre pour correspondre à la charte */
    color: white;
    /* Texte blanc */
    border: none;
    border-radius: 10px;
    /* Coins légèrement arrondis */
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Transition pour les effets au survol */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Ombre légère */
    text-transform: uppercase;
    /* Texte en majuscules pour un effet pro */
}

.league-buttons button:hover {
    background-color: #003366;
    /* Bleu encore plus sombre au survol */
    transform: translateY(-3px);
    /* Léger soulèvement au survol */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    /* Ombre plus prononcée */
}

.league-buttons button:active {
    transform: translateY(2px);
    /* Enfoncement à l'appui */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Ombre plus légère */
}


/* Styles du bouton actif */
.league-buttons button.active {
    background-color: #ffe96d;
    color: #004080;
}

/* Style de l'alerte centrée */
#custom-alert {
    position: fixed;
    top: 20px;
    /* Toujours en haut de l'écran */
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    /* Centrer horizontalement et animer verticalement */
    background-color: #4CAF50;
    /* Vert pour succès */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Masquer l'alerte */
#custom-alert.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Apparence lors de l'affichage */
#custom-alert.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    /* Afficher avec animation fluide */
}


/* Ajout d'une animation subtile */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#progress-container {
    text-align: center;
}

#update-progress {
    appearance: none;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f3f3f3;
}

#update-progress::-webkit-progress-bar {
    background-color: #f3f3f3;
    border-radius: 5px;
}

#update-progress::-webkit-progress-value {
    background-color: #4caf50;
    border-radius: 5px;
}

#progress-text {
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

#league-title {
    display: none;
}

#teamsTable {
    margin-bottom: 20px;
    /* Ajustez la valeur selon vos besoins */
}

/* css prematch */
h1 {
    color: #555;
}

/* Bouton principal */
#fetch-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #004080;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#fetch-button:hover {
    background-color: #0056b3;
}

/* Conteneur principal */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    color: #555;
    flex: 1;
}

/* Styles pour les titres de ligue */
h2 {
    font-size: 1.5rem;
    color: #004080;
    margin-bottom: 10px;
    display: flex;
    /*   justify-content: space-between; */
    align-items: center;
}

h2 .country {
    font-style: italic;
    color: #888;
    font-size: 1rem;
}

/* Styles pour les matchs */
.match {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Détails du match */
.match p {
    margin: 5px 0;
    color: #555;
    font-size: 1rem;
}

/* Styles pour le tableau des matchs */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

td {
    font-size: 0.95rem;
    color: #555;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #004080;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px;
    text-align: center;
}

table caption {
    margin: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #004080;
    text-align: center;
}

ul {
    color: #555;
}

/* Boutons */
.btn {
    background-color: #004080;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px;
}

.btn:hover {
    background-color: #003366;
}

/* Alertes personnalisées */
#custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #ff4d4d;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.hidden {
    display: none;
}

/* Cacher la première colonne du tableau */
#teamsTable th:first-child,
#teamsTable td:first-child {
    display: none;
}

/* Chargement */
#loadingIndicator {
    text-align: center;
    font-size: 1.2rem;
    color: #004080;
    margin: 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Assure que le body et le html prennent toute la hauteur */
html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Footer fixé en bas */
footer {
    width: 100%;
    background: linear-gradient(to bottom, #001f3f, #004080);
    color: white;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
.footer-links a {
    color: inherit;
}

/* ============================= */
/* MODALE DE CONNEXION */
/* ============================= */

/* Arrière-plan semi-transparent */
.modal-overlay {
    display: none;
    /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Fond sombre semi-transparent */
    z-index: 999;
    /* Derrière la modale */
    justify-content: center;
    align-items: center;
}

/* Conteneur de la modale */
.modal {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    background: white;
    margin-top: 15%;
    padding: 20px;
    width: 50%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #555;
}

/* Titre de la modale */
.modal h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #004080;
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

.close:hover {
    color: black;
}

/* Formulaire dans la modale */
.modal form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Champs du formulaire */
.modal label {
    align-self: flex-start;
    /* Aligne les labels à gauche */
    margin-bottom: 5px;
    font-weight: bold;
}

.modal input {
    width: 100%;
    max-width: 350px;
    /* Évite que l'input soit trop large */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    /* Empêche tout débordement */
}

/* Bouton de connexion */
.modal button {
    background: #004080;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal button:hover {
    background: #002f5f;
}

/* Lien d'inscription */
.modal p {
    margin-top: 10px;
    font-size: 14px;
}

.modal p a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

.modal p a:hover {
    text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */
@media screen and (max-width: 600px) {
    .modal {
        width: 90%;
        padding: 15px;
    }

    .modal h2 {
        font-size: 20px;
    }

    .modal input,
    .modal button {
        font-size: 14px;
        padding: 8px;
    }
}

#teamStatsModal {
    position: fixed;
    /* Fixe la modale par rapport à la fenêtre */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centre la modale */
    width: 300px;
    /* Ajuste la largeur si nécessaire */
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    /* Cachée par défaut */
    z-index: 1000;
    /* Assure que la modale est au-dessus des autres éléments */
}

#teamStatsModal .modal-content {
    text-align: center;
}

#teamStatsModal .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Fond noir transparent */
    display: none;
    z-index: 999;
    /* Juste en dessous de la modale */
}

.highlight {
    font-weight: bold;
    color: #28a745;
}

/* Bouton Menu Hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 15;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
    transition: all 0.3s;
}

/* Menu déroulant */
.nav-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
    transition: all 0.5s ease;
}

/* Responsive 📱 */
@media (max-width: 768px) {
    .pricing-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* Si tu veux réduire l'espace entre les éléments */
    }

    .pricing-plan {
        background-color: white;
        padding: 2%;
        margin: 3%;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        width: 70%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 17%;
        right: 21%;
        background: linear-gradient(to bottom, #001f3f, #004080);
        padding: 1%;
        border-radius: 5px;
        width: 51%;
        z-index: 10;

        /* Animation */
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
        flex-direction: column;
    }

    .nav-links.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    /* Animation hamburger en croix */
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .banner .pricing-text {
        font-size: 1.2em;
        color: white;
        text-align: center;
        cursor: pointer;
        margin: 2%;
    }
}

/* Styles pour l'affichage amélioré des matchs */
.match-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.match-analysis {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.form-info {
    background: #e8f4fd;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.last-matches {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.last-matches div {
    padding: 3px 0;
    font-size: 13px;
    color: #666;
}

.stats-info {
    background: #fff3cd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.stats-info div {
    margin-bottom: 5px;
    font-size: 14px;
}

.stats-info div:last-child {
    margin-bottom: 0;
}

/* ============================= */
/* APPROCHE STATISTIQUE STYLES */
/* ============================= */

.statistical-approach {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 2px solid #5a67d8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.statistical-approach::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.statistical-approach h4 {
    color: #fff;
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-row {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stats-row:last-child {
    margin-bottom: 0;
}

.stats-row strong {
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* Styles pour les probabilités */
.stats-row div {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 8px;
    border-radius: 5px;
    margin-top: 3px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.stats-row span {
    color: #f0f8ff;
    font-weight: 500;
}

/* Indicateur pour les données non disponibles */
.statistical-approach p[style*="color: #666"] {
    color: #e2e8f0 !important;
    font-style: italic;
    text-align: center;
    margin: 10px 0;
    opacity: 0.8;
}

/* Animation d'apparition */
@keyframes slideInStats {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.statistical-approach {
    animation: slideInStats 0.5s ease-out;
}

/* Émojis spacing */
.statistical-approach h4::before,
.stats-row strong::before {
    margin-right: 5px;
}

/* Hover effect */
.statistical-approach:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Responsive pour l'approche statistique */
@media (max-width: 768px) {
    .statistical-approach {
        padding: 12px;
        margin-top: 12px;
    }

    .statistical-approach h4 {
        font-size: 14px;
    }

    .stats-row {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .stats-row div {
        padding: 4px 6px;
        font-size: 11px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .match-info {
        padding: 10px;
    }

    .form-info,
    .last-matches,
    .stats-info {
        padding: 8px;
        font-size: 13px;
    }
}