/* Base des formulaires (_parts/formulaire.twig) ; couleurs et forme du bouton dans custom-<site>.css. */

.fui-label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: .5rem;
}

.fui-required,
.fui-error-message {
    color: #f56565;
}

.fui-input.form-control {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: .25rem;
    font-family: inherit;
    font-size: .875rem;
    line-height: 1.5;
}

select.fui-input.form-control {
    height: auto;
}

.fui-error-message {
    display: block;
    font-size: .875rem;
    margin-top: .5rem;
}

.fui-alert {
    border-radius: .25rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.fui-alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.fui-alert-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.fui-btn-wrapper {
    display: flex;
    justify-content: flex-start;
}

.fui-btn {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1px solid transparent;
    color: #fff;
    font-family: inherit;
    font-size: .875rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
