

body.manage {
    max-width: 480px;
}

body.manage_wide {
    max-width: 90%;
}


body.manage,
body.manage_wide {
    margin: 40px auto;
    padding: 24px 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

    h1 {
        text-align: center;
        margin-bottom: 24px;
        color: #333;
    }

    h2 {
        font-size: 1.4rem;
        font-weight: 600;
        margin: 16px 0 12px 0;
        border-left: 4px solid var(--principal);
        padding-left: 10px;
        text-transform: uppercase;   /* effet hiérarchique propre */
        letter-spacing: 0.5px;
        color: #333;
        border-bottom: 2px solid #ddd;
        padding-bottom: 6px;
    }



    /* close-page */
    #close-page {
        position: fixed;
        top: 16px;
        right: 16px;
        font-size: 24px;
        cursor: pointer;
        z-index: 1000; /* pour qu'elle soit au-dessus de tout */
        padding: 50px;
    }



    /* Champ de saisie pour un paramètre */
    .parametre {
        margin-bottom: 18px;

        label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #444;
        }

        select,
        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="tel"],
        input[type="number"] {
            width: 100%;
            padding: 10px 14px;
            border: 1.8px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.25s ease-in-out;
        }

        input:focus {
            border-color: #007BFF;
            outline: none;
            box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
        }

        /* Date de naissance champs séparés */
        input[type="number"] {
            display: inline-block;
            width: 30%;
            margin-right: 4%;
        }

        input[type="number"]:last-child {
            margin-right: 0;
        }

        textarea {
            width: 100%;
            padding: 10px 14px;
            border: 1.8px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
            line-height: 1.5;
            overflow-y: hidden; /* empêche la barre de défilement */
            resize: vertical; /* permet le redimensionnement vertical uniquement */
            transition: border-color 0.25s ease-in-out;
        }

        textarea:focus {
            border-color: #007BFF;
            outline: none;
        }

        small {
            display: block;
            font-size: 0.8em;
            color: #999;
        }
    }



    /* Bouton */
    button[type="submit"] {
        width: 100%;
        padding: 12px 0;
        background-color: #007BFF;
        border: none;
        border-radius: 6px;
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }

    button[type="submit"]:hover {
        background-color: #0056b3;
    }



    /* Texte bas de page */
    p {
        text-align: center;
        margin-top: 22px;
        font-size: 0.9rem;
        color: #555;

        a {
            color: #007BFF;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
    }














    /* Responsive */
    @media (max-width: 480px) {
        .container {
            margin: 20px 12px;
            padding: 20px;
        }

        input[type="number"] {
            width: 30%;
            margin-right: 2%;
        }
    }

}