html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: relative;
}

.banner-logo {
    height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.footer-main {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 40px 0 25px 0;
    margin-top: auto;
    font-size: 0.9rem;
}

    .footer-main h5 {
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

.footer-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 7px;
    }

    .footer-links a {
        color: #495057;
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

.footer-disclaimer {
    color: #6c757d;
    line-height: 1.5;
}

.footer-copyright {
    margin-top: 15px;
    font-weight: 500;
}

/* Barre située sous la bannière */
.top-links-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}


/* Lien de chaque colonne */
.top-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}


    /* Pictogramme */
    .top-link i {
        font-size: 1.4rem;
    }


    /* Survol */
    .top-link:hover {
        background-color: #f5f5f5;
        color: #000;
    }
@media (max-width: 576px) {

    .top-link {
        gap: 5px;
        padding: 10px 3px;
        font-size: 0.8rem;
    }

        .top-link i {
            font-size: 1.1rem;
        }
}

.language-selector {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1000;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 130px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flag {
    width: 28px;
    height: 19px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.euro-numero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .euro-numero-link:hover {
        transform: scale(1.15);
        filter: brightness(1.15) drop-shadow(0 3px 5px rgba(0,0,0,0.25));
    }

    .euro-numero-link:active {
        transform: scale(0.95);
    }

    .euro-numero-link:focus-visible {
        outline: 3px solid #0d6efd;
        outline-offset: 3px;
    }

@media (prefers-reduced-motion: reduce) {
    .euro-numero-link {
        transition: none;
    }
}

/* Boule principale sur la page de statistiques */
.numero-detail-boule {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0 35px;
}

    .numero-detail-boule .euro-boule {
        width: 120px;
        height: 120px;
    }

/* Étoile principale sur la page de statistiques */
.etoile-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0 35px;
}

    .etoile-detail .euro-etoile {
        width: 120px;
        height: 120px;
    }

/* Grille des numéros et étoiles */
.statistiques-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    justify-items: center;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

    /* Taille des SVG */
    .statistiques-grid .euro-boule,
    .statistiques-grid .euro-etoile {
        width: 60px;
        height: 60px;
    }

/* Tablette */
@media (max-width: 991px) {
    .statistiques-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .statistiques-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

        .statistiques-grid .euro-boule,
        .statistiques-grid .euro-etoile {
            width: 48px;
            height: 48px;
        }
}

