* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: roboto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    /* color: #fff; */
}
h5{
    text-align: center;
    text-decoration: none !important;
}
select {
  color: gray;
}

select:valid {
  color: black; 
}

.checking{
    font-size: 90%;
}
.form-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    /* background-color: #062bfd; */
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.705);
}
.form-containe{
        display: block;  
        margin: 0 auto; 
        width: 50%; 
      }
h2 {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.ages{
   display: none;
}
.naissancemkd{
   margin-bottom: 50px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight:bold; 

}
input::placeholder {
  color: gray;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="file"],
input[type="checkbox"]
textarea, select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: Century Gothic;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.705);


}

input[type="checkbox"] {
    width: auto;
    display: inline-block;
    color: #eb0c0c !important;
}
.colmkd{
    color: #eb0c0c !important;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
}

button {
    padding: 10px 20px;
    background-color: #2f08f2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight:bold; 


}

button:hover {
    background-color: #fff24b;
}
.prev-btn {
    background-color: #ff0000;
}
.prev-btn:hover {
    background-color: #640af3;
}

/* Étapes cachées par défaut */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}
.registers{
    background-color: #260ceb;
}
.registers:hover{
    background-color: #eb0c0c;
}

#next-btn-1, .registers {
    display: block;
}
#approvedYes:checked ~ .form-navigation .registers {
    display: none;
}
#approvedNo:checked ~ .form-navigation #next-btn-1 {
    display: none;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .form-container {
        padding: 15px;
    }

    label {
        font-size: 0.9rem;
    }
    h2 {
        font-size: 16px;
    }


    input,
    button, textarea{
        font-size: 0.9rem;
        
    }
}

@media (max-width: 768px) {
    textarea {
        width: 100%;
    }
}
