/* Bootstrap 5 Modern UI Theme */
body {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container-fluid {
    flex: 1;
}
.breadcrumb {
    background-color: #e9ecef;
    border-radius: 0;
}
.card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Two-column form layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid .mb-3 {
    margin-bottom: 0 !important;
}

.form-grid .full-width,
.form-grid textarea,
.form-grid .form-check,
.form-grid input[type="file"],
.form-grid button[type="submit"],
.form-grid button[type="button"] {
    grid-column: 1 / -1;
}

/* Collapse 2-column form grid to single column on mobile */
@media (max-width: 767.98px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Make checkboxes, radios, and Tabulator selection more visible */
.form-check-input,
input[type="checkbox"],
input[type="radio"] {
    outline: 1px solid rgba(0,0,0,0.25);
    outline-offset: 1px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

.form-check-input:checked,
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    outline-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
}

.form-check-input:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.3);
}

/* Tabulator row selection checkbox */
.tabulator .tabulator-row .tabulator-col-resize-handle {
    border-right: 1px solid rgba(0,0,0,0.1);
}

.tabulator .tabulator-row .tabulator-cell input[type="checkbox"] {
    outline: 1px solid rgba(0,0,0,0.3);
    outline-offset: 2px;
}
