﻿
/* Minimal, clean, “control room” vibes */
.dash-root {
    padding: 12px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
}

    .dash-header h3 {
        margin: 0;
        font-size: 18px;
    }

.dash-sub {
    opacity: .75;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dash-dot {
    opacity: .4;
}

.dash-actions {
    display: flex;
    gap: 8px;
}

.dash-btn {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: inherit;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

    .dash-btn:hover {
        background: rgba(255,255,255,0.10);
    }

.dash-pager {
    display: flex;
    gap: 10px;
    padding: 10px 2px 12px 2px;
}

.dash-pill {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: inherit;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}

    .dash-pill.is-on {
        background: rgba(255,255,255,0.12);
    }

.dash-pages {
    display: flex;
    width: 200%;
    transition: transform .25s ease;
}

.dash-page {
    width: 50%;
    padding-right: 12px;
    box-sizing: border-box;
}

.dash-scroll {
    height: calc(100vh - 165px);
    overflow-y: auto;
    padding-right: 8px;
}

.dash-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.dash-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.dash-kpi {
    border-radius: 14px;
    padding: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.kpi-label {
    opacity: .75;
    font-size: 12px;
}

.kpi-value {
    font-size: 26px;
    font-weight: 700;
    padding-top: 4px;
}

.kpi-sub {
    opacity: .65;
    font-size: 12px;
    padding-top: 2px;
}

.dash-card {
    border-radius: 14px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.card-title {
    font-weight: 600;
    margin-bottom: 8px;
    opacity: .9;
}

.dash-grid {
    border-radius: 10px;
    overflow: hidden;
}

.dash-chart {
    height: 240px;
}

.sla-overdue td {
    background: rgba(220, 53, 69, 0.15);
}

.sla-urgent td {
    background: rgba(255, 193, 7, 0.20);
}

.sla-warning td {
    background: rgba(255, 235, 59, 0.18);
}

.dxbl-grid-table tr:hover td {
    background: rgba(255,255,255,0.08);
}

.activity-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 500s linear infinite;
}

.activity-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    margin-right: 48px;
    cursor: pointer;
}

.ticker-muted {
    opacity: 0.6;
    margin-left: 6px;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


@media (max-width: 1100px) {
    .dash-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .dash-two {
        grid-template-columns: 1fr;
    }

    .dash-scroll {
        height: calc(100vh - 205px);
    }
}

