/**
 * Configurable request employee/admin pages.
 * Cards in this app sit on a dark page; Bootstrap .card has no opaque fill in sb-admin.
 */
.cr-page .card {
    background-color: #fff;
    box-shadow: 0 4px 12px #00519b3f;
}

.cr-page .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cr-page .card-header .float-right {
    float: none;
}

.cr-page .card-body {
    background-color: #fff;
    color: #054e72;
}

.cr-page .card-body label,
.cr-page .card-body th,
.cr-page .card-body td,
.cr-page .card-body p,
.cr-page .card-body h4 {
    color: #054e72;
}

.cr-page .text-muted {
    color: #5b7c8d !important;
}

.cr-employee-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    /* Match global .card margin (sb-admin.css) so pills align with the card below */
    margin: 0 32px 1rem;
}

@media (max-width: 767px) {
    .cr-employee-nav {
        margin-left: 0;
        margin-right: 0;
    }
}

.cr-employee-nav .nav-item {
    margin: 0;
}

.cr-employee-nav .nav-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(160, 216, 255, 0.45);
    border-radius: 16px;
    padding: 0.45rem 0.9rem;
}

.cr-employee-nav .nav-link:hover {
    color: #fff;
    background: rgba(80, 147, 201, 0.85);
    border-color: #5093c9;
}

.cr-employee-nav .nav-link.active {
    color: #054e72;
    background: #fff;
    border-color: #fff;
    font-weight: 600;
}

.cr-page .form-control {
    background-color: #f0faff;
    border-color: #a0d8ff;
    border-radius: 16px;
    color: #054e72;
}

.cr-page .cr-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem;
}

.cr-page .table {
    background-color: #fff;
    color: #054e72;
    margin-top: 0 !important;
}

.cr-page .table thead th {
    background-color: #e6f5fd;
    color: #054e72;
    border-bottom: 1px solid #a0d8ff;
    white-space: nowrap;
    font-weight: 600;
}

.cr-page .table td {
    vertical-align: middle;
}

.cr-page .table-responsive {
    background-color: #fff;
    border-radius: 0 0 16px 16px;
}

.cr-page .select2-container {
    width: 100% !important;
}

.cr-page .select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
}

.cr-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding-left: 0;
    color: #054e72;
}

.cr-page .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.cr-page .select2-container .select2-selection--multiple {
    min-height: calc(1.5em + 0.75rem + 2px);
    border: 1px solid #ced4da;
}

.cr-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}
