/*
 * App CSS overrides loaded after the Cork theme stylesheets.
 *
 * The Cork build vendored here never included its soft "alert-light-*"
 * contextual variants, so flash banners (session status/error/warning) and the
 * ~37 alert-light-* usages across the views fell back to the bare Bootstrap
 * `.alert` (no colour → plain grey). Define them here, neutral Bootstrap tints.
 */
.alert-light-success { background-color: #d4edda; color: #155724; border: 0; }
.alert-light-info    { background-color: #d1ecf1; color: #0c5460; border: 0; }
.alert-light-warning { background-color: #fff3cd; color: #856404; border: 0; }
.alert-light-danger  { background-color: #f8d7da; color: #721c24; border: 0; }

/*
 * Outlined "Standard" service-tier chip on the job Activity timeline. Explicit
 * neutral grey (not Bootstrap's `secondary` role, which the theme tints toward
 * the brand colour) so the chip reads as a plain low-emphasis outline.
 */
.badge.chip-standard {
    background-color: #fff !important;
    color: #6c757d !important;
    border: 1px solid #6c757d !important;
}

/*
 * "Visible" toggle in the Attached Documents table: read as green when ON
 * (shared), instead of the theme's default brand-purple switch fill.
 */
.form-check-input.switch-success:checked {
    background-color: #198754;
    border-color: #198754;
}
.form-check-input.switch-success:focus {
    border-color: #a3cfbb;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/*
 * Soft-deleted ("disabled") records kept in the job edit dropdowns (Funder /
 * Inspector / Employee / Status) so a save never silently clears the job's
 * current value. Render them muted + italic so they read as disabled (the
 * option label also carries a "(disabled)" suffix). These are native <select>
 * elements, so option-level colour styling applies.
 */
option[data-disabled-option] {
    color: #6c757d;
    font-style: italic;
}
