.auth-section {
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    padding: 4rem 0 6rem;
}

.auth-card,
.auth-sidecard {
    border: 0;
    border-radius: var(--radius);
}

.auth-card__header .section-kicker {
    letter-spacing: 0.25em;
    color: var(--bleuAgglo);
}

.auth-card__header h2 {
    font-weight: 700;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-label {
    font-weight: 600;
    color: var(--darkGray);
}

.auth-form label.required::after,
.auth-form .auth-label.required::after {
    content: ' *';
    color: #dc3545;
    font-weight: 700;
}

.auth-form .form-control,
.auth-form select,
.auth-form textarea {
    border-radius: var(--radius);
    border: 1px solid #d5d9df;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.auth-form .form-control:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: var(--bleuAgglo);
    box-shadow: 0 0 0 0.2rem rgba(0, 159, 203, 0.15);
}

.auth-form .form-text {
    color: #6c757d;
}

.auth-form .form-check {
    position: relative;
    padding-left: 2rem;
}

.auth-form .form-check-input {
    margin-left: -2rem;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.25rem;
}

.auth-form .form-check-label {
    font-weight: 500;
}

.auth-helper {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.auth-link {
    color: var(--bleuAgglo);
    font-weight: 600;
}

.auth-link:hover,
.auth-link:focus {
    text-decoration: none;
    color: #017aa3;
}

.auth-pro {
    display: none;
    margin-top: 1rem;
    border-radius: var(--radius);
}

.auth-sidecard__list li {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    color: var(--darkGray);
    font-weight: 500;
}

.auth-sidecard__list i {
    color: var(--bleuAgglo);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.auth-alert ul {
    padding-left: 1.25rem;
}

.auth-submit .btn {
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-toggle-password {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
}

.btn-toggle-password:focus {
    outline: none;
}

@media (max-width: 991.98px) {
    .auth-section {
        padding: 3rem 0 4rem;
    }
}

@media (max-width: 575.98px) {
    .auth-card__header h2 {
        font-size: 1.5rem;
    }

    .auth-sidecard {
        box-shadow: none;
    }
}
