/* Structure principale */
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
   
}
.separator{
    width: 80%;
    height: 1px;
    background-color: var(--secondary-text-color);
    margin: 1rem 0;
}

.container-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap : 1rem;
}

.container-form{
 padding: var(--padding-container);
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.5rem;
 width: 50%;
 margin: 3rem 0;
    h1{
        color: var(--text-color);
        display:flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 80%;
        .form-group{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        label{
            color: var(--text-color);
        }
        .form-control{
            border: var(--border-color);
            border-radius: var(--border-radius);
            padding: 0.5rem;
            &:focus{
                outline: var(--outline-color-focus);
            }
        }

}
.btn-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.actions{
    display: flex;
    gap: 10px;

}
.checkboxContainer{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    input[type="checkbox"]{
        width: 16px;
        height: 16px;
        accent-color: var(--primary-color);
        cursor: pointer;
    }
    a{
        color: var(--secondary-text-color);
        text-decoration: none;
        font-weight: bold;

        &:hover{
            text-decoration: underline;
        }
    }
}

/* Media queries */

@media screen and (max-width: 600px){
    .container-form{
        width: 80%;
    }
    form{
        width: 100%;
    }
    .actions{
        gap: 40px;
        span{
            display: none;
        }
    }
}
