/* Custom Styles */
.alert-container {
    margin-bottom: 20px;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.form-section {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.text-muted {
    color: #6c757d !important;
}

.readonly-field {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
}

/* ── Navbar z-index fix ──────────────────────────────────────────────
    Ensure the navbar and its dropdown menu always float above the subpage content.
    Bootstrap defaults to a navbar z-index of 1030 and a dropdown menu of 1000.
    Here, we uniformly increase their height and keep the content block at a low level.
   ─────────────────────────────────────────────────────────────────── */
.navbar {
    position: relative;
    z-index: 1030;
}

.navbar .dropdown-menu {
    z-index: 1031;
}

/* Main content blocks are kept at a low level to avoid overshadowing the navbar dropdown */
.container.mt-4 {
    position: relative;
}

/* The wrapper layer generated by DataTables is also pressed low to prevent occlusion. */
.dataTables_wrapper {
    position: relative;
}