/* PB-6337: Staging-only shell overrides (Bootstrap dark mode via data-bs-theme="dark") */

.pasti-staging-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #dc3545;
    color: #fff;
    text-align: center;
    font-weight: 600;
    padding: 4px 8px;
    font-size: 0.85rem;
}

[data-pasti-env="staging"] .page {
    padding-top: 28px;
}

[data-pasti-env="staging"] body {
    background-color: #1a1a1a;
}

[data-pasti-env="staging"] .page .sidebar {
    background-color: #212529;
}

[data-pasti-env="staging"] .sticky-profile,
[data-pasti-env="staging"] .content-body {
    background-color: #2b3035;
}

[data-pasti-env="staging"] .navigation-link {
    color: #ced4da;
}

[data-pasti-env="staging"] .navigation-list-header {
    color: #adb5bd;
}

[data-pasti-env="staging"] .navigation-list-header:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-pasti-env="staging"] .navigation-list-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-pasti-env="staging"] .navigation-list-item:hover .navigation-link {
    color: #ced4da;
}

[data-pasti-env="staging"] .navigation-list-item.active {
    background-color: rgba(255, 139, 64, 1);
}

[data-pasti-env="staging"] .navigation-list-item.active .navigation-link {
    color: white;
}

[data-pasti-env="staging"] .btn-nav-toggle {
    border-color: #2b3035;
    background-color: #2b3035;
    color: #ced4da;
}

[data-pasti-env="staging"] .login-card {
    background-color: #2b3035;
}

[data-pasti-env="staging"] .toast-container {
    top: 28px;
}

/* Proximity report sticky cells (hardcoded white in pasti_template.css) */
[data-pasti-env="staging"] .__pasti-simple-tools-proximity-report-preview table thead tr td,
[data-pasti-env="staging"] .__pasti-simple-tools-proximity-report-preview table tbody tr td {
    background-color: #2b3035;
}

/* DataTables FixedColumns (hardcoded white in fixedColumns.bootstrap5.min.css) */
[data-pasti-env="staging"] table.dataTable thead tr > .dtfc-fixed-left {
    background-color: var(--bs-table-bg);
}

[data-pasti-env="staging"] table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > .dtfc-fixed-left {
    background-color: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

[data-pasti-env="staging"] table.dataTable.table-striped > tbody > tr:nth-of-type(even) > .dtfc-fixed-left {
    background-color: var(--bs-table-bg);
    color: var(--bs-table-color);
}

[data-pasti-env="staging"] div.dtfc-left-top-blocker {
    background-color: var(--bs-table-bg);
}

/* HRIS module cards and panels */
[data-pasti-env="staging"] .hris-card,
[data-pasti-env="staging"] .review-card,
[data-pasti-env="staging"] .task-card,
[data-pasti-env="staging"] .person-card,
[data-pasti-env="staging"] .cycle-card,
[data-pasti-env="staging"] .stat-card,
[data-pasti-env="staging"] .task-list-card,
[data-pasti-env="staging"] .summary-card,
[data-pasti-env="staging"] .final-review-card,
[data-pasti-env="staging"] .feedback-card,
[data-pasti-env="staging"] .detail-section,
[data-pasti-env="staging"] .no-data-card,
[data-pasti-env="staging"] .empty-state,
[data-pasti-env="staging"] .review-view,
[data-pasti-env="staging"] .review-header,
[data-pasti-env="staging"] .review-form,
[data-pasti-env="staging"] .feedback-section,
[data-pasti-env="staging"] .rating-section,
[data-pasti-env="staging"] .chip-container,
[data-pasti-env="staging"] .auto-save-indicator {
    background: #2b3035;
    color: #dee2e6;
}

[data-pasti-env="staging"] .hris-card h3,
[data-pasti-env="staging"] .review-card h3,
[data-pasti-env="staging"] .summary-label,
[data-pasti-env="staging"] .detail-label,
[data-pasti-env="staging"] .feedback-item-label,
[data-pasti-env="staging"] .reviewer-text {
    color: #adb5bd;
}

[data-pasti-env="staging"] .summary-value,
[data-pasti-env="staging"] .detail-content,
[data-pasti-env="staging"] .feedback-item-content {
    color: #dee2e6;
}

[data-pasti-env="staging"] .task-card:hover,
[data-pasti-env="staging"] .task-card:active {
    background: #343a40;
}

[data-pasti-env="staging"] .summary-item,
[data-pasti-env="staging"] .feedback-item {
    background: #343a40;
}

/* Select2 */
[data-pasti-env="staging"] .select2-container--bootstrap-5 .select2-selection {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-pasti-env="staging"] .select2-container--bootstrap-5 .select2-dropdown {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-pasti-env="staging"] .select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: rgba(255, 139, 64, 0.25);
    color: var(--bs-body-color);
}

[data-pasti-env="staging"] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color);
}

[data-pasti-env="staging"] .select2-container--bootstrap-5 .select2-results__option {
    color: var(--bs-body-color);
}

/* SweetAlert2 */
[data-pasti-env="staging"] .swal2-popup {
    background: #2b3035;
    color: #dee2e6;
}

[data-pasti-env="staging"] .swal2-title,
[data-pasti-env="staging"] .swal2-html-container {
    color: #dee2e6;
}

/* bootstrap-datepicker */
[data-pasti-env="staging"] .datepicker {
    background-color: #2b3035;
    border-color: var(--bs-border-color);
}

[data-pasti-env="staging"] .datepicker table tr td,
[data-pasti-env="staging"] .datepicker table tr th {
    color: #dee2e6;
}

[data-pasti-env="staging"] .datepicker table tr td.day:hover,
[data-pasti-env="staging"] .datepicker table tr td.focused {
    background: rgba(255, 255, 255, 0.1);
}
