/*-----------------------------------------
    INSCRIPTION
------------------------------------------*/

body{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
main{
    display: flex;
    width: 100%;
    height: 80%;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.signup-form {
    display: flex;
    min-width: 1000px;
    min-height: 550px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.signup-form .info-bloc {
    position: relative;
    width: 50%;
    background: linear-gradient(to top, #FF6F61 25%, #0F172A 75%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.signup-form .info-bloc .scrolling-text-container {
    position: relative;
    height: 50px;
    overflow: hidden;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.signup-form .info-bloc .scrolling-text-container .scrolling-text {
    display: flex;
    flex-direction: column;
    height: 250px;
    animation: scrollText 9s cubic-bezier(.12,.82,.49,1) infinite;
}
@keyframes scrollText {
    0% {
        transform: translateY(-0px);
    }
    14.2857% {
        transform: translateY(-55px);
    }
    28.5714% {
        transform: translateY(-110px);
    }
    42.8571% {
        transform: translateY(-165px);
    }
    57.1429% {
        transform: translateY(-220px);
    }
    71.4286% {
        transform: translateY(-275px);
    }
    85.7143% {
        transform: translateY(-330px);
    }
    100% {
        transform: translateY(-385px);
    }
}

.signup-form .info-bloc .scrolling-text-container .scrolling-text span {
    height: 50px;
    display: block;
    text-align: center;
}

.signup-form .form-bloc {
    width: 50%;
    padding: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-bloc .head {
    text-align: center;
    margin-bottom: 30px;
}

.form-bloc .head h1 {
    color: #1B2559;
}

.form-bloc .head p {
    font-size: 16px;
    color: #888;
}

.form-bloc .head p a {
    color: #FF6F61;
    text-decoration: none;
}

.form-bloc form{
    width: 100%;
}

.form-bloc form .inputForm {
    margin-bottom: 20px;
}

.form-bloc form .inputForm label {
    font-size: 14px;
    color: #1b2559;
    margin-bottom: 8px;
    display: block;
}

.form-bloc form .inputForm .input {
    display: flex;
    align-items: center;
    background: #F7F7F9;
    border: 2px solid #E5E5EF;
    border-radius: 8px;
    padding: 10px;
}

.form-bloc form .inputForm .input input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #1b2559;
    width: 100%;
}

.form-bloc form .inputForm .input input::placeholder {
    color: #aaa;
}
.inputForm .input.emptyShield {
    border: 2px solid #ff6f61 !important;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
}

.error-message {
    color: #ff6f61;
    font-size: 14px;
    margin-top: 5px;
    display: none; /* Caché par défaut */
}

.professor {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #1b2559;
    gap: 15px;
}

.professor span {
    margin-left: 10px;
    color: #FF6F61;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/*.professor input[type="checkbox"] {*/
/*    appearance: none;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    border: 2px solid #FF6F61;*/
/*    border-radius: 4px;*/
/*    position: relative;*/
/*    cursor: pointer;*/
/*    outline: none;*/
/*    transition: background-color 0.3s ease;*/
/*}*/

/*.professor input[type="checkbox"]:checked {*/
/*    background-color: #FF6F61;*/
/*    border-color: #FF6F61;*/
/*}*/

/*.professor input[type="checkbox"]:checked::before {*/
/*    content: '\2713';*/
/*    font-size: 14px;*/
/*    color: #fff;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/*.professor input[type="checkbox"]:hover {*/
/*    border-color: #e65a50;*/
/*}*/

.form-bloc .submit-button{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.form-bloc .submit-button button {
    background-color: #FF6F61;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.form-bloc .submit-button button:hover {
    background-color: #e65a50;
}
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*-----------------------VERSION MOBILE-----------------------*/
@media screen and (max-width: 768px) {
    main{
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
    .signup-form {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        border-radius: 0;
    }
    .signup-form .info-bloc{
        display: none;
    }
    .signup-form .form-bloc{
        width: 100%;
        height: 100%;
    }
}