.registration {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, #1a3a6a 50%, var(--bleu-clair) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    height: auto;
}

.registration-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: auto 0;
}

.registration .identity {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45%;
    width: 100%;
    flex-direction: column;
    animation: slideAndFadeFromBotToTop .6s ease-out forwards;
}

.registration .identity img {
    width: 200px;
    border-radius: 100%;
    box-shadow: 0 0 100px rgb(from var(--rouge) r g b / 60%);

    animation: flottement 8s linear .5s infinite;
}

.registration .identity .title {
    color: white;
    font-size: 32px;
    margin-top: 15px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.registration .registrationsForm {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    animation: slideAndFadeFromBotToTop .6s ease-out .2s forwards;
    opacity: 0;
    margin-top: 20px;
}

.registrationForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registrationForm .subtitle {
    color: white;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--bleu-clair);
    padding-bottom: 8px;
    margin-bottom: 5px;
    width: fit-content;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .input-group {
        grid-template-columns: 1fr;
    }

    .registration .registrationsForm {
        padding: 20px;
    }
}

.input-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.input-label .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 20px;
    transform: translateY(-50%);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.input-label .toggle-password:hover {
    opacity: 1;
}

.input-label input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.input-label input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bleu-clair);
    box-shadow: 0 0 10px rgba(61, 194, 226, 0.3);
}

.input-label input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.registrationForm button {
    width: 100%;
    max-width: 300px;
    padding: 14px !important;
    background: var(--rouge);
    color: white;
    border: none !important;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 21, 26, 0.3);
    margin: auto;
}

.registrationForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 21, 26, 0.4);
    filter: brightness(1.1);
}

.registrationForm a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin: auto;
}

.registrationForm a:hover {
    color: white;
}

.registrationForm .account-tou {
    color: white;
}

.registrationForm .validCGU{
    flex-direction: row;
    align-items: center;
}

.registrationForm .validCGU a{
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
}

