body {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
}

.container {
    margin: 100 auto;
    background: white;
    padding: 2rem;
    padding-top: 0rem;
    padding-bottom: 0.3rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}

.error {
    color: red;
    margin-bottom: 1rem;
}

h1 {
    color: #6a11cb;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.1rem;
    color: #333;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.password-container {
    display: flex;
    align-items: center;
}

.password-container input {
    flex: 1;
}

.password-container button {
    background: #6a11cb;
    color: white;
    border: none;
    padding: 0.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
}

button[type="submit"] {
    width: 100%;
    background: #2575fc;
    color: white;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
}

button[disabled] {
    background: gray;
}

button[type="submit"]:hover {
    background: #1a5ab8;
}
button[disabled]:hover {
    background: gray;
}

#prevPageBtn {
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    font-size: 50px;
    top: 20px;
    left: 20px;
    font-weight: bold;
    position: fixed;
}
#prevPageBtn:hover {
    text-decoration: underline;
}

.accept_cgu_div {
    display: flex;
    align-items: center;
}
.accept_cgu_div label {
    font-weight: normal;
}
.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 30px; /* 7px x 2 */
    height: 30px;
    margin-right: 10px
}
.custom-checkbox input[type="checkbox"] {
    opacity: 1;
    width: 0;
    height: 0;
}
.custom-checkbox span {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 3px solid black;
    box-sizing: border-box;
    cursor: pointer;
}
.custom-checkbox span:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    display: none;
}
.custom-checkbox input[type="checkbox"]:checked + span {
    background-color: blue;
}
.custom-checkbox span.checked {
    background-color: blue;
}
.custom-checkbox span.checked:before {
    display: block;
    clip-path: polygon(14% 44%, 0% 67%, 50% 100%, 100% 30%, 78% 16%, 43% 70%);
}
.info {
    font-size: 12px;
}
@keyframes blink {
    0% { background: transparent; color:black;}
    50% { background: #d3dded; color:black;}
    100% { background: transparent; color: black}
}

.blinking-text {
    animation: blink 1s infinite; /* La durée de l'animation est de 1 seconde et elle se répète indéfiniment */
    color: black;
    padding: 5px;
    font-size: 17px;
    display: inline-block;
    width: 100%;
}