@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/MapComponentPeopleSites.razor.rz.scp.css */

html[b-k8v616q08m], body[b-k8v616q08m] {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container[b-k8v616q08m] {
    position: absolute; /* or fixed if you want it to stay on screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* /Components/ProgressBar.razor.rz.scp.css */
.progress-bar[b-wwvmacitqa] {
    min-width: 100px;
    height: 1.5rem;
    align-content: center;
    border: #cccccc 1px solid;
    border-radius: calc(infinity * 1px);
}
/* /Components/Reports/GroupReportDialog.razor.rz.scp.css */
.dialog-header[b-l6mj8w716a] { padding: 20px; border-bottom: 1px solid #eee; }
.header-title h2[b-l6mj8w716a] { font-size: 1.1rem; margin: 0; font-weight: 600; }
.header-subtitle[b-l6mj8w716a] { font-size: 0.85rem; color: #666; margin: 8px 0 0 0; line-height: 1.4; }

.dialog-content[b-l6mj8w716a] { padding: 20px; }
.input-group label[b-l6mj8w716a] { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }

.custom-select select[b-l6mj8w716a] {
    width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #e0e0e0;
    background: #f8f8f9; color: #555; cursor: pointer;
}

.selection-section[b-l6mj8w716a] { margin-top: 24px; }
.selection-header[b-l6mj8w716a] { color: #2e7d32; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }

.report-card[b-l6mj8w716a] {
    background: #f1fbf3; border: 1px solid #dceddc; border-radius: 10px;
    padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 5px;
}

.report-top-row[b-l6mj8w716a] { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.report-id[b-l6mj8w716a] { font-weight: 700; font-size: 0.9rem; }
.badge[b-l6mj8w716a] { font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.badge.type[b-l6mj8w716a] { background: #d0e1fd; color: #1e56a0; }
.type-label[b-l6mj8w716a] { font-size: 0.75rem; color: #888; }
.report-title[b-l6mj8w716a] { font-size: 0.85rem; color: #555; }

.dialog-footer[b-l6mj8w716a] { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.change-summary[b-l6mj8w716a] { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.group-count[b-l6mj8w716a] { color: #2e7d32; }
.ungroup-count[b-l6mj8w716a] { color: #d32f2f; }
.bullet-divider[b-l6mj8w716a] { color: #4b5563; }
/* /Components/Reports/ReportAuditDialog.razor.rz.scp.css */
.audit-dialog[b-jm62dulcbe] {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    min-width: 320px;
}

.audit-dialog__header[b-jm62dulcbe] {
    padding: 16px 18px 10px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.audit-dialog__header-row[b-jm62dulcbe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.audit-dialog__title[b-jm62dulcbe] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.audit-dialog__subtitle[b-jm62dulcbe] {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #6b7280;
}

.audit-dialog__icon-button[b-jm62dulcbe] {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    color: #111827;
}

.audit-dialog__content[b-jm62dulcbe] {
    padding: 16px 18px;
    max-height: 70vh;
    overflow: auto;
}

.audit-item[b-jm62dulcbe] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

    .audit-item + .audit-item[b-jm62dulcbe] {
        margin-top: 14px;
    }

.audit-item__row[b-jm62dulcbe] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.audit-item__id[b-jm62dulcbe] {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
}

.audit-item__summary[b-jm62dulcbe] {
    margin-top: 10px;
    font-size: 14px;
    color: #111827;
}

.audit-item__section-title[b-jm62dulcbe] {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.audit-chip[b-jm62dulcbe] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.audit-chip--created[b-jm62dulcbe] {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.audit-chip--status[b-jm62dulcbe] {
    background: #f3f4f6;
    color: #111827;
    border-color: #e5e7eb;
}

.audit-chip--edited[b-jm62dulcbe] {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.audit-chip--default[b-jm62dulcbe] {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.audit-change[b-jm62dulcbe] {
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.audit-change__field[b-jm62dulcbe] {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.audit-change__grid[b-jm62dulcbe] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .audit-change__grid[b-jm62dulcbe] {
        grid-template-columns: 1fr 1fr;
    }
}

.audit-change__box[b-jm62dulcbe] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
}

.audit-change__box--old[b-jm62dulcbe] {
    border-color: #fca5a5;
    background: #fef2f2;
}

.audit-change__box--new[b-jm62dulcbe] {
    border-color: #86efac;
    background: #f0fdf4;
}

.audit-change__label[b-jm62dulcbe] {
    font-size: 12px;
    font-weight: 800;
}

.audit-change__box--old .audit-change__label[b-jm62dulcbe],
.audit-change__box--old .audit-change__value[b-jm62dulcbe] {
    color: #dc2626;
}

.audit-change__box--new .audit-change__label[b-jm62dulcbe],
.audit-change__box--new .audit-change__value[b-jm62dulcbe] {
    color: #16a34a;
}

.audit-change__value[b-jm62dulcbe] {
    margin-top: 4px;
    font-size: 13px;
}

.audit-reason[b-jm62dulcbe] {
    margin-top: 12px;
    border: 1px solid #93c5fd;
    background: #eff6ff;
    border-radius: 10px;
    padding: 10px;
}

.audit-reason__label[b-jm62dulcbe] {
    font-size: 13px;
    font-weight: 800;
    color: #2563eb;
}

.audit-reason__text[b-jm62dulcbe] {
    margin-top: 4px;
    font-size: 13px;
    color: #1d4ed8;
}

.audit-item__divider[b-jm62dulcbe] {
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

.audit-item__meta[b-jm62dulcbe] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #374151;
}

.audit-item__meta-item[b-jm62dulcbe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.audit-dialog__actions[b-jm62dulcbe] {
    padding: 12px 18px 16px 18px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.audit-dialog__primary[b-jm62dulcbe] {
    border: 1px solid #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}
/* /Components/Shifts/ShiftPatternCard.razor.rz.scp.css */
.shift-card[b-hsz69t5e19] {
    border: 1px solid #e6e6e6;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    font-size: 0.9rem;
    transition: box-shadow 0.15s ease;
}

    .shift-card:hover[b-hsz69t5e19] {
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

.shift-card-header[b-hsz69t5e19] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
}

.shift-title[b-hsz69t5e19] {
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: auto;
    width: 100px;
}

.shift-role[b-hsz69t5e19] {
    background: #eef2ff;
    color: #4a56e2;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.shift-time[b-hsz69t5e19] {
    color: #666;
    font-size: 0.8rem;
    white-space: nowrap;
}

.shift-card-body[b-hsz69t5e19] {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid #eeeeee;
    animation: fadeIn-b-hsz69t5e19 0.15s ease;
}

@keyframes fadeIn-b-hsz69t5e19 {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.days-row[b-hsz69t5e19] {
    margin: 0.65rem 0;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.day-pill[b-hsz69t5e19] {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    background: #f1f1f4;
    color: #777;
    user-select: none;
}

    .day-pill.active[b-hsz69t5e19] {
        background: #4a56e2;
        color: #ffffff;
    }

.notes p[b-hsz69t5e19] {
    margin: 0.4rem 0 0 0;
    white-space: pre-wrap;
    color: #444;
}

.workers-section[b-hsz69t5e19] {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.section-title[b-hsz69t5e19] {
    margin: 0 0 8px 0;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

.worker-row[b-hsz69t5e19] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.95rem;
}

.worker-total-row[b-hsz69t5e19] {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}
/* /Components/Shifts/ShiftSuggestedUsersFlyout.razor.rz.scp.css */
.flyout-overlay[b-nh8bdv1ns6] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: flex-end;
    z-index: 9999;
    animation: overlay-fade-in-b-nh8bdv1ns6 180ms ease-out;
}

.flyout-panel[b-nh8bdv1ns6] {
    width: min(720px, 100%);
    max-height: 100vh;
    height: 100%;
    overflow: hidden;
    background: #f9f9fb;
    border-left: 1px solid #e5e7eb;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.3);
    border-radius: 16px 0 0 16px;
    animation: panel-slide-in-b-nh8bdv1ns6 220ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-sizing: border-box;
    will-change: transform, opacity;
}

    .flyout-panel.closing[b-nh8bdv1ns6] {
        animation: panel-slide-out-b-nh8bdv1ns6 180ms ease;
    }

.shift-flyout-tab-content[b-nh8bdv1ns6] {
    max-height: calc(100vh - 360px);
}

@keyframes overlay-fade-in-b-nh8bdv1ns6 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes panel-slide-in-b-nh8bdv1ns6 {
    from {
        opacity: 0;
        transform: translateX(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes panel-slide-out-b-nh8bdv1ns6 {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(10px) scale(0.98);
    }
}


@keyframes shimmer-b-nh8bdv1ns6 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}
/* /Components/Shifts/TableView/SiteShiftPerShiftPattern.razor.rz.scp.css */
/* Shift box variants (replaces inline CSS + dynamic style string) */
.shift-box[b-4b8ky9vqg1] {
    border: solid 1px var(--box-border);
    background: var(--box-bg);
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.shift-box--allocated[b-4b8ky9vqg1] {
    --box-border: var(--gray-100);
    --box-bg: var(--orange-50);
}

.shift-box--unallocated[b-4b8ky9vqg1] {
    --box-border: var(--amber-50);
    --box-bg: var(--orange-50);
}

.shift-box--blowout[b-4b8ky9vqg1] {
    --box-border: var(--danger);
    --box-bg: var(--danger);
}

.shift-box--rejected[b-4b8ky9vqg1] {
    border: solid 1px #dc3545;
    background: #fee;
}

/* Rejected header row */
.shift-rejected-icon[b-4b8ky9vqg1] {
    margin-top: 0.1rem;
}

.shift-user-row[b-4b8ky9vqg1] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.shift-user-col[b-4b8ky9vqg1] {
    display: flex;
    flex-direction: column;
}

.shift-user-name--rejected[b-4b8ky9vqg1] {
    color: #dc3545;
}

.shift-decision-comment[b-4b8ky9vqg1] {
    font-style: italic;
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 0.25rem;
}

/* Publish button */
.shift-publish-button[b-4b8ky9vqg1] {
    white-space: nowrap;
    text-transform: none;
    font-size: 10px !important;
}

/* Action icons row */
.shift-action-icons[b-4b8ky9vqg1] {
    cursor: pointer !important;
}

/* Time range block */
.shift-time-lines[b-4b8ky9vqg1] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Blowout section */
.shift-blowout-content[b-4b8ky9vqg1] {
    color: white;
}

/* Warning blocks */
.shift-warning-shadow[b-4b8ky9vqg1] {
    text-shadow: 3px 3px 8px #fee685;
}

/* Loading indicator */
.shift-loading-container[b-4b8ky9vqg1] {
    position: relative;
}

.shift-loading-progress[b-4b8ky9vqg1] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Pills */
.shift-modal-pill[b-4b8ky9vqg1] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.shift-modal-pill-adhoc[b-4b8ky9vqg1] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}
/* /Components/Shifts/TableView/TableSiteView.razor.rz.scp.css */
/* Shift Edit Modal (scoped) */
.shift-modal-backdrop[b-3pa0ufhumr] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}

.shift-modal[b-3pa0ufhumr] {
    position: fixed;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    width: 600px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
    overflow: hidden;
}

/* Header */
.shift-modal-header[b-3pa0ufhumr] {
    padding: 20px 24px 0 24px;
}

    .shift-modal-header h3[b-3pa0ufhumr] {
        margin: 0;
        font-weight: 700;
    }

/* Body */
.shift-modal-body[b-3pa0ufhumr] {
    padding: 8px 24px 24px 24px;
    /* Key: allow inner scrolling only when content overflows */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.shift-modal-subtitle[b-3pa0ufhumr] {
    color: #6b7280;
    margin-bottom: 12px;
}

.shift-modal-meta[b-3pa0ufhumr] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 0;
    margin-bottom: 12px;
}

/* Grid for two inputs */
.shift-modal-grid-2[b-3pa0ufhumr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-bottom: 14px;
}

/* Form elements */
.shift-modal-form-group label[b-3pa0ufhumr] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.shift-modal-muted[b-3pa0ufhumr] {
    color: #6b7280;
    font-weight: 400;
}

.shift-modal-input[b-3pa0ufhumr] {
    position: relative;
}

    .shift-modal-input input[type="time"][b-3pa0ufhumr] {
        width: 100%;
        border: none;
        background: #f3f4f6;
        padding: 14px 42px 14px 14px;
        border-radius: 10px;
        font-size: 16px;
        outline: none;
    }

    .shift-modal-input i[b-3pa0ufhumr] {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
    }

.shift-modal-input-readonly[b-3pa0ufhumr] {
    width: 100%;
    border: none;
    background: #f3f4f6;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
}

/* Footer */
.shift-modal-footer[b-3pa0ufhumr] {
    padding: 16px 24px 22px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    /* Keep footer visible; body is the scroll container */
    flex: 0 0 auto;
}

.adhoc-reason-input[b-3pa0ufhumr] {
    width: 100%;
}

.adhoc-divider[b-3pa0ufhumr] {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.adhoc-link-row[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adhoc-checkbox[b-3pa0ufhumr] {
    width: 18px;
    height: 18px;
}

.adhoc-link-label[b-3pa0ufhumr] {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.adhoc-link-icon[b-3pa0ufhumr] {
    margin-right: 6px;
}

.adhoc-note[b-3pa0ufhumr] {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
}

.adhoc-note-inner[b-3pa0ufhumr] {
    display: flex;
    gap: 10px;
}

.adhoc-note-icon[b-3pa0ufhumr] {
    line-height: 1;
    padding-top: 2px;
}

.adhoc-note-text[b-3pa0ufhumr] {
    color: #475569;
    font-size: 0.95rem;
}

.adhoc-link-details[b-3pa0ufhumr] {
    margin-top: 12px;
}

.adhoc-link-help[b-3pa0ufhumr] {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.adhoc-link-select-label[b-3pa0ufhumr] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.adhoc-link-select select[b-3pa0ufhumr] {
    width: 100%;
}

/* ===== Shift Edit Modal v2 header + "Original Schedule" card ===== */

.shift-modal-header-v2[b-3pa0ufhumr] {
    padding: 18px 24px 14px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    flex: 0 0 auto;
}

.shift-modal-header-left[b-3pa0ufhumr] {
    min-width: 0;
}

.shift-modal-title[b-3pa0ufhumr] {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #111827;
}

.shift-modal-subtitle-v2[b-3pa0ufhumr] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.shift-modal-dot[b-3pa0ufhumr] {
    color: #9ca3af;
}

.shift-modal-close[b-3pa0ufhumr] {
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    line-height: 1;
}

    .shift-modal-close:hover[b-3pa0ufhumr] {
        background: #f3f4f6;
        color: #111827;
    }

    .shift-modal-close:focus[b-3pa0ufhumr] {
        outline: 2px solid #93c5fd;
        outline-offset: 2px;
    }

/* "Original Schedule" info card */
.shift-modal-card[b-3pa0ufhumr] {
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #eff6ff; /* light blue */
    border: 1px solid #bfdbfe; /* blue border */
}

.shift-modal-card-title[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1d4ed8; /* blue */
    font-size: 14px;
    margin-bottom: 8px;
}

    .shift-modal-card-title i[b-3pa0ufhumr] {
        font-size: 14px;
    }

.shift-modal-card-value[b-3pa0ufhumr] {
    color: #1f2937;
    font-size: 14px;
}

/* Optional: section title used above the time pickers */
.shift-modal-section-title[b-3pa0ufhumr] {
    font-weight: 700;
    color: #111827;
    font-size: 16px;
    margin: 6px 0 12px 0;
}

/* ===== Duration row (matches screenshot "Duration: X hours" + pills) ===== */

.shift-modal-duration-row[b-3pa0ufhumr] {
    margin: 12px 0 16px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f5f3ff; /* light purple */
    border: 1px solid #ddd6fe; /* purple border */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shift-modal-duration-left[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #5b21b6; /* deep purple */
    font-weight: 600;
}

    .shift-modal-duration-left i[b-3pa0ufhumr] {
        color: #7c3aed;
    }

.shift-modal-duration-label[b-3pa0ufhumr] {
    font-weight: 700;
}

.shift-modal-duration-value[b-3pa0ufhumr] {
    font-weight: 700;
}

.shift-modal-duration-right[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Pills */
.shift-modal-pill[b-3pa0ufhumr] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.shift-modal-pill-adhoc[b-3pa0ufhumr] {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

/* ===== Warning styling (base .shift-modal-alert) ===== */
/* Alert */
.shift-modal-alert[b-3pa0ufhumr] {
    background: #fef2f2; /* light red */
    border: 1px solid #fca5a5; /* red border */
    color: #991b1b; /* red text */
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px 0;
}

    .shift-modal-alert i[b-3pa0ufhumr] {
        font-size: 18px;
    }

.shift-modal-alert-warning[b-3pa0ufhumr] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.shift-modal-duration-warning[b-3pa0ufhumr] {
    margin: 12px 0 16px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.shift-modal-duration-warning-title[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}

.shift-modal-duration-warning-sub[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #b91c1c;
}

.shift-modal-duration-warning i[b-3pa0ufhumr] {
    color: #dc2626;
}

/* Linked Shift Adjustment Preview */

.linked-preview[b-3pa0ufhumr] {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.linked-preview-title[b-3pa0ufhumr] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1d4ed8;
    font-size: 14px;
    margin-bottom: 10px;
}

.linked-preview-name[b-3pa0ufhumr] {
    font-weight: 700;
    color: #1d4ed8;
    font-size: 14px;
    margin-bottom: 8px;
}

.linked-preview-grid[b-3pa0ufhumr] {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 6px 10px;
    align-items: center;
    font-size: 13px;
}

.linked-preview-label[b-3pa0ufhumr] {
    color: #1e40af;
    font-weight: 600;
}

.linked-preview-value[b-3pa0ufhumr] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.linked-preview-value-original[b-3pa0ufhumr] {
    color: #1e40af;
}

.linked-preview-value-new[b-3pa0ufhumr] {
    color: #7c3aed; /* purple like screenshot */
    font-weight: 700;
}

.linked-preview-footer[b-3pa0ufhumr] {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 600;
}

/* Small screens: stack the two time pickers */
@media (max-width: 640px) {
    .shift-modal-grid-2[b-3pa0ufhumr] {
        grid-template-columns: 1fr;
    }
}

/* If the browser supports dynamic viewport units */
@supports (height: 100dvh) {
    .shift-modal[b-3pa0ufhumr] {
        max-height: calc(85dvh - 10px);
    }
}

@media (min-height: 750px) {
    .shift-modal[b-3pa0ufhumr] {
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-1lssdyd53b] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1lssdyd53b] {
    flex: 1;
}

.sidebar[b-1lssdyd53b] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-1lssdyd53b] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-1lssdyd53b]  a,
.top-row[b-1lssdyd53b]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-1lssdyd53b]  a:hover,
.top-row[b-1lssdyd53b]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-1lssdyd53b]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-1lssdyd53b] {
        justify-content: space-between;
    }

    .top-row[b-1lssdyd53b]  a,
    .top-row[b-1lssdyd53b]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1lssdyd53b] {
        flex-direction: row;
    }

    .sidebar[b-1lssdyd53b] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1lssdyd53b] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1lssdyd53b]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1lssdyd53b],
    article[b-1lssdyd53b] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-b1yost7d7l] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-b1yost7d7l] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-b1yost7d7l] {
    font-size: 1.1rem;
}

.bi[b-b1yost7d7l] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-b1yost7d7l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-b1yost7d7l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-b1yost7d7l] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-b1yost7d7l] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-b1yost7d7l] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-b1yost7d7l] {
        padding-bottom: 1rem;
    }

    .nav-item[b-b1yost7d7l]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-b1yost7d7l]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-b1yost7d7l]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-b1yost7d7l] {
        display: none;
    }

    .collapse[b-b1yost7d7l] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-b1yost7d7l] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/DashboardPage.razor.rz.scp.css */
.panel-card[b-f7ve6syj3n] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    max-width: 420px;
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
    transition: max-height 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.collapsible-body[b-f7ve6syj3n] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: hidden;
    transition: max-height 0.3s ease-out;
}

    .collapsible-body.expanded[b-f7ve6syj3n] {
        overflow-y: auto;
    }

.mud-list[b-f7ve6syj3n] {
    flex: 1;
    overflow-y: auto;
    padding: 4px 6px;
}

.chart-container[b-f7ve6syj3n] {
    width: 100%;
    max-width: 390px;
    height: 230px;
    overflow: hidden;
    position: relative;
}

    .chart-container canvas[b-f7ve6syj3n] {
        width: 100% !important;
        height: 100% !important;
    }

.mud-list-item:hover[b-f7ve6syj3n] {
    background-color: #eef2f6 !important;
    cursor: pointer;
}
/* /Pages/PeopleAndSites.razor.rz.scp.css */
.map-page-container[b-9jxeapo1yo] {
    position: relative;
    width: 100%;
    height: calc(100vh - 65px);
    overflow: hidden;
}

.panel-card[b-9jxeapo1yo] {
    position: absolute;
    top: 0;
    bottom: 0;
    max-width: 420px;
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
    transition: max-height 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
    z-index: 20;
    transition: left 0.3s ease;
}

.collapsible-body[b-9jxeapo1yo] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible-body-container[b-9jxeapo1yo] {
    max-height: 90vh;
}

.collapsible-body.expanded[b-9jxeapo1yo] {
    overflow-y: auto;
    max-height: 90vh;
}

.mud-list[b-9jxeapo1yo] {
    flex: 1;
    overflow-y: auto;
    padding: 4px 6px;
}

.chart-container[b-9jxeapo1yo] {
    width: 100%;
    max-width: 390px;
    height: 230px;
    overflow: hidden;
    position: relative;
}

.chart-container canvas[b-9jxeapo1yo] {
    width: 100% !important;
    height: 100% !important;
}

.mud-list-item:hover[b-9jxeapo1yo] {
    background-color: #eef2f6 !important;
    cursor: pointer;
}

/*.people-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background-color: #F9F9F9;
    transition: all 0.2s ease;
}*/

.people-row[b-9jxeapo1yo] {
    padding: 16px 18px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: #F9F9F9;
}

.people-row:hover[b-9jxeapo1yo] {
    border-color: #3BB07E;
    background-color: #f0fff9;
    cursor: pointer;
}

.people-row.selected[b-9jxeapo1yo] {
    border-color: #3BB07E;
    background-color: #e6f8f0;
    margin-bottom: 4px !important;
}

.map-styler[b-9jxeapo1yo] {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 5;
    border-radius: 10px;
}


.mud-tabs-container[b-9jxeapo1yo] {
    width: 100%;
    margin-top: 10px;
    display: block;
    max-height: calc(100vh - 60px);
}


#live-connected-tour[b-9jxeapo1yo] {
    overflow: visible;
}


.panel-card[b-9jxeapo1yo] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.mud-tabs-container[b-9jxeapo1yo] {
    flex: 1;
    overflow-y: auto;
}

.bottom-border[b-9jxeapo1yo] {
    border-bottom: 1px solid #424342;
    margin: 0 15px;
}

.search-field[b-9jxeapo1yo] {
    width: calc(100% - 20px);
    margin: 0px 10px;
    max-height: clamp(50px, 5%, 70px);
}


.shift-wrapper:last-child[b-9jxeapo1yo] {
    margin-bottom: 100px;
}
/* /Pages/ProjectsPage.razor.rz.scp.css */
html[b-zxws93y6v5],
body[b-zxws93y6v5] {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.layout-container[b-zxws93y6v5] {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.list-pane[b-zxws93y6v5] {
    flex: 1 1 45%;
    min-height: 0;
    max-height: calc(100vh - 194px);
    padding-right: .5rem;
    display: flex;
    flex-direction: column;
}

.details-pane[b-zxws93y6v5] {
    flex: 1 1 55%;
    border-left: 1px solid #e0e0e0;
    padding-left: 1.5rem;
    min-height: 0;
    max-height: calc(100vh - 194px);
    overflow-y: auto;
}

.mobile-back-btn[b-zxws93y6v5] {
    display: none;
}

.project-card-actions--list[b-zxws93y6v5] {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 0.5rem;
}

.project-card-actions--grid[b-zxws93y6v5] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-card--selected[b-zxws93y6v5] {
    border-color: #1f6feb;
    box-shadow: 0 0 0 1px rgba(31, 111, 235, 0.18);
}

.list-pane .scheduling-list--grid[b-zxws93y6v5] {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    align-content: start;
}

.project-site-allocation-panel[b-zxws93y6v5] {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
}

.project-site-allocation-toolbar[b-zxws93y6v5] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.project-site-allocation-search[b-zxws93y6v5] {
    flex: 1;
    padding: 6px 8px;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.project-site-allocation-count[b-zxws93y6v5] {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.project-site-allocation-actions[b-zxws93y6v5] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.project-site-allocation-list[b-zxws93y6v5] {
    max-height: 240px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    align-content: start;
}

.project-site-allocation-item[b-zxws93y6v5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 32px;
}

.project-site-allocation-empty[b-zxws93y6v5] {
    color: #777;
    font-size: 0.85rem;
}

@media (max-width: 1300px) {
    .layout-container[b-zxws93y6v5] {
        display: block;
        position: relative;
        height: 100%;
    }

    .list-pane[b-zxws93y6v5] {
        width: 100%;
        padding-right: 0;
        max-height: calc(100vh - 200px);
        height: 100%;
    }

    .details-pane[b-zxws93y6v5] {
        width: 100%;
        border-left: none;
        padding-left: 0;
        height: 100%;
        background: #fff;
    }

    .mobile-back-btn[b-zxws93y6v5] {
        display: inline-flex;
        margin-right: 10px;
    }

    .view-mode-list .details-pane[b-zxws93y6v5] {
        display: none !important;
    }

    .view-mode-details .list-pane[b-zxws93y6v5] {
        display: none !important;
    }

    .project-site-allocation-toolbar[b-zxws93y6v5] {
        flex-direction: column;
        align-items: stretch;
    }

    .project-site-allocation-actions[b-zxws93y6v5] {
        flex-wrap: wrap;
    }
}

@media (max-width: 1650px) {
    .list-pane .scheduling-list--grid[b-zxws93y6v5] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/ShiftsPage.razor.rz.scp.css */
/* Shifts status banner (FIXED v1.0) */
.shifts-status-banner[b-q3zqosryt1] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #ecfbf1; /* light green fill */
    border: 2px solid #00b050; /* green outline */
}

.shifts-status-banner-left[b-q3zqosryt1] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.shifts-status-banner-icon[b-q3zqosryt1] {
    color: #00b050;
}

.shifts-status-banner-title[b-q3zqosryt1] {
    color: #0b3d1f;
    font-size: 1rem;
    line-height: 1.2;
}

.shifts-status-banner-subtitle[b-q3zqosryt1] {
    color: #0b3d1f;
    font-size: 0.9rem;
    opacity: 0.9;
}

.shifts-status-banner-right[b-q3zqosryt1] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shifts-status-banner-view-label[b-q3zqosryt1] {
    color: #0b3d1f;
    margin: 0;
}

/* Toggle pill styling */
.shifts-status-banner-toggle[b-q3zqosryt1] {
    border: 1px solid #00b050;
    border-radius: 10px;
    padding: 4px;
    background: transparent;
}

    .shifts-status-banner-toggle .mud-toggle-item[b-q3zqosryt1] {
        border-radius: 8px;
    }

        .shifts-status-banner-toggle .mud-toggle-item.mud-toggle-item-selected[b-q3zqosryt1] {
            background-color: #00b050 !important;
            color: #ffffff !important;
        }

/* Schedule Version Comparison card */
.svc-card[b-q3zqosryt1] {
    width: 100% !important;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.svc-header[b-q3zqosryt1] {
    padding: 16px 18px;
    border-bottom: 1px solid #e8e8ef;
    background: #ffffff;
}

.svc-title[b-q3zqosryt1] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
}

.svc-subtitle[b-q3zqosryt1] {
    margin-top: 4px;
    font-size: 0.9rem;
    color: #4b5563;
}

.svc-table-wrap[b-q3zqosryt1] {
    width: 100%;
    overflow-x: auto;
}

.svc-table[b-q3zqosryt1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .svc-table thead th[b-q3zqosryt1] {
        text-align: left;
        font-weight: 700;
        font-size: 0.85rem;
        color: #374151;
        padding: 14px 16px;
        border-bottom: 1px solid #e8e8ef;
        background: #f9fafb;
    }

    .svc-table tbody td[b-q3zqosryt1] {
        padding: 16px;
        border-bottom: 1px solid #f0f1f5;
        vertical-align: middle;
        font-size: 0.95rem;
        color: #111827;
    }

.svc-row-current td[b-q3zqosryt1] {
    background: #ecfbf1;
}

.svc-col-version[b-q3zqosryt1] {
    width: 230px;
    white-space: nowrap;
}

.svc-col-hours[b-q3zqosryt1],
.svc-col-cost[b-q3zqosryt1] {
    width: 210px;
    white-space: nowrap;
}

.svc-col-action[b-q3zqosryt1] {
    width: 260px;
    white-space: nowrap;
}

.svc-badge[b-q3zqosryt1] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    color: #ffffff;
}

.svc-badge-fixed[b-q3zqosryt1] {
    background: #2563eb;
}

.svc-badge-edited[b-q3zqosryt1] {
    background: #d97706;
}

.svc-badge-timesheet[b-q3zqosryt1] {
    background: #7c3aed;
}

.svc-current-label[b-q3zqosryt1] {
    margin-left: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #0b3d1f;
}

.svc-primary-value[b-q3zqosryt1] {
    font-weight: 800;
}

.svc-delta[b-q3zqosryt1] {
    margin-left: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

.svc-delta-pos[b-q3zqosryt1] {
    color: #ff0000;
}

.svc-delta-neg[b-q3zqosryt1] {
    color: #00a651;
}

.svc-delta-zero[b-q3zqosryt1] {
    color: #6b7280;
}

.svc-btn[b-q3zqosryt1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

    .svc-btn + .svc-btn[b-q3zqosryt1] {
        margin-left: 10px;
    }

.svc-btn-viewing[b-q3zqosryt1] {
    background: #00b050;
    border-color: #00b050;
    color: #ffffff;
    cursor: default;
    opacity: 1;
}

.svc-btn-view[b-q3zqosryt1] {
    color: #111827;
}

.svc-btn-extract[b-q3zqosryt1] {
    border-color: #c084fc;
    color: #7c3aed;
    background: #ffffff;
}

.svc-row[b-q3zqosryt1] {
    width: 100%;
}
/* /Pages/SitesPage.razor.rz.scp.css */
html[b-ajrn9hhcav],
body[b-ajrn9hhcav] {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.layout-container[b-ajrn9hhcav] {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.list-pane[b-ajrn9hhcav] {
    flex: 1 1 45%;
    min-height: 0;
    max-height: calc(100vh - 194px);
    padding-right: .5rem;
    /* Ensure scrolling works */
    display: flex;
    flex-direction: column;
}

.details-pane[b-ajrn9hhcav] {
    flex: 1 1 55%;
    border-left: 1px solid #e0e0e0;
    padding-left: 1.5rem;
    min-height: 0;
    max-height: calc(100vh - 194px);
    overflow-y: auto;
}

.mobile-back-btn[b-ajrn9hhcav] {
    display: none;
}

.site-card--selected[b-ajrn9hhcav] {
    border-color: #1f6feb;
    box-shadow: 0 0 0 1px rgba(31, 111, 235, 0.18);
}

@media (max-width: 1300px) {
    .layout-container[b-ajrn9hhcav] {
        display: block;
        position: relative;
        height: 100%;
    }

    .list-pane[b-ajrn9hhcav] {
        width: 100%;
        padding-right: 0;
        max-height: calc(100vh - 200px);
        height: 100%;
    }

    .details-pane[b-ajrn9hhcav] {
        width: 100%;
        border-left: none;
        padding-left: 0;
        height: 100%;
        background: #fff;
    }

    .mobile-back-btn[b-ajrn9hhcav] {
        display: inline-flex;
        margin-right: 10px;
    }

    .view-mode-list .details-pane[b-ajrn9hhcav] {
        display: none !important;
    }

    .view-mode-details .list-pane[b-ajrn9hhcav] {
        display: none !important;
    }
}
