/* Scope to containers you mark with .legacy-forms */
.legacy-forms .form-label {
    display: block;
    margin-bottom: .25rem;
    font-weight: 600; /* older, stronger labels */
}

.legacy-forms .form-control,
.legacy-forms .form-select {
    /* Bootstrap 5-ish defaults; removes designer pill/green overrides */
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    background-color: #fff;
    color: #212529;
    box-shadow: none;
    width: 100%;
}

    .legacy-forms .form-control:focus,
    .legacy-forms .form-select:focus {
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    }

/* Buttons revert */
.legacy-forms .btn {
    border-radius: .25rem;
    padding: .375rem .75rem;
    font-weight: 500;
}

/* If your old button was Bootstrap primary blue: */
.legacy-forms .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .legacy-forms .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Optional: keep a consistent min width on action buttons */
.legacy-forms .custom-width-button {
    min-width: 10rem;
}
