/* Super Admin NOC dashboard redesign — navy / gold */

.noc-heading h3 {
    color: #044464 !important;
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0;
}

.noc-period-btn,
.noc-refresh-btn {
    border: 1px solid rgba(4, 68, 100, 0.18) !important;
    background: #fff !important;
    color: #044464 !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    box-shadow: 0 4px 14px rgba(4, 68, 100, 0.06);
}

.noc-period-btn.is-active {
    background: #044464 !important;
    border-color: #044464 !important;
    color: #ffffff !important;
}

.noc-refresh-btn {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #044464 !important;
    border-color: #044464 !important;
    color: #ffffff !important;
}

.noc-heading {
    box-sizing: border-box;
}

.noc-toolbar {
    max-width: 100%;
}

/* Keep the layout gutter so cards never slide under the fixed left toolbar */
@media (min-width: 769px) {
    .content__section--items.noc-panel-page {
        padding-left: 108px !important;
        padding-right: 48px !important;
        width: auto !important;
        max-width: 100%;
        overflow-x: visible;
        box-sizing: border-box;
    }

    .content__section--heading.noc-heading {
        width: auto !important;
        max-width: none !important;
        margin-left: 88px !important;
    }
}

@media (min-width: 769px) and (max-width: 1800px) {
    .content__section--items.noc-panel-page {
        padding-left: 100px !important;
        padding-right: 40px !important;
    }

    .content__section--heading.noc-heading {
        margin-left: 80px !important;
    }
}

.noc-panel-page .noc-panel-container {
    padding: 8px 12px 28px !important;
}

.noc-panel-page,
.noc-panel-page .noc-panel-container,
.noc-panel-page .noc-main-grid,
.noc-panel-page .noc-main-grid > .mud-grid-item,
.noc-panel-page .nocDash,
.noc-panel-page .activityContent,
.noc-panel-page .noc-stat-card,
.noc-panel-page .noc-chart-host,
.noc-panel-page .mud-grid,
.noc-panel-page .mud-card,
.noc-panel-page .mud-card-content {
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}

.noc-panel-page .mud-grid {
    width: 100% !important;
    margin: 0 !important;
}

.noc-panel-page .noc-main-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-flow: dense !important;
    gap: 32px !important;
    row-gap: 32px !important;
    column-gap: 32px !important;
    margin-bottom: 32px !important;
    width: 100%;
}

.noc-panel-page .noc-main-grid > .mud-grid-item {
    width: auto !important;
    max-width: 100% !important;
    flex-basis: auto !important;
    padding: 0 !important;
}

/* Charts row — desktop: 3 / 6 / 3 */
.noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(1),
.noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(3),
.noc-panel-page .noc-span-pie {
    grid-column: span 3 !important;
}

.noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(2),
.noc-panel-page .noc-span-line {
    grid-column: span 6 !important;
}

/* Lower section — desktop: 4 / 8 then 4 / 4 / 4 */
.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
.noc-panel-page .noc-span-quick {
    grid-column: span 4 !important;
}

.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2),
.noc-panel-page .noc-span-feed {
    grid-column: span 8 !important;
}

.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(3),
.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(4),
.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(5),
.noc-panel-page .noc-span-stat {
    grid-column: span 4 !important;
}

.noc-chart-host {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.noc-chart-host .apexcharts-canvas {
    margin-inline: auto !important;
    max-width: 100% !important;
}

.noc-chart-host.noc-chart-host--line {
    display: block;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    justify-content: stretch;
    align-items: stretch;
}

.noc-chart-host.noc-chart-host--line > *,
.noc-chart-host.noc-chart-host--line .apexcharts-canvas,
.noc-chart-host.noc-chart-host--line .apexcharts-svg {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

.noc-chart-host.noc-chart-host--pie {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 280px;
    justify-content: stretch;
    align-items: stretch;
}

.noc-chart-host.noc-chart-host--pie > * {
    display: block !important;
    width: 100% !important;
    flex: 1 1 auto;
}

.noc-chart-host.noc-chart-host--pie .apexcharts-canvas {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
}

.noc-panel-page .noc-span-pie .activityContent,
.noc-panel-page .noc-span-pie .mud-card-content {
    display: block !important;
    width: 100% !important;
}

.noc-panel-page .nocDash,
.noc-panel-page .noc-stat-card,
.noc-panel-page .noc-feed-card,
.noc-panel-page .noc-quick-card {
    width: 100% !important;
    max-width: 100% !important;
}

.noc-panel-page .activityContent {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    width: 100%;
}

.noc-panel-page .apexcharts-canvas {
    width: 100% !important;
    max-width: 100% !important;
}

.noc-panel-page .apexcharts-svg,
.noc-panel-page .apexcharts-inner,
.noc-panel-page .apexcharts-graphical {
    max-width: 100% !important;
}

.noc-panel-page .apexcharts-legend {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding-inline: 4px !important;
}

.noc-panel-page .apexcharts-legend-series {
    min-width: 0;
}

.noc-panel-page .apexcharts-legend-text {
    white-space: normal !important;
}

.noc-panel-page .apexcharts-xaxis-texts-g text,
.noc-panel-page .apexcharts-yaxis-texts-g text,
.noc-panel-page .apexcharts-xaxis-label {
    max-width: 100%;
}

.noc-panel-page .noc-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 24px !important;
    row-gap: 24px !important;
    column-gap: 24px !important;
    width: 100%;
    margin: 0 0 32px !important;
    align-items: stretch;
    border: 1px solid #0444640f;
    padding: 16px;
    border-radius: 20px;
    background-color: #ffffff;
}

.noc-kpi-card {
    --kpi-accent: #7a8f9c;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 92px !important;
    height: 100%;
    padding: 20px 22px !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #e6edf1 !important;
    border-top: 1px solid #e6edf1 !important;
    color: #445a68 !important;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.noc-kpi-card::after {
    display: none !important;
}
/*
.noc-kpi-card--slate { --kpi-accent: #90a4ae; }
.noc-kpi-card--muted { --kpi-accent: #78909c; }
.noc-kpi-card--teal { --kpi-accent: #5b8fa3; }
.noc-kpi-card--navy { --kpi-accent: #044464; }
.noc-kpi-card--gold { --kpi-accent: #c9a84c; }
.noc-kpi-card--green { --kpi-accent: #43a047; }
.noc-kpi-card--lime { --kpi-accent: #7cb342; }*/

.noc-kpi-card .fa-share-nodes{
    color: #616161;
}

.noc-kpi-card .fa-globe{
    color: #455A64;
}

.noc-kpi-card .fa-diagram-project{
    color: #546E7A;
}

.noc-kpi-card .fa-desktop{
    color: #388E3C;
}

.noc-kpi-card .fa-lock{
    color: #D50000;
}

.noc-kpi-card .fa-ban{
    color: #D32F2F;
}

.noc-kpi-card .fa-user{
    color: #1976D2;
}

.noc-kpi-card .fa-users{
    color: #FBC02D;
}

.noc-kpi-card .fa-database{
    color: #689F38;
}

.noc-kpi-card .fa-id-card{
    color: #FFB300;
}





.noc-kpi-card.has-warn {
    --kpi-accent: #e67e22;
}

.noc-kpi-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
}

.noc-kpi-label {
    display: block;
    font-size: 0.8rem !important;
    font-weight: 500;
    line-height: 1.35;
    color: #5a6f7c !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.noc-kpi-value {
    display: block;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    line-height: 1.15;
    color: var(--kpi-accent) !important;
    white-space: nowrap;
}

.noc-kpi-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    min-width: 36px;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kpi-accent) !important;
    opacity: 0.5;
    font-size: 1.85rem;
    line-height: 1;
}

/* Welcome banner — gold→navy curved hero + status strip */
.noc-welcome {
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.55fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(4, 68, 100, 0.08);
    border: none;
    margin-bottom: 40px !important;
    min-height: 120px;
}

.noc-welcome__hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 24px 0px 56px;
    margin-left: -52px;
    color: #fff;
    overflow: hidden;
}

.noc-welcome__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top right, #D4AF37 0%, #c9a84c 18%, #2E637E 55%, #044464 78%, #003B46 100%);
    
    border-radius: 0;
}

.noc-welcome__hero::before {
    content: "";
    position: absolute;
    left: -205px;
    top: 40%;
    width: 290px;
    height: 180px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.noc-welcome__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 28ch;
    margin: 0 auto;
}

.noc-welcome__title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.55;
    color: #ffffff !important;
    white-space: normal;
}

.noc-welcome__subtitle {
    margin: 10px 0 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.95;
    color: #ffffff !important;
}

.noc-welcome__stats {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 24px 18px 20px;
    min-width: 0;
    margin-inline-start: -60px;
    z-index: 2;
}
.noc-welcome__stat {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    text-decoration: none;
    text-align: center;
    min-width: 0;
    position: relative;
    color: #044464 !important;
}

.noc-welcome__stat + .noc-welcome__stat::before {
    content: "";
    position: absolute;
    inset-block: 18%;
    inset-inline-start: 0;
    width: 1px;
    background: rgba(4, 68, 100, 0.12);
}

.noc-welcome__stat.is-link:hover .noc-welcome__value {
    color: #044464 !important;
}

.noc-welcome__stat-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.noc-welcome__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #C9A84C;
    font-size: 0.95rem;
    line-height: 1;
    margin: 0;
}

.noc-welcome__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #044464 !important;
    white-space: nowrap;
}

.noc-welcome__stat-body {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.noc-welcome__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
    background: #90a4ae;
}

.noc-welcome__stat.is-ok .noc-welcome__dot { background: #2e7d32; }
.noc-welcome__stat.is-bad .noc-welcome__dot { background: #c62828; }
.noc-welcome__stat.is-muted .noc-welcome__dot { background: #90a4ae; }

.noc-welcome__value {
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
    color: #044464 !important;
    white-space: nowrap;
}

.noc-welcome__stat.is-ok .noc-welcome__value {
    color: #2e7d32 !important;
}

.noc-welcome__stat.is-bad .noc-welcome__value {
    color: #c62828 !important;
}
/* Cards */
.noc-panel-page .nocDash,
.noc-panel-page .noc-feed-card {
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(4, 68, 100, 0.06) !important;
    border: 1px solid rgba(4, 68, 100, 0.06);
    overflow: hidden;
}

.noc-panel-page .nocDashHeader {
    background-color: #044464 !important;
}

.noc-card-head {
    padding: 12px 16px !important;
}

.noc-card-head--light {
    background: transparent !important;
    border-bottom: none;
}

.noc-card-head--light h4 {
    color: #ffffff !important;
    text-align: right !important;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.noc-card-head__row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Latest system events + quick access row */
.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
.noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2) {
    display: flex !important;
    align-items: stretch !important;
}

.noc-panel-page .noc-feed-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    height: 440px !important;
    max-height: 440px !important;
    min-height: 440px;
    background: linear-gradient(180deg, #eef4f7 0%, #f5f8fa 100%) !important;
    border: 1px solid rgba(4, 68, 100, 0.08);
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(4, 68, 100, 0.06) !important;
    overflow: hidden;
}

.noc-panel-page .noc-quick-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    height: 440px !important;
    max-height: 440px !important;
    min-height: 440px;
    background: #fff !important;
    align-self: stretch;
}

.noc-feed-head {
    padding: 16px 20px 10px !important;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.noc-feed-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.noc-feed-title h4 {
    color: #044464 !important;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.noc-feed-title__icon {
    color: #B59A55;
    font-size: 1.05rem;
    line-height: 1;
}

.noc-feed-body {
    position: relative;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 4px 12px 16px 16px !important;
    z-index: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(4, 68, 100, 0.28) transparent;
}

.noc-panel-page .noc-quick-card > .mud-card-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
}

.noc-feed-body::-webkit-scrollbar {
    width: 6px;
}

.noc-feed-body::-webkit-scrollbar-thumb {
    background: rgba(4, 68, 100, 0.28);
    border-radius: 999px;
}

.noc-feed-body::-webkit-scrollbar-track {
    background: transparent;
}

.noc-feed-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

    .noc-feed-watermark i {
        font-size: clamp(7rem, 18vw, 11rem);
        color: #b59a552e;
        transform: translatex(-126%) translatey(1%) scaleX(1.6) scaley(2.1);
    }

.noc-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.noc-feed-list::before {
    content: "";
    position: absolute;
    inset-inline-start: 3px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: rgba(122, 146, 160, 0.28);
    z-index: 0;
    pointer-events: none;
}

.noc-feed-item {
    --feed-accent: #7a92a0;
    --feed-accent-bg: rgba(122, 146, 160, 0.16);
    position: relative;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.noc-feed-item--download {
    --feed-accent: #2e7d32;
    --feed-accent-bg: rgba(76, 175, 80, 0.16);
}

.noc-feed-item--login {
    --feed-accent: #B59A55;
    --feed-accent-bg: rgba(232, 180, 74, 0.22);
}

.noc-feed-item--upload {
    --feed-accent: #6a4c93;
    --feed-accent-bg: rgba(149, 117, 205, 0.18);
}

.noc-feed-item--share {
    --feed-accent: #2e637e;
    --feed-accent-bg: rgba(46, 99, 126, 0.14);
}

.noc-feed-rail {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aafbb;
    border: 2px solid #eef4f7;
    box-shadow: 0 0 0 1px rgba(122, 146, 160, 0.25);
    position: relative;
    z-index: 1;
    align-self: center;
}

.noc-feed-item__card {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(4, 68, 100, 0.04);
    overflow: hidden;
    box-sizing: border-box;
}

.noc-feed-action {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--feed-accent-bg);
    color: var(--feed-accent);
    font-size: 1rem;
}

.noc-feed-person {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: none;
}

.noc-feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    background: linear-gradient(145deg, #2e637e 0%, #044464 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.noc-feed-person__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.noc-feed-person__name {
    color: #044464 !important;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noc-feed-person__sub {
    color: #7a92a0 !important;
    font-size: 0.74rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noc-feed-text {
    min-width: 0;
    font-size: 0.88rem !important;
    font-weight: 600;
    line-height: 1.45;
    color: #044464 !important;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
}

.noc-feed-time {
    font-size: 0.8rem;
    color: #5d7a8a !important;
    white-space: nowrap;
    font-weight: 600;
    padding-top: 0;
}

.noc-feed-empty {
    position: relative;
    z-index: 1;
    padding: 28px 12px;
    color: #5d7a8a !important;
}

.noc-panel-page .noc-feed-card .noc-view-all-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #044464 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.noc-panel-page .noc-feed-card .noc-view-all-link i {
    font-size: 0.7rem;
    color: inherit !important;
}

.noc-panel-page .noc-feed-card .noc-view-all-link:hover {
    color: #2E637E !important;
}

.noc-panel-page .noc-quick-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-content: stretch !important;
    align-items: stretch !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 16px 20px 20px !important;
}

.noc-quick-card .mud-card-header {
    flex: 0 0 auto;
}

.noc-quick-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 64px;
    height: 100% !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    background: #fff !important;
    border: 1px solid rgba(4, 68, 100, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px 14px !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: #044464 !important;
    text-decoration: none;
}

.noc-quick-link:hover {
    border-color: rgba(226, 192, 100, 0.7) !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(4, 68, 100, 0.08);
}

.noc-quick-link i {
    color: #E2C064 !important;
    flex: 0 0 auto;
}

.noc-quick-card .noc-card-head--light {
    background: #26475D !important;
    border-bottom: 1px solid rgba(4, 68, 100, 0.08);
}

.noc-usage-bar {
    height: 10px !important;
}

.noc-usage-bar__fill,
.noc-usage-bar > span {
    background: linear-gradient(90deg, #C9A84C 0%, #044464 100%) !important;
}

/* Bottom stat cards: users / system / upload-download */
.noc-stat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(4, 68, 100, 0.06);
    border: 1px solid rgba(4, 68, 100, 0.06);
}

.noc-stat-card__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 16px 10px;
    background: #fff;
}

.noc-stat-card__footer {
    flex: 0 0 auto;
    background: #044464;
    color: #ffffff !important;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 14px;
    line-height: 1.4;
}

.noc-usage-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    background: #eef2f5;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 12px;
    color: #5d7a8a;
    font-size: 0.78rem;
    font-weight: 700;
}

.noc-usage-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.noc-usage-item {
    display: grid;
    grid-template-columns: minmax(140px, 1.1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.noc-usage-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.noc-usage-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #044464;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.noc-usage-meta {
    min-width: 0;
}

.noc-usage-name {
    display: block;
    color: #044464 !important;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noc-usage-meter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.noc-usage-bar {
    height: 10px !important;
    border-radius: 999px;
    background: rgba(4, 68, 100, 0.1);
    overflow: hidden;
}

.noc-usage-bar__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #C9A84C 0%, #044464 100%) !important;
}

.noc-usage-pct {
    color: #044464 !important;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    min-width: 2.6em;
    text-align: left;
}

.noc-system-used-body,
.noc-ud-count-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 12px 8px;
    overflow: hidden;
}

.noc-donut-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.noc-donut-wrap .apexcharts-canvas,
.noc-ud-count-body .apexcharts-canvas {
    margin: 0 auto !important;
    max-width: 100% !important;
}

.noc-system-used .apexcharts-legend,
.noc-system-used .apexcharts-legend-series {
    display: none !important;
}

.noc-donut-legend {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.noc-donut-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #044464;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.noc-donut-legend__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
}

.noc-donut-legend__pct {
    color: #0D3A50;
    font-size: 0.82rem;
    font-weight: 800;
    margin-inline-start: 2px;
}

.noc-system-used .apexcharts-datalabel,
.noc-system-used .apexcharts-datalabel-label,
.noc-system-used .apexcharts-datalabel-value,
.noc-system-used text.apexcharts-datalabel-label tspan {
    fill: #ffffff !important;
    color: #ffffff !important;
    font-family: 'Vazir FD', Tahoma, sans-serif !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    opacity: 1 !important;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.4);
    stroke-width: 3px;
    stroke-linejoin: round;
    letter-spacing: 0.02em;
}

@media (max-width: 1200px) {
    .noc-welcome__title {
        font-size: 1.15rem;
    }

    .noc-welcome__stats {
        padding: 16px 16px 16px 12px;
    }
}

@media (max-width: 768px) {
    .noc-welcome {
        grid-template-columns: 1fr;
    }

    .noc-welcome__hero {
        margin-left: 0;
        padding: 22px 24px 48px;
        justify-content: center;
        order: -1;
    }

    .noc-welcome__hero-bg {
        border-radius: 0;
    }

    .noc-welcome__hero::before {
        display: block;
        left: 50%;
        top: auto;
        bottom: -140px;
        width: 190px;
        height: 280px;
        transform: translateX(-50%);
        z-index: 1;
    }

    .noc-welcome__hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: none;
    }

    .noc-welcome__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline-start: 0;
        padding: 12px 8px 16px;
    }

    .noc-welcome__stat + .noc-welcome__stat::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .noc-panel-page .noc-span-pie,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(3) {
        grid-column: span 6 !important;
    }

    .noc-panel-page .noc-span-line,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(2) {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-span-quick,
    .noc-panel-page .noc-span-feed,
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2) {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-span-stat,
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(4) {
        grid-column: span 6 !important;
    }

    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(5) {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .noc-panel-page .noc-feed-card,
    .noc-panel-page .noc-quick-card {
        height: auto !important;
        min-height: 320px;
        max-height: none !important;
    }

    .noc-panel-page .noc-feed-card {
        max-height: 520px !important;
    }

    .noc-panel-page .noc-quick-links {
        grid-template-rows: none !important;
        min-height: 0 !important;
    }

    .noc-feed-item__card {
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
    }

    .noc-feed-text {
        grid-column: 1 / -1;
        text-align: right;
    }

    .noc-stat-card {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .noc-heading {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .noc-toolbar {
        width: 100%;
        justify-content: stretch;
    }

    .noc-period-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .noc-panel-page .noc-main-grid > .mud-grid-item,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(4),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(5),
    .noc-panel-page .noc-span-pie,
    .noc-panel-page .noc-span-line,
    .noc-panel-page .noc-span-quick,
    .noc-panel-page .noc-span-feed,
    .noc-panel-page .noc-span-stat {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .noc-panel-page .noc-quick-links {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
    }

    .noc-welcome__label,
    .noc-welcome__value,
    .noc-kpi-label {
        white-space: normal;
    }

    .noc-chart-host {
        min-height: 180px;
    }

    .noc-stat-card {
        min-height: 0;
    }

    .noc-panel-page .apexcharts-legend {
        justify-content: center !important;
        inset-inline: 0 !important;
    }

    .noc-panel-page .apexcharts-xaxis text,
    .noc-panel-page .apexcharts-yaxis text {
        font-size: 9px !important;
    }
}

@media (max-width: 600px) {
    .noc-welcome__stats {
        grid-template-columns: 1fr 1fr;
    }

    .noc-welcome__title {
        font-size: 1.15rem;
        white-space: normal;
    }

    .noc-welcome__text,
    .noc-welcome__value {
        white-space: normal;
    }

    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .noc-kpi-card {
        min-height: 76px !important;
        padding: 12px 14px !important;
        gap: 8px;
    }

    .noc-kpi-value {
        font-size: 1.35rem !important;
    }

    .noc-usage-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .noc-usage-meter {
        padding-inline-start: 48px;
    }

    .noc-feed-item__card {
        grid-template-columns: 36px minmax(0, 1fr) !important;
        gap: 10px;
        padding: 12px;
    }

    .noc-feed-text,
    .noc-feed-time {
        grid-column: 1 / -1;
        text-align: right;
    }

    .noc-feed-time {
        padding-top: 0;
        font-size: 0.74rem;
    }

    .noc-feed-person__name {
        white-space: normal;
    }

    .noc-card-head__row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .noc-panel-page .noc-feed-card,
    .noc-panel-page .noc-quick-card {
        height: auto !important;
        max-height: none !important;
        min-height: 0;
    }

    .noc-panel-page .noc-feed-card {
        max-height: 480px !important;
    }

    .noc-panel-page .noc-panel-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 420px) {
    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .noc-welcome__stats {
        grid-template-columns: 1fr !important;
    }

    .noc-period-btn,
    .noc-refresh-btn {
        padding-inline: 10px !important;
        font-size: 0.8rem;
    }
}

@container noc-panel (max-width: 800px) {
    .noc-panel-page .noc-span-pie,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(3) {
        grid-column: span 6 !important;
    }

    .noc-panel-page .noc-span-line,
    .noc-panel-page .noc-span-quick,
    .noc-panel-page .noc-span-feed,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(5) {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-span-stat,
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(4) {
        grid-column: span 6 !important;
    }

    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@container noc-panel (max-width: 720px) {
    .noc-panel-page .noc-main-grid > .mud-grid-item,
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid:not(.noc-main-grid--lower) > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(1),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(2),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(3),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(4),
    .noc-panel-page .noc-main-grid--lower > .mud-grid-item:nth-child(5),
    .noc-panel-page .noc-span-pie,
    .noc-panel-page .noc-span-line,
    .noc-panel-page .noc-span-quick,
    .noc-panel-page .noc-span-feed,
    .noc-panel-page .noc-span-stat {
        grid-column: 1 / -1 !important;
    }

    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .noc-panel-page .noc-quick-links {
        grid-template-columns: 1fr !important;
    }
}

@container noc-panel (max-width: 420px) {
    .noc-panel-page .noc-kpi-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== Dark mode ========== */
.layout-theme.theme-dark .noc-welcome__title {
    color: #AEBDC5 !important;
}

.layout-theme.theme-dark .noc-welcome__subtitle {
    color: #AEBDC5 !important;
}

.layout-theme.theme-dark .noc-feed-item--upload {
    --feed-accent: #29233A;
    --feed-accent-bg: #9A78D6;
}

.layout-theme.theme-dark .noc-donut-legend__pct {
    color: #AEBDC5;
}


.layout-theme.theme-dark .noc-feed-action {
    background: var(--feed-accent-bg);
    color: var(--feed-accent);
}

.layout-theme.theme-dark .noc-feed-item--download {
    --feed-accent: #78A861;
    --feed-accent-bg: #78a8617a;
}
.layout-theme.theme-dark .noc-feed-action {
    background: var(--feed-accent-bg);
    color: var(--feed-accent);
}

.layout-theme.theme-dark .noc-kpi-card .fa-share-nodes {
    color: #d9e2e799;
}

.layout-theme.theme-dark .noc-kpi-card .fa-globe {
    color: #d9e2e799;
}

.layout-theme.theme-dark .noc-kpi-card .fa-diagram-project {
    color: #d9e2e799;
}

.layout-theme.theme-dark .noc-kpi-card .fa-desktop {
    color: #78A861;
}

.layout-theme.theme-dark .noc-kpi-card .fa-lock {
    color: #c94a4a;
}

.layout-theme.theme-dark .noc-kpi-card .fa-ban {
    color: #c94a4a;
}

.layout-theme.theme-dark .noc-kpi-card .fa-user {
    color: #B59A55;
}

.layout-theme.theme-dark .noc-kpi-card .fa-users {
    color: #B59A55;
}

.layout-theme.theme-dark .noc-kpi-card .fa-database {
    color: #78A861;
}

.layout-theme.theme-dark .noc-kpi-card .fa-id-card {
    color: #d3d3d3b3;
}

.layout-theme.theme-dark .noc-panel-page .noc-kpi-grid {
    border-color: #0B3043;
    background-color: #092735;
}

.layout-theme.theme-dark .noc-heading h3,
.mud-theme-dark .noc-heading h3 {
    color: #AEBDC5 !important;
}

.layout-theme.theme-dark .noc-usage-avatar {
    background-color: #869CA7 !important;
    border: none !important;
    color: #092735 !important;
}

.layout-theme.theme-dark .noc-period-btn,
.mud-theme-dark .noc-period-btn {
    background: #355b6d66 !important;
    border: none !important;
    color: #AEBDC5 !important;
    box-shadow: none !important;
}

    .layout-theme.theme-dark .noc-period-btn.is-active,
    .mud-theme-dark .noc-period-btn.is-active {
        background: #B59A55 !important;
        border: none !important;
        color: #0D3A50 !important;
    }

.layout-theme.theme-dark .noc-refresh-btn,
.mud-theme-dark .noc-refresh-btn {
    background: #B59A55 !important;
    border: none !important;
    color: #0D3A50 !important;
}

/* Welcome strip (dark): same geometry as light — colors / contrast only */
.layout-theme.theme-dark .noc-welcome,
.mud-theme-dark .noc-welcome {
    background: #0f1620 !important;
    border-color: #0B3043 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32) !important;
}

.layout-theme.theme-dark .noc-welcome__hero,
.mud-theme-dark .noc-welcome__hero {
    background: transparent !important;
    color: #f3f8fc !important;
}

.layout-theme.theme-dark .noc-welcome__hero-bg,
.mud-theme-dark .noc-welcome__hero-bg {
    background: #0D3A50;
    background: linear-gradient(to bottom left,rgba(9, 39, 53, 1) 20%, rgba(11, 48, 67, 1) 50%, rgba(121, 103, 57, 1) 100%);
}

/* Curve must match stats panel so the cutout blends cleanly */
/*.layout-theme.theme-dark .noc-welcome__hero::before,
.mud-theme-dark .noc-welcome__hero::before {
    background-color: #ffff !important;
}



}*/
.layout-theme.theme-dark .noc-welcome__stat, .mud-theme-dark .noc-welcome__stat {
    background: transparent !important;
    border: none !important;
    color: #e6f1fb !important;
}
.layout-theme.theme-dark .noc-welcome__title,
.mud-theme-dark .noc-welcome__title,
.layout-theme.theme-dark .noc-welcome__eyebrow,
.mud-theme-dark .noc-welcome__eyebrow {
    color: #AEBDC5 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}
.layout-theme.theme-dark .content__section--heading > h3
.layout-theme.theme-dark .noc-welcome__subtitle,
.mud-theme-dark .noc-welcome__subtitle {
    color: rgba(243, 248, 252, 0.88) !important;
}
.layout-theme.theme-dark .noc-welcome__stat,
.mud-theme-dark .noc-welcome__stat {
    border: none !important;
    color: #e6f1fb !important;
}

.layout-theme.theme-dark .noc-welcome__icon,
.mud-theme-dark .noc-welcome__icon {
    background: transparent !important;
    color: #B59A55 !important;
}

.layout-theme.theme-dark .noc-welcome__label,
.mud-theme-dark .noc-welcome__label {
    color: #AEBDC5 !important;
}
.layout-theme.theme-dark .noc-welcome__value,
.mud-theme-dark .noc-welcome__value,
.layout-theme.theme-dark .noc-welcome__text,
.mud-theme-dark .noc-welcome__text {
    color: #AEBDC5 !important;
}
.layout-theme.theme-dark .noc-welcome__stat.is-link:hover .noc-welcome__value,
.mud-theme-dark .noc-welcome__stat.is-link:hover .noc-welcome__value {
    color: #AEBDC5 !important;
}
.layout-theme.theme-dark .noc-welcome {
    background-color: #092735 !important;
}

.layout-theme.theme-dark .noc-welcome__hero::before {
    background-color: #092735 !important;
}

.layout-theme.theme-dark .noc-welcome__stat + .noc-welcome__stat::before {
    background: #ffffff38;
}

.layout-theme.theme-dark .noc-stat-card__footer {
    background: #0D3A50;
    color: #AEBDC5 !important;
}


.layout-theme.theme-dark .noc-welcome__stat.is-ok .noc-welcome__value,
.mud-theme-dark .noc-welcome__stat.is-ok .noc-welcome__value {
    color: #78A861 !important;
}
.layout-theme.theme-dark .noc-welcome__stat.is-warn .noc-welcome__value,
.mud-theme-dark .noc-welcome__stat.is-warn .noc-welcome__value { color: #e2c064 !important; }
.layout-theme.theme-dark .noc-welcome__stat.is-bad .noc-welcome__value,
.mud-theme-dark .noc-welcome__stat.is-bad .noc-welcome__value { color: #ff7b72 !important; }
.layout-theme.theme-dark .noc-welcome__stat.is-muted .noc-welcome__value,
.mud-theme-dark .noc-welcome__stat.is-muted .noc-welcome__value { color: #AEAEAE !important; }

.layout-theme.theme-dark .noc-welcome__dot,
.mud-theme-dark .noc-welcome__dot {
    background: #AEAEAE !important;
}

.layout-theme.theme-dark .noc-welcome__stat.is-ok .noc-welcome__dot,
.mud-theme-dark .noc-welcome__stat.is-ok .noc-welcome__dot { background: #78A861 !important; box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.18); }
.layout-theme.theme-dark .noc-welcome__stat.is-warn .noc-welcome__dot,
.mud-theme-dark .noc-welcome__stat.is-warn .noc-welcome__dot { background: #e2c064 !important; box-shadow: 0 0 0 3px rgba(226, 192, 100, 0.18); }
.layout-theme.theme-dark .noc-welcome__stat.is-bad .noc-welcome__dot,
.mud-theme-dark .noc-welcome__stat.is-bad .noc-welcome__dot { background: #ff7b72 !important; box-shadow: 0 0 0 3px rgba(255, 123, 114, 0.18); }
.layout-theme.theme-dark .noc-welcome__stat.is-muted .noc-welcome__dot,
.mud-theme-dark .noc-welcome__stat.is-muted .noc-welcome__dot { background: #AEAEAE !important; box-shadow: none; }

.layout-theme.theme-dark .noc-kpi-card,
.mud-theme-dark .noc-kpi-card {
    background: #161b22 !important;
    border-color: #26475D !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
    color: #f0f6fc !important;
}
/*
.layout-theme.theme-dark .noc-kpi-icon, .mud-theme-dark .noc-kpi-icon{
    color: #8b949e !important;
}
*/
.layout-theme.theme-dark .noc-kpi-icon .fal fa-desktop{
    color: red !important;
}

.layout-theme.theme-dark .noc-kpi-icon .fal fa-share-nodes {
    color: #94C573;
}

.layout-theme.theme-dark .noc-kpi-icon .fal fa-lock {
    color: #78A861;
}



.layout-theme.theme-dark .noc-kpi-card.has-warn .noc-kpi-icon,
.mud-theme-dark .noc-kpi-card.has-warn .noc-kpi-icon {
    background: rgba(226, 192, 100, 0.14) !important;
    color: #e2c064 !important;
}

.layout-theme.theme-dark .noc-kpi-label,
.mud-theme-dark .noc-kpi-label { color: #8b949e !important; }

.layout-theme.theme-dark .noc-kpi-value,
.mud-theme-dark .noc-kpi-value { color: #f0f6fc !important; }

.layout-theme.theme-dark .noc-kpi-value--ok,
.mud-theme-dark .noc-kpi-value--ok { color: #3fb950 !important; }

.layout-theme.theme-dark .noc-panel-page .nocDash,
.layout-theme.theme-dark .noc-panel-page .noc-feed-card,
.mud-theme-dark .noc-panel-page .nocDash,
.mud-theme-dark .noc-panel-page .noc-feed-card {
    background: #092735 !important;
    border: 1px solid #0B3043 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}
/*
.layout-theme.theme-dark .noc-kpi-icon */
/*.layout-theme.theme-dark .noc-panel-page .nocDashHeader,
.mud-theme-dark .noc-panel-page .nocDashHeader {
    background: linear-gradient(180deg, rgba(150, 191, 218, 0.12) 0%, rgba(150, 191, 218, 0.04) 100%);
    border-bottom: 1px solid #30363d;
}*/
.layout-theme.theme-dark .noc-card-head--light,
.mud-theme-dark .noc-card-head--light {
    background: #0D3A50 !important;
/*    border-bottom-color: #30363d !important;*/
}

    .layout-theme.theme-dark .noc-card-head--light h4,
    .mud-theme-dark .noc-card-head--light h4,
    .layout-theme.theme-dark .noc-panel-page .noc-card-head--light h4,
    .mud-theme-dark .noc-panel-page .noc-card-head--light h4 {
        color: #AEBDC5 !important;
    }

.layout-theme.theme-dark .noc-feed-body,
.mud-theme-dark .noc-feed-body,
.layout-theme.theme-dark .noc-feed-user,
.mud-theme-dark .noc-feed-user,
.layout-theme.theme-dark .noc-feed-text,
.mud-theme-dark .noc-feed-text,
.layout-theme.theme-dark .noc-usage-name,
.mud-theme-dark .noc-usage-name,
.layout-theme.theme-dark .noc-donut-legend li,
.mud-theme-dark .noc-donut-legend li {
    color: #AEBDC5 !important;
}

.layout-theme.theme-dark .noc-feed-time,
.mud-theme-dark .noc-feed-time,
.layout-theme.theme-dark .noc-feed-ip,
.mud-theme-dark .noc-feed-ip,
.layout-theme.theme-dark .noc-empty-msg,
.mud-theme-dark .noc-empty-msg,
.layout-theme.theme-dark .noc-muted,
.mud-theme-dark .noc-muted {
    color: #8b949e !important;
}

.layout-theme.theme-dark .noc-feed-list li,
.mud-theme-dark .noc-feed-list li {
    border-bottom-color: #30363d !important;
}

.layout-theme.theme-dark .noc-feed-avatar,
.mud-theme-dark .noc-feed-avatar {
    background: #092735 !important;
    color: #B59A55 !important;
}

.layout-theme.theme-dark .noc-quick-link,
.mud-theme-dark .noc-quick-link {
    background: #0d1117 !important;
    border-color: #26475D !important;
    color: #B59A55 !important;
}

.layout-theme.theme-dark .noc-quick-link:hover,
.mud-theme-dark .noc-quick-link:hover {
    border-color: rgba(226, 192, 100, 0.45) !important;
    background: #21262d !important;
}

.layout-theme.theme-dark .noc-quick-link i,
.mud-theme-dark .noc-quick-link i {
    color: #B59A55 !important;
}

.layout-theme.theme-dark .noc-view-all-link,
.mud-theme-dark .noc-view-all-link {
    color: #e2c064 !important;
}

.layout-theme.theme-dark .noc-usage-bar,
.mud-theme-dark .noc-usage-bar {
    background: rgba(255, 255, 255, 0.08) !important;
}

.layout-theme.theme-dark .noc-usage-bar__fill,
.layout-theme.theme-dark .noc-usage-bar > span,
.mud-theme-dark .noc-usage-bar__fill,
.mud-theme-dark .noc-usage-bar > span {
    background: linear-gradient(90deg, #e2c064 0%, #4a90e2 100%) !important;
}

.layout-theme.theme-dark .noc-usage-pct,
.mud-theme-dark .noc-usage-pct {
    color: #e2c064 !important;
}



.layout-theme.theme-dark .noc-panel-page .apexcharts-legend-text,
.layout-theme.theme-dark .noc-panel-page .apexcharts-text tspan,
.mud-theme-dark .noc-panel-page .apexcharts-legend-text,
.mud-theme-dark .noc-panel-page .apexcharts-text tspan {
    fill: #AEBDC5 !important;
    color: #AEBDC5 !important;
}

.layout-theme.theme-dark .noc-panel-page .noc-feed-card .noc-view-all-link:hover {
    color: #AEBDC5 !important;
}


/*.layout-theme.theme-dark .page__section--left-content,
.mud-theme-dark .page__section--left-content {
    background-color: #0d1117 !important;
}*/

/* NOC operator: no left rail — charts fill the content width */
.layout-theme.panel-role-noc .toolbar,
.layout-theme.panel-role-noc .toolbar.toolbar--chief {
    display: none !important;
}

.layout-theme.panel-role-noc .noc-heading,
.layout-theme.panel-role-noc .noc-heading.noc-heading--operator,
.noc-heading.noc-heading--operator {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100%;
}

.layout-theme.panel-role-noc .noc-panel-page,
.layout-theme.panel-role-noc .content__section--items.noc-panel-page,
.noc-panel-page.noc-panel-page--operator {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (min-width: 769px) {
    .layout-theme.panel-role-noc .noc-panel-page, .layout-theme.panel-role-noc .content__section--items.noc-panel-page, .noc-panel-page.noc-panel-page--operator {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }
}
