.server_response {
    background-color: white;
    border-radius: var(--default-radius);
}

.server_response span {
        display: block;
        padding-left: 1vw;
        padding-top: 1vh;
        padding-bottom: 1vh;
        border-radius: var(--default-radius);
    }

.server_response span.success {
        border: 1px solid var(--lof-COLORS-toast_type_success_border);
        background-color: var(--lof-COLORS-toast_type_success_bg);
    }

.server_response span.error {
        border: 1px solid var(--lof-COLORS-toast_type_error_border);
        background-color: var(--lof-COLORS-toast_type_error_bg);
    }

.server_response {
    margin-bottom: 1vh;
}

form * {
        box-sizing: border-box;
    }

form .row {
        margin-bottom: 1vh;
    }

/* ---- Placeholders flottants ---- */
.input-container {
    position: relative;
    margin-bottom: 1vh;
}

.input-container > input,
.input-container > textarea {
    width: 100%;
    outline: none;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 1vw;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: 0.3s ease;
    pointer-events: none;
    color: var(--lof-COLORS-gray500);
    padding: 0 0.4em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 2vw);
    line-height: 1.4;
}

.input-container label.ta-label {
    top: 1.4vh;
    transform: none;
    line-height: 1.4;
}

.input-container > input:focus + label,
.input-container > input:not(:placeholder-shown) + label,
.input-container > textarea:focus + label,
.input-container > textarea:not(:placeholder-shown) + label,
.input-container > textarea:focus + label.ta-label,
.input-container > textarea:not(:placeholder-shown) + label.ta-label {
    top: -17px;
    left: 0.7vw;
    font-size: 12px;
    color: var(--lof-COLORS-dark_blue);
    transform: scale(0.9);
    transform-origin: left center;
}

.input-container > input:focus::placeholder,
.input-container > textarea:focus::placeholder {
    opacity: 0;
}

/* Empêche le fond gris de l'autofill navigateur */
.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover,
.input-container input:-webkit-autofill:focus,
.input-container textarea:-webkit-autofill,
.input-container textarea:-webkit-autofill:hover,
.input-container textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: inherit;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}
@media (max-width: 900px) {
        form .row {
            margin-bottom: unset;
        }
}