/**
 * Styles Généraux - Feuille de style principale
 * 
 * @details Feuille de style principale pour la gestion des listes et interfaces générales.
 *          Définit les styles globaux et les composants réutilisables.
 * 
 * @file public/css/style.css
 * @author Bruno Trinquier (enter@bt-c.net)
 * @copyright 2025 bt-c enter - Tous droits réservés
 * @version 2.0.0
 * @since 02/11/2025 : création
 */
body {
    font-family: var(--text-font-family);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 95vh;
    background: linear-gradient(135deg, #3a5ba0, #6ea8d7 60%, #b0c4d8);
    border-radius: 10px;
    color: #fff;
}

.login-container {
    width: 90%;
    max-width: 400px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
}

.content-container {
    width: 95%;
    min-height: 85%;
    height: 88%;
    max-width: 800px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: 24px;
    scrollbar-color: #6a11cb #f0f0f0;
    margin-top: 5px;
    margin-bottom: 5px;
    align-self: center;
}

.main-container {
    background-color: white;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    width: 95%;
    min-height: 95%;
    height: 95%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.top-content {
    margin-bottom: 20px;
}

.bottom-content {
    margin-top: auto;
}

.admin-link {
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.content-container::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.content-container::-webkit-scrollbar-thumb {
    background-color: #6a11cb;
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

.content-container::-webkit-scrollbar-track {
    background: #6a11cb;
    /* Background of the scrollbar track */
}

.login-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.content-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.main-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}


.content-container h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #6a11cb;
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #6a11cb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #2575fc;
}

.footer {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
}

.footer a {
    color: #6a11cb;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 10px;
    font-size: 12px;
    color: #fff;
}


.judoka-card {
    display: flex;
    flex-direction: row;
    gap: 48px;
    background: #dfeefd;
    box-shadow: 0 2px 8px #0001;
    padding: 32px 40px;
    width: 70%;
    min-width: 600px;
}


.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    /* Utilise toute la largeur de l'écran */
    box-sizing: border-box;
}

.scroll-wrapper {
    position: relative;
    width: 100vw;
    overflow: hidden;
}

.scroll-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    /* Taille réduite */
    color: black;
    background: rgba(255, 255, 255, 0.5);
    /* Fond léger */
    padding: 2px 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.7;
    /* Discrétion */
}

.scroll-hint.left {
    left: 10px;
}

.scroll-hint.right {
    right: 10px;
}

/* Sur desktop uniquement */
@media (min-width: 768px) {
    .scroll-container {
        width: 70vw;
        margin: 0 auto;
        /* centrage horizontal */
        overflow-x: visible;
        /* plus besoin de scroll */
    }

    .judoka-card {
        min-width: unset;
        /* on annule le min-width */
        width: 768px;
    }

    .scroll-hint {
        display: none;
    }
}


/**
 * @endcond
 */