div.inscription {
    background-image: url('../../img/footer-full.jpeg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    padding-top: 50px;
    padding-bottom: 10%;
}

form {
    position: relative;
    max-width: 100%; 
    margin: 0 auto;
    overflow: hidden;
    color : #333;
    opacity: 0.95;
    min-height: 30vh;
}

/* Champs de texte */
form textarea {
    width: 100%; 
    padding: 15px; 
    box-sizing: border-box;
    height: 200px;
}

form input {
    width: 100%;
    padding: 15px; 
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Listes déroulantes */
form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* HeadPage */

div.headerinscription {
    width: 100%;
    height: 200px; /* Adjust as needed */
    background: url('../../img/women-fitness.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-bottom: 5px solid black;
}

div.headerinscription h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}


/* Boutons */
form button {
    width: 100%; 
    background: #3498db;
    color: #fff;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background: #2185d0;
}

.policy {
    height: 300px;
    overflow-y: auto;
    background: white;
    font-size: 12px;
    border: 1px #dddddd solid;
    width: 99%;
}


button.btn {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #555;
    transition: background-color 0.3s ease, transform 1.5s ease; 
    width: 100%;
    cursor: pointer;
    margin-bottom: 20px;
}

button.btn:disabled {
    background-color: #ccc; 
    color: #999;
    cursor: not-allowed; 
    transform: none; 
}

button.btn:hover:not(:disabled) {
    background-color: #4CAF50; 
    color: #fff;
}

/* Conteneur principal de la checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px; 
    cursor: pointer; 
}

/* La case elle-même (cachée) */
.checkbox-container input[type="checkbox"] {
    display: none; /* Cache la case à cocher par défaut */
}

/* Style personnalisé de la case */
.checkbox-container .custom-checkbox {
    width: 80px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 5px; /* Coins arrondis */
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Coche (invisible par défaut) */
.checkbox-container .custom-checkbox::after {
    content: '';
    width: 10px;
    height: 10px;
    display: none;
    background-color: #4CAF50; /* Couleur de la coche */
    border-radius: 2px; /* Coins arrondis pour la coche */
}

/* État coché */
.checkbox-container input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #4CAF50; /* Change la couleur de fond */
    border-color: #4CAF50;
}

/* Afficher la coche */
.checkbox-container input[type="checkbox"]:checked + .custom-checkbox::after {
    display: block;
}

/* Texte au survol */
.checkbox-container:hover .custom-checkbox {
    border-color: #007BFF;
}


/* Notification */
div.added {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;

}

div.modified {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
    padding: 10px;
    margin-bottom: 20px;

}

div.deleted {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 20px;

}

div.error {
    background-color: #fff3cd; 
    color: #856404; 
    border: 1px solid #ffeeba;
    padding: 10px;
    margin-bottom: 20px;

}

span.strength {
    font-size: 12px;
}

span.strength-explain {
    font-size: 13px;
}

span.modif {
    color: green;
}

  /* Conteneur de la zone d'information avec fond jaune pâle */
  .info-box {
    background-color: #fff9c4; /* Fond jaune pâle */
    border: 1px solid #fbc02d; /* Bordure jaune plus foncé */
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px; /* Coins arrondis */
    font-size: 16px;
    font-family: Arial, sans-serif;
    word-wrap: break-word; /* Coupe les mots trop longs */
}

/* Titre de la zone */
.info-box h2 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}

@media screen and (max-width: 768px) {
    form {
        max-width: 90%; 
    }

    form input {
        width: 100%;
        padding: 15px; 
        margin-bottom: 15px;
        border: 1px solid #ccc;
        box-sizing: border-box;
        font-size:15px;
    }
}