.validation-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
}

div.success, div.error {
    color: #131313;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: clamp(256px, 100%, 520px);
    font-family: "Raleway", sans-serif;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 10px;
}

div.success {
    background: linear-gradient(to bottom right, #01b2cc 50%, #ecf0f0 50%);
}

div.error {
    background: linear-gradient(to bottom right, #01b2cc 50%, #ecf0f0 50%);
}

div.success > span,
div.error > span {
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
}

div.success > p,
div.error > p {
    font-size: 1rem;
    text-align: center;
}

div.error > span {
    color: #131313;
}

div.error > p {
    color: #151515;
}

.validation {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    --font-color: #dedede;
    --bg-color: #323232;
    --main-color: #dedede;
    position: relative;
    width: 200px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    color: var(--font-color);
}

.button.disabled {
    pointer-events: none; /* Désactive les événements de pointer (clic, survol, etc.) */
    background-color: #999; /* Change la couleur de fond pour indiquer qu'il est désactivé */
    border-color: #999; /* Change la couleur de la bordure */
    color: var(--font-color); /* Change la couleur du texte */
    cursor: not-allowed; /* Affiche un curseur "interdit" pour indiquer qu'il est désactivé */
}

.button {
    transition: all 0.3s;
}

.button:hover {
    background: var(--bg-color);
}

.button:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px var(--main-color);
}