/* Bootstrap defaults stay under WCAG AAA (danger 4.53:1, secondary 4.69:1) and field borders under 3:1. */
:root {
    --bs-danger: #a61414;
    --bs-danger-rgb: 166, 20, 20;
    --bs-secondary-rgb: 73, 80, 87;
    --bs-secondary-color: #495057;
    --bs-border-color: #767c82;
    --bs-form-invalid-color: #a61414;
    --bs-form-invalid-border-color: #a61414;
}

.btn-danger {
    --bs-btn-bg: #a61414;
    --bs-btn-border-color: #a61414;
    --bs-btn-hover-bg: #8a1010;
    --bs-btn-hover-border-color: #8a1010;
    --bs-btn-active-bg: #8a1010;
    --bs-btn-active-border-color: #8a1010;
    --bs-btn-focus-shadow-rgb: 166, 20, 20;
}

.btn-outline-danger {
    --bs-btn-color: #a61414;
    --bs-btn-border-color: #a61414;
    --bs-btn-hover-bg: #a61414;
    --bs-btn-hover-border-color: #a61414;
    --bs-btn-active-bg: #8a1010;
    --bs-btn-active-border-color: #8a1010;
    --bs-btn-focus-shadow-rgb: 166, 20, 20;
}

.btn-secondary {
    --bs-btn-bg: #495057;
    --bs-btn-border-color: #495057;
    --bs-btn-hover-bg: #343a40;
    --bs-btn-hover-border-color: #343a40;
}

.form-control:focus,
.form-check-input:focus {
    border-color: #a61414;
    box-shadow: 0 0 0 0.25rem rgba(166, 20, 20, 0.25);
}

.form-check-input:checked {
    background-color: #a61414;
    border-color: #a61414;
}

.form-floating > label {
    color: #495057;
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid #a61414;
    outline-offset: 2px;
}

.auth-logo {
    width: 100px;
}

.auth-bandeau {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    color: #212529;
}

.auth-bandeau-pastille {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: #fbe9e9;
    color: #a61414;
    font-size: 1.1rem;
}

.auth-bandeau-titre {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.auth-bandeau-lien {
    color: #a61414;
    font-weight: 600;
    text-underline-offset: 0.15em;
}

.auth-bandeau-lien:hover {
    color: #8a1010;
}

.auth-fond {
    background-color: #eee;
}

/* Below lg the login card stacks on one column and outgrows the screen height. */
@media (min-width: 992px) {
    .gradient-form {
        height: 100vh !important;
    }
}

.gradient-custom-2 {
    background: linear-gradient(90deg, #a61414 0%, #9b1c2e 34%, #8f1d3f 100%);
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
    }
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}
