/* _content/SumoWeb/Components/Basic/AlarmStatusTag.razor.rz.scp.css */
.alarm-cell[b-oqqbcuscgp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alarm-dot[b-oqqbcuscgp] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.alarm-dot-normal[b-oqqbcuscgp] {
    background: #2ecc71;
}

.alarm-dot-active[b-oqqbcuscgp] {
    background: #e74c3c;
}

.alarm-pulse[b-oqqbcuscgp] {
    animation: alarm-status-pulse-b-oqqbcuscgp 1.2s ease-in-out infinite;
}

@keyframes alarm-status-pulse-b-oqqbcuscgp {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.15); }
}
/* _content/SumoWeb/Components/Basic/BindingTag.razor.rz.scp.css */
/* Giá trị rơi vào khoảng cảnh báo (AlertRangeMin..AlertRangeMax). Hiện chỉ cột
   "Cosphi Solar" ở Plant Status dùng tới: |cosphi| < 0.9 là hệ số công suất kém. */
.tag-alert[b-w3wdcar9nr] {
    color: #ef4444;
    font-weight: 600;
}
/* _content/SumoWeb/Components/Basic/CardTemplate.razor.rz.scp.css */
.stat-card[b-uujcoi13bo] {
    background: #23282A;
    border-radius: 16px;
    padding-top: 12px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* allow custom tooltip to overflow card */
    width: 100%;
    height: 156px;
    min-width: 0;
}

    .stat-card:hover[b-uujcoi13bo] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        border-color: rgba(2, 243, 0, 0.3);
    }

    .stat-card.highlighted[b-uujcoi13bo] {
        border-color: #02F300;
        background: linear-gradient(135deg, #373535 0%, #2B2828 100%);
    }

.stat-header[b-uujcoi13bo] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-icon[b-uujcoi13bo] {
    width: 28px;
    height: 28px;
    background: rgba(2, 243, 0, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stat-name[b-uujcoi13bo] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label[b-uujcoi13bo] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFBF01;
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.stat-info-icon[b-uujcoi13bo] {
    width: 16px !important;
    height: 16px !important;
    background: transparent 70%;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

    .stat-info-icon:hover[b-uujcoi13bo] {
        opacity: 1;
    }

.stat-subtitle[b-uujcoi13bo] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #a0a0a0;
    line-height: 1.3;
}

.stat-main-value[b-uujcoi13bo] {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    align-self: center;
}

.stat-value[b-uujcoi13bo] {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
}

.stat-unit[b-uujcoi13bo] {
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
    opacity: 0.8;
}

.stat-trend[b-uujcoi13bo] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

    .stat-trend.trend-up[b-uujcoi13bo] {
        color: #4CAF50;
    }

    .stat-trend.trend-down[b-uujcoi13bo] {
        color: #F44336;
    }

.trend-description[b-uujcoi13bo] {
    color: #808080;
    font-weight: 400;
    font-size: 10px;
}

.trend-info-icon[b-uujcoi13bo] {
    width: 10px;
    height: 10px;
    color: #a0a0a0;
    opacity: 0.8;
    border: none;
    flex-shrink: 0;
    font-size: 10px;
}

.trend-icon[b-uujcoi13bo] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-arrow-up[b-uujcoi13bo] {
    color: #4CAF50;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

.trend-arrow-down[b-uujcoi13bo] {
    color: #F44336;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card[b-uujcoi13bo] {
        padding: 16px;
        gap: 10px;
    }

    .stat-main-value[b-uujcoi13bo] {
        font-size: 24px;
    }

    .stat-name[b-uujcoi13bo] {
        font-size: 13px;
    }

    .stat-subtitle[b-uujcoi13bo] {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .stat-card[b-uujcoi13bo] {
        text-align: center;
        gap: 10px;
    }

    .stat-header[b-uujcoi13bo] {
        justify-content: center;
    }

    .stat-trend[b-uujcoi13bo] {
        align-self: center;
    }
}
/* _content/SumoWeb/Components/Basic/RedisTag.razor.rz.scp.css */
/* Giá trị rơi vào vùng cảnh báo (AlertBelow). Cùng màu, cùng độ đậm với .tag-alert của
   BindingTag — hai component cạnh nhau trong cùng một bảng nên phải nói giống nhau.
   Không dùng chung được một file: CSS scoped gắn theo từng component. */
.tag-alert[b-8lmknplmcx] {
    color: #ef4444;
    font-weight: 600;
}
/* _content/SumoWeb/Components/Basic/StatusTag.razor.rz.scp.css */

.status-good[b-plga5lxnji] {
    color: #2ecc71; /* xanh lá */
}

.status-bad[b-plga5lxnji] {
    color: #e74c3c; /* đỏ */
}
/* _content/SumoWeb/Components/Binding/BindingShape.razor.rz.scp.css */

.blink[b-ngfmmrhdex] {
    animation: blink-opacity-b-ngfmmrhdex 2s infinite;
}


@keyframes blink-opacity-b-ngfmmrhdex {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}
/* _content/SumoWeb/Components/Cards/Basic/ChartCard.razor.rz.scp.css */
.chart-card[b-3xlwj3m9jh] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .chart-card[b-3xlwj3m9jh] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.chart-card:hover[b-3xlwj3m9jh] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chart-card-header[b-3xlwj3m9jh] {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    transition: border-color 0.3s ease;
}

.chart-card-title[b-3xlwj3m9jh] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFB200;
}

.chart-card-content[b-3xlwj3m9jh] {
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.chart-card-content canvas[b-3xlwj3m9jh] {
    display: block;
    max-width: 100%;
    height: auto;
}

.chart-info[b-3xlwj3m9jh] {
    margin-bottom: 1rem;
}

.duration-info[b-3xlwj3m9jh] {
    font-size: 0.9rem;
    color: #9aa4b2;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-card[b-3xlwj3m9jh] {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .chart-card-title[b-3xlwj3m9jh] {
        font-size: 1rem;
    }
}
/* _content/SumoWeb/Components/Cards/Basic/LossCard.razor.rz.scp.css */
/* LossCard styles extracted from LossSummary.razor.css */

.loss-card[b-vgqocw3671] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  font-family: "Poppins", sans-serif;
}
.loss-card_title[b-vgqocw3671] {
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
.loss-card_value[b-vgqocw3671] {
  color: #22c55e;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
}
/* _content/SumoWeb/Components/Cards/Basic/SolarPlantCard.razor.rz.scp.css */
.card-container[b-fp7agmfncd]  .mud-card {
    border-radius: 20px;
    background-color: #272626;
}
.plant-header-row[b-fp7agmfncd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.solar-plant-card[b-fp7agmfncd] {
    background: #2b2b2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.solar-plant-card[b-fp7agmfncd]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #02F300, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solar-plant-card:hover[b-fp7agmfncd] {
    background: #323232;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.solar-plant-card:hover[b-fp7agmfncd]::before {
    opacity: 1;
}

.solar-plant-card.selected[b-fp7agmfncd] {
    background: rgba(2, 243, 0, 0.1);
    border-color: #02F300;
    box-shadow: 0 0 20px rgba(2, 243, 0, 0.3);
}

.solar-plant-card.selected[b-fp7agmfncd]::before {
    background: linear-gradient(90deg, #00bcd4, #00e5ff);
    opacity: 1;
}

.plant-info[b-fp7agmfncd] {
    margin-bottom: 12px;
}

.plant-header[b-fp7agmfncd] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

.plant-header-row[b-fp7agmfncd]  .plant-name {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.plant-chips[b-fp7agmfncd]  .plant-power {
    color: #02F300;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.special-tag[b-fp7agmfncd] {
    display: inline-block;
    background: rgba(2, 243, 0, 0.2);
    color: #02F300;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(2, 243, 0, 0.3);
}

.plant-chips[b-fp7agmfncd] { display: flex; flex-wrap: wrap; gap: 6px; }

.chip[b-fp7agmfncd] { padding: 5px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600; letter-spacing: 0.2px; font-family: 'Poppins', sans-serif; }

.plant-chips[b-fp7agmfncd]  .chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Unified chip palette */
.plant-chips[b-fp7agmfncd]  .chip-gray { 
    background: #2A2F35; 
    color: #FFFFFF; 
    transition: background-color 0.3s ease, color 0.3s ease;
}
.plant-chips[b-fp7agmfncd]  .chip-yellow { background: #facc15; color: #1f1f1f; border: 1px solid rgba(0,0,0,0.1); }
.plant-header-row[b-fp7agmfncd]  .chip-green { 
    background: #10b981; 
    color: #FFFFFF; 
    border: 1px solid rgba(255,255,255,0.18);
    transition: color 0.3s ease;
}
body:not(.dark-mode) .plant-header-row[b-fp7agmfncd]  .chip-green {
    color: #FFFFFF; /* Giữ màu trắng cho chip xanh trong light mode để contrast tốt */
}
.alarm-icon-pulse[b-fp7agmfncd] {
    animation: alarm-pulse-b-fp7agmfncd 1.5s ease-in-out infinite;
}

@keyframes alarm-pulse-b-fp7agmfncd {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .solar-plant-card[b-fp7agmfncd] {
        padding: 16px;
    }
    
    .plant-name[b-fp7agmfncd] {
        font-size: 16px;
    }
    
    .plant-power[b-fp7agmfncd] {
        font-size: 14px;
    }
    
    .plant-chips[b-fp7agmfncd] {
        gap: 6px;
    }
    
    .chip[b-fp7agmfncd] {
        padding: 4px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .solar-plant-card[b-fp7agmfncd] {
        padding: 14px;
    }
    
    .plant-name[b-fp7agmfncd] {
        font-size: 15px;
    }
    
    .plant-power[b-fp7agmfncd] {
        font-size: 13px;
    }
}
/* _content/SumoWeb/Components/Cards/Basic/StatCard.razor.rz.scp.css */
.stat-card[b-qp3ala3fyf] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding-top: 12px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: visible; /* allow custom tooltip to overflow card */
    width: 100%;
    height: 156px;
    min-width: 0;
}

body:not(.dark-mode) .stat-card[b-qp3ala3fyf] {
    border-color: var(--border-color);
}

.stat-card:hover[b-qp3ala3fyf] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(2, 243, 0, 0.3);
}

.stat-card.highlighted[b-qp3ala3fyf] {
    border-color: #02F300;
    background: linear-gradient(135deg, #373535 0%, #2B2828 100%);
}

.stat-header[b-qp3ala3fyf] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-icon[b-qp3ala3fyf] {
    width: 28px;
    height: 28px;
    background: rgba(2, 243, 0, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stat-name[b-qp3ala3fyf] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label[b-qp3ala3fyf] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFBF01;
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.stat-info-icon[b-qp3ala3fyf] {
    width: 16px !important;
    height: 16px !important;
    background: transparent 70%;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.stat-info-icon:hover[b-qp3ala3fyf] {
    opacity: 1;
}

.stat-subtitle[b-qp3ala3fyf] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.stat-main-value[b-qp3ala3fyf] {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    align-self: center;
    transition: color 0.3s ease;
}

.stat-value[b-qp3ala3fyf] {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.stat-unit[b-qp3ala3fyf] {
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
    opacity: 0.8;
}

.stat-trend[b-qp3ala3fyf] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-trend.trend-up[b-qp3ala3fyf] {
    color: #4CAF50;
}

.stat-trend.trend-down[b-qp3ala3fyf] {
    color: #F44336;
}

.trend-description[b-qp3ala3fyf] {
    color: #808080;
    font-weight: 400;
    font-size: 10px;
}

.trend-info-icon[b-qp3ala3fyf] {
    width: 10px;
    height: 10px;
    color: #a0a0a0;
    opacity: 0.8;
    border: none;
    flex-shrink: 0;
    font-size: 10px;
}

.trend-icon[b-qp3ala3fyf] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-arrow-up[b-qp3ala3fyf] {
    color: #4CAF50;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

.trend-arrow-down[b-qp3ala3fyf] {
    color: #F44336;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card[b-qp3ala3fyf] {
        padding: 16px;
        gap: 10px;
    }
    
    .stat-main-value[b-qp3ala3fyf] {
        font-size: 24px;
    }
    
    .stat-name[b-qp3ala3fyf] {
        font-size: 13px;
    }
    
    .stat-subtitle[b-qp3ala3fyf] {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .stat-card[b-qp3ala3fyf] {
        text-align: center;
        gap: 10px;
    }
    
    .stat-header[b-qp3ala3fyf] {
        justify-content: center;
    }
    
    .stat-trend[b-qp3ala3fyf] {
        align-self: center;
    }
}
/* _content/SumoWeb/Components/Cards/Realtime/StatCardRealtime.razor.rz.scp.css */
.stat-card[b-9rdc3uffz6] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding-top: 12px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 156px;
    min-width: 0;
}

.stat-card:hover[b-9rdc3uffz6] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(2, 243, 0, 0.3);
}

.stat-card.highlighted[b-9rdc3uffz6] {
    border-color: #02F300;
    background: linear-gradient(135deg, #373535 0%, #2B2828 100%);
}

.stat-header[b-9rdc3uffz6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-icon[b-9rdc3uffz6] {
    width: 28px;
    height: 28px;
    background: rgba(2, 243, 0, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stat-name[b-9rdc3uffz6] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label[b-9rdc3uffz6] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFBF01;
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.stat-info-icon[b-9rdc3uffz6] {
    width: 16px !important;
    height: 16px !important;
    background: transparent 70%;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.stat-info-icon:hover[b-9rdc3uffz6] {
    opacity: 1;
}

.stat-subtitle[b-9rdc3uffz6] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #a0a0a0;
    line-height: 1.3;
}

.stat-main-value[b-9rdc3uffz6] {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    align-self: center;
}

.stat-value[b-9rdc3uffz6] {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-unit[b-9rdc3uffz6] {
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
    opacity: 0.8;
}

.stat-trend[b-9rdc3uffz6] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-trend.trend-up[b-9rdc3uffz6] {
    color: #4CAF50;
}

.stat-trend.trend-down[b-9rdc3uffz6] {
    color: #F44336;
}

.trend-description[b-9rdc3uffz6] {
    color: #808080;
    font-weight: 400;
    font-size: 10px;
}

.trend-info-icon[b-9rdc3uffz6] {
    width: 10px;
    height: 10px;
    color: #a0a0a0;
    opacity: 0.8;
    border: none;
    flex-shrink: 0;
    font-size: 10px;
}

.trend-icon[b-9rdc3uffz6] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-arrow-up[b-9rdc3uffz6] {
    color: #4CAF50;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

.trend-arrow-down[b-9rdc3uffz6] {
    color: #F44336;
    font-size: 16px;
    width: 16px;
    height: 16px;
    border: none;
}

/* Realtime specific styles */
.stat-timestamp[b-9rdc3uffz6] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #a0a0a0;
    margin-top: auto;
    padding-bottom: 8px;
}

.timestamp-label[b-9rdc3uffz6] {
    font-weight: 400;
    color: #808080;
}

.timestamp-value[b-9rdc3uffz6] {
    font-weight: 500;
    color: #a0a0a0;
}

/* Realtime indicator */
.stat-card[b-9rdc3uffz6]::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #02F300;
    border-radius: 50%;
    animation: pulse-b-9rdc3uffz6 2s infinite;
}

@keyframes pulse-b-9rdc3uffz6 {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card[b-9rdc3uffz6] {
        padding: 16px;
        gap: 10px;
    }
    
    .stat-main-value[b-9rdc3uffz6] {
        font-size: 24px;
    }
    
    .stat-name[b-9rdc3uffz6] {
        font-size: 13px;
    }
    
    .stat-subtitle[b-9rdc3uffz6] {
        font-size: 11px;
    }
    
    .stat-timestamp[b-9rdc3uffz6] {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .stat-card[b-9rdc3uffz6] {
        text-align: center;
        gap: 10px;
    }
    
    .stat-header[b-9rdc3uffz6] {
        justify-content: center;
    }
    
    .stat-trend[b-9rdc3uffz6] {
        align-self: center;
    }
    
    .stat-timestamp[b-9rdc3uffz6] {
        justify-content: center;
    }
}
/* _content/SumoWeb/Components/Charts/Basic/AreaChart.razor.rz.scp.css */
.area-chart-container[b-3hnmeraene] {
    width: 100%;
    height: 100%;
    min-height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
    padding-top: 1.5rem;
}

.area-chart-container canvas[b-3hnmeraene] {
    max-width: 100%;
    height: auto;
    min-height: 200px;
    display: block;
    border-radius: 8px;
}
/* _content/SumoWeb/Components/Charts/Basic/BarChart.razor.rz.scp.css */
.bar-chart-container[b-i68l16cf5z] { 
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar-chart-container canvas[b-i68l16cf5z] {
    width: 100% !important;
    min-height: 260px; /* fallback if Height param not set */
}

.chart-header-container[b-i68l16cf5z] { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
}
.chart-header[b-i68l16cf5z] { 
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.chart-title[b-i68l16cf5z] { 
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #FFB84D;
    font-family: 'Poppins', sans-serif;
}
.chart-info-icon[b-i68l16cf5z] { 
    width: 16px !important; 
    height: 16px !important; 
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.chart-info-icon:hover[b-i68l16cf5z] {
    opacity: 1;
}
.chart-caption[b-i68l16cf5z] { 
    font-size: 12px; 
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    margin-top: 2px;
    font-family: 'Poppins', sans-serif;
}
/* _content/SumoWeb/Components/Charts/Basic/Boxplot.razor.rz.scp.css */
/* Boxplot Chart Container Styles */
.boxplot-chart-container[b-zfy8uv1pym] {
    width: 100%;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Chart Header */
.chart-header-container[b-zfy8uv1pym] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.chart-header[b-zfy8uv1pym] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-title[b-zfy8uv1pym] {
    font-size: 14px;
    font-weight: 500;
    color: #FFBF01;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.chart-info-icon[b-zfy8uv1pym] {
    margin-left: 0.25rem;
}

/* Chart Caption/Subtitle */
.chart-caption[b-zfy8uv1pym] {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

/* Chart Canvas Container */
.chart-container[b-zfy8uv1pym] {
    width: 100%;
    height: 280px;
    position: relative;
    background: transparent;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.chart-container canvas[b-zfy8uv1pym] {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-title[b-zfy8uv1pym] {
        font-size: 0.95rem;
    }

    .chart-caption[b-zfy8uv1pym] {
        font-size: 0.8rem;
    }

    .chart-container[b-zfy8uv1pym] {
        height: 240px;
    }
}
/* _content/SumoWeb/Components/Charts/Basic/CompositeLossChart.razor.rz.scp.css */
.composite-loss-chart[b-0ohjef5k35] {
    position: relative;
    padding: 8px 12px 6px 12px;
    background: var(--bg-primary);
    /* border: 1px solid var(--border-color); */
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    height: 480px;
}

.composite-loss-chart .chart-title[b-0ohjef5k35] {
    margin: 0 0 2px 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.composite-loss-chart .chart-canvas-wrapper[b-0ohjef5k35] {
    position: relative;
    width: 100%;
    height: calc(100% - 46px);
    min-height: 300px;
}

.composite-loss-chart canvas[b-0ohjef5k35] {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.chart-header[b-0ohjef5k35] {
    display: flex;
    padding: 12px 0;
    padding-bottom: 8px;
    gap: 8px;
    margin-left: 20px;
}

.chart-header .chart-title[b-0ohjef5k35] {
    font-size: 16px;
    font-weight: bold;
    color: #FFBF01;
}

.chart-header .info-icon[b-0ohjef5k35] {
    width: 16px;
    height: 16px;
}

.composite-loss-chart .chart-subtitle[b-0ohjef5k35] {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    margin-left: 20px;
}
/* _content/SumoWeb/Components/Charts/Basic/DoughnutChart.razor.rz.scp.css */
.doughnut-chart-container[b-mtaqghff5i] {
	position: relative;
	width: 100%;
	height: 100%; /* parent should control height */
}

.doughnut-chart-caption[b-mtaqghff5i] {
	margin-top: 8px;
	text-align: center;
	color: #c7c9cc;
	font-size: 12px;
}

/* Ensure canvas fills parent .chart-container height */
.doughnut-chart-container > canvas[b-mtaqghff5i] {
	display: block;
	width: 100% !important;
	height: 100% !important;
}


/* _content/SumoWeb/Components/Charts/Basic/GroupedBarChart.razor.rz.scp.css */
.grouped-bar-chart-container[b-ojluxpiq9b] {
    width: 100%;
    height: 100%;
    min-height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.grouped-bar-chart-container canvas[b-ojluxpiq9b] {
    max-width: 100%;
    height: auto;
    min-height: 300px;
    display: block;
    border-radius: 8px;
}
/* _content/SumoWeb/Components/Charts/Basic/Heatmap.razor.rz.scp.css */
.heatmap-chart-container[b-39io4qwixx] {
    width: 100%;
    min-height: 480px;
    background: var(--bg-primary);
    border-radius: 18px;
    padding: 24px 28px 18px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
    border: 1.5px solid var(--border-color);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-header-container[b-39io4qwixx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.chart-header[b-39io4qwixx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-title[b-39io4qwixx] {
    color: #FFBF01;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    text-align: left;
    letter-spacing: 0.3px;
}

.chart-info-icon[b-39io4qwixx] {
    color: #666;
    cursor: help;
}

.chart-caption[b-39io4qwixx] {
    color: #AFAFAF;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

.heatmap-container[b-39io4qwixx] {
    width: 100%;
    height: 400px;
    min-height: 300px;
    background: transparent;
    flex: 1;
}

.inverter-select[b-39io4qwixx] {
    position: relative;
}

.inverter-btn[b-39io4qwixx] {
    background: transparent;
    border: 1px solid #5f6368;
    color: white;
    padding: 6px 14px;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inverter-dropdown[b-39io4qwixx] {
    position: absolute;
    top: 110%;
    right: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    min-width: 220px;
    z-index: 1000;
}

.dropdown-item[b-39io4qwixx] {
    padding: 8px 12px;
    cursor: pointer;
    color: white;
}

    .dropdown-item:hover[b-39io4qwixx] {
        background: #222;
    }



/* Responsive design */
@media (max-width: 768px) {
    .heatmap-chart-container[b-39io4qwixx] {
        padding: 6px;
        margin: 6px 0;
        gap: 6px;
    }
    
    .chart-title[b-39io4qwixx] {
        font-size: 18px;
    }
    
    .chart-caption[b-39io4qwixx] {
        font-size: 11px;
    }
    
    .heatmap-container[b-39io4qwixx] {
        height: 300px;
        min-height: 250px;
    }
    
    .linear-legend-card[b-39io4qwixx] {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .heatmap-chart-container[b-39io4qwixx] {
        padding: 4px;
        margin: 4px 0;
        gap: 4px;
    }
    
    .chart-title[b-39io4qwixx] {
        font-size: 16px;
    }
    
    .chart-caption[b-39io4qwixx] {
        font-size: 10px;
    }
    
    .heatmap-container[b-39io4qwixx] {
        height: 250px;
        min-height: 200px;
    }
    
    .linear-legend-card[b-39io4qwixx] {
        width: 160px;
        height: 35px;
    }
    
    .linear-legend-gradient[b-39io4qwixx] {
        width: 50px;
        height: 16px;
    }
    
    .linear-legend-label[b-39io4qwixx],
    .linear-legend-value[b-39io4qwixx] {
        font-size: 10px;
    }
}
/* _content/SumoWeb/Components/Charts/Basic/HorizontalBarChart.razor.rz.scp.css */
.horizontal-bar-chart-container[b-bhaf7681cw] {
  width: 100%;
  min-height: 340px;
  background: var(--bg-primary);
  border-radius: 18px;
  padding: 20px 24px 16px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  border: 1.5px solid var(--border-color);
  margin-bottom: 32px;
}

canvas[b-bhaf7681cw] {
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.chart-header[b-bhaf7681cw] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chart-header-container[b-bhaf7681cw] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.chart-title[b-bhaf7681cw] {
  font-size: 16px;
  color: #FFBF01;
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-info-icon[b-bhaf7681cw] {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chart-info-icon:hover[b-bhaf7681cw] {
  opacity: 1;
}

.chart-caption[b-bhaf7681cw] {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}


.inverter-select[b-bhaf7681cw] {
    position: relative;
}

.inverter-btn[b-bhaf7681cw] {
    background: transparent;
    border: 1px solid #5f6368;
    color: white;
    padding: 6px 14px;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inverter-dropdown[b-bhaf7681cw] {
    position: absolute;
    top: 110%;
    right: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    min-width: 220px;
    z-index: 1000;
}

.dropdown-item[b-bhaf7681cw] {
    padding: 8px 12px;
    cursor: pointer;
    color: white;
}

    .dropdown-item:hover[b-bhaf7681cw] {
        background: #222;
    }

/* _content/SumoWeb/Components/Charts/Basic/LineChart.razor.rz.scp.css */
.line-chart-section[b-091sx1x0a3] {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-tertiary);
  border-radius: 8px;
}

.chart-header[b-091sx1x0a3] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chart-title[b-091sx1x0a3] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-info-icon[b-091sx1x0a3] {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chart-info-icon:hover[b-091sx1x0a3] {
  opacity: 1;
}

.chart-caption[b-091sx1x0a3] {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

.chart-container[b-091sx1x0a3] {
  flex: 1;
  position: relative;
  width: 100%;
  height: 300px;
}

.chart-wrapper[b-091sx1x0a3] {
  width: 100%;
  height: 100%;
  position: relative;
}

.chart-canvas[b-091sx1x0a3] {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
/* _content/SumoWeb/Components/Charts/Basic/LossBreakdownChart.razor.rz.scp.css */
.loss-breakdown-chart[b-ommnq2kxv6] {
    background: var(--chart-container-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-title[b-ommnq2kxv6] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    font-family: 'Poppins', sans-serif;
}

.section-header[b-ommnq2kxv6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stacked-area[b-ommnq2kxv6] {
    position: relative;
    height: 360px;
    background-color: var(--chart-background);
    border-radius: 12px;
}


.area-chart-container[b-ommnq2kxv6] {
    height: 420px;
}

.stacked-area[b-ommnq2kxv6]  .area-chart-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stacked-area[b-ommnq2kxv6]  .area-chart-container:nth-child(1) {
    z-index: 3;
}

.stacked-area[b-ommnq2kxv6]  .area-chart-container:nth-child(2) {
    z-index: 2;
}

.stacked-area[b-ommnq2kxv6]  .area-chart-container:nth-child(3) {
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .loss-breakdown-chart[b-ommnq2kxv6] {
        padding: 20px;
    }
    
    .section-title[b-ommnq2kxv6] {
        font-size: 18px;
    }
    
    .chart-legend[b-ommnq2kxv6] {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .legend-item[b-ommnq2kxv6] {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .stacked-area[b-ommnq2kxv6] {
        height: 250px;
    }
}
/* _content/SumoWeb/Components/Charts/Basic/PieChart.razor.rz.scp.css */
.pie-chart-container[b-77zfvk5mez] {
  width: 100%;
}

.pie-chart-container canvas[b-77zfvk5mez] {
  width: 100% !important;
  height: 220px !important;
  display: block;
}

.pie-chart-caption[b-77zfvk5mez] {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 6px;
}


/* _content/SumoWeb/Components/Charts/Basic/SankeyChart.razor.rz.scp.css */

.sankey-container[b-vobdx6xk5g] {
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background-color: var(--chart-background);
    min-height: 420px;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    margin-bottom: 32px;
}

.sankey-header[b-vobdx6xk5g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.chart-header[b-vobdx6xk5g] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chart-header-container[b-vobdx6xk5g] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.chart-title[b-vobdx6xk5g] {
  font-size: 16px;
  color: #FFBF01;
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-info-icon[b-vobdx6xk5g] {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chart-info-icon:hover[b-vobdx6xk5g] {
  opacity: 1;
}

.chart-caption[b-vobdx6xk5g] {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-family: "Poppins", sans-serif;
}

.date-info[b-vobdx6xk5g] {
    display: flex;
    align-items: center;
    gap: 8px;
}


.nav-btn[b-vobdx6xk5g] {
    background: var(--bg-tertiary);
    border: 1px solid #17968F;
    border-radius: 6px;
    color: var(--text-primary);
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-btn:hover[b-vobdx6xk5g] {
    background: #17968F;
    border-color: #17968F;
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(23,150,143,0.2);
}


.current-date[b-vobdx6xk5g] {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}


.period-selector[b-vobdx6xk5g] {
    display: flex;
    align-items: center;
    gap: 6px;
}


.period-label[b-vobdx6xk5g] {
    font-size: 14px;
    color: #b0b0b0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}


.period-selector select[b-vobdx6xk5g] {
    background: var(--bg-tertiary);
    border: 1px solid #17968F;
    border-radius: 6px;
    color: var(--text-primary);
    padding: 0.3rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
}


.period-selector select:hover[b-vobdx6xk5g] {
    border-color: #17968F;
    background: #17968F;
    color: var(--text-primary);
}


.period-selector select:focus[b-vobdx6xk5g] {
    outline: none;
    border-color: #17968F;
    box-shadow: 0 0 0 2px rgba(23,150,143,0.2);
}


.period-selector select option[b-vobdx6xk5g] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem;
}


.sankey-summary[b-vobdx6xk5g] {
    margin-top: 8px;
    margin-left: 16px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid #23282A;
    text-align: center;
}

.total-energy[b-vobdx6xk5g] {
    font-size: 14px;
    font-weight: 500;
    color: #02F300;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}


.chart-container[b-vobdx6xk5g] {
    width: 100%;
    height: 480px; /* increased from 340px */
    margin: 0 0 8px 0;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


#sankeyChart[b-vobdx6xk5g] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    background: transparent;
}


.sankey-container canvas[b-vobdx6xk5g] {
    max-width: 100%;
    height: auto;
    min-height: 300px;
    border-radius: 8px;
    background: transparent;
}


.loading-state[b-vobdx6xk5g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 340px;
    color: var(--text-primary);
}


.spinner[b-vobdx6xk5g] {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #FFD54F;
    border-radius: 50%;
    animation: spin-b-vobdx6xk5g 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-vobdx6xk5g {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.error-state[b-vobdx6xk5g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 340px;
    color: #ff6b6b;
    text-align: center;
}


.retry-btn[b-vobdx6xk5g] {
    background: #ff6b6b;
    border: none;
    border-radius: 6px;
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}


.retry-btn:hover[b-vobdx6xk5g] {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.2);
}

.chartjs-render-monitor[b-vobdx6xk5g] {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
}

/* Responsive design */

@media (max-width: 768px) {
    .sankey-container[b-vobdx6xk5g] {
        padding: 4px;
        min-height: 260px;
    }
    .sankey-header[b-vobdx6xk5g] {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .current-date[b-vobdx6xk5g] {
        font-size: 15px;
    }
    .total-energy[b-vobdx6xk5g] {
        font-size: 15px;
    }
    #sankeyChart[b-vobdx6xk5g] {
        height: 260px !important; /* keep mobile a bit taller now */
    }
}
/* _content/SumoWeb/Components/Charts/Basic/StackedBarChart.razor.rz.scp.css */
.stacked-bar-chart-container[b-blotlidm9j] {
  width: 100%;
}

.stacked-bar-chart-container canvas[b-blotlidm9j] {
  width: 100% !important;
  height: 220px !important;
  display: block;
}

@media (max-width: 992px) {
  .stacked-bar-chart-container canvas[b-blotlidm9j] {
    height: 180px !important;
  }
}

@media (max-width: 576px) {
  .stacked-bar-chart-container canvas[b-blotlidm9j] {
    height: 160px !important;
  }
}


/* _content/SumoWeb/Components/Charts/Basic/StatusHeatmap.razor.rz.scp.css */
.Status-heatmap-container[b-a4oylzka13] {
    border-radius: 8px;
}

.chart-header-container[b-a4oylzka13] {
    background: var(--bg-tertiary);
}

.chart-header[b-a4oylzka13] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-title[b-a4oylzka13] {
    color: #FFBF01;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.chart-caption[b-a4oylzka13] {
    color: #B0B0B0;
    font-size: 12px;
    margin-bottom: 1.5rem;
}

.heatmap-wrapper[b-a4oylzka13] {
    background: var(--chart-background);
    border-radius: 20px;
    position: relative;
    padding: 20px;
}

.heatmap-chart[b-a4oylzka13] {
    width: 100%;
    height: 450px;
    background: var(--bg-primary);
    border-radius: 4px;
}

/* Ensure legend displays properly with full width */
.heatmap-chart .echarts-legend[b-a4oylzka13] {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 10px !important;
}

.heatmap-chart .echarts-legend-item[b-a4oylzka13] {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #EAEAEA !important;
    font-size: 11px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.heatmap-chart .echarts-legend-icon[b-a4oylzka13] {
    width: 25px !important;
    height: 12px !important;
    border-radius: 3px !important;
    display: inline-block !important;
}

/* Force legend visibility */
#Status-heatmap .echarts-legend[b-a4oylzka13] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* Chart info icon styling */
.chart-info-icon[b-a4oylzka13] {
    color: #B0B0B0;
    font-size: 1rem;
}

.chart-info-icon:hover[b-a4oylzka13] {
    color: #f8c343;
}

/* Responsive design */
@media (max-width: 768px) {
    .heatmap-chart[b-a4oylzka13] {
        height: 400px;
    }
}

/* Strip Legend (bars + labels) */
:global(.heatmap-strip-legend)[b-a4oylzka13] {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
:global(.heatmap-strip-legend) .legend-bars-row[b-a4oylzka13] {
    display: flex;
    width: 100%;
    height: 28px; /* approximate cell height */
    border-radius: 4px;
    overflow: hidden;
}
:global(.heatmap-strip-legend) .legend-bar[b-a4oylzka13] { position: relative; }
:global(.heatmap-strip-legend) .legend-bar.good[b-a4oylzka13] { background:#00C851; }
:global(.heatmap-strip-legend) .legend-bar.average[b-a4oylzka13] { background:#33B5E5; }
:global(.heatmap-strip-legend) .legend-bar.below-average[b-a4oylzka13] { background:#FFBB33; }
:global(.heatmap-strip-legend) .legend-bar.rectification[b-a4oylzka13] { background:#FF4444; }

:global(.heatmap-strip-legend) .legend-labels-row[b-a4oylzka13] {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 0 4px;
}
:global(.heatmap-strip-legend) .legend-label[b-a4oylzka13] { flex:1 1 0; text-align: center; }
:global(.heatmap-strip-legend) .legend-label.good[b-a4oylzka13] { color:#00C851; }
:global(.heatmap-strip-legend) .legend-label.average[b-a4oylzka13] { color:#33B5E5; }
:global(.heatmap-strip-legend) .legend-label.below-average[b-a4oylzka13] { color:#FFBB33; }
:global(.heatmap-strip-legend) .legend-label.rectification[b-a4oylzka13] { color:#FF4444; }

@media (max-width: 640px) {
    :global(.heatmap-strip-legend) .legend-bars-row[b-a4oylzka13] { height: 22px; }
    :global(.heatmap-strip-legend) .legend-labels-row[b-a4oylzka13] { font-size:11px; }
}
/* _content/SumoWeb/Components/Charts/Realtime/AreaChartRealtime.razor.rz.scp.css */
.area-chart-container[b-q1a21gnz45] {
	width: 100%;
	height: 100%;
	min-height: 280px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 12px;
	padding-top: 1.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.area-chart-container canvas[b-q1a21gnz45] {
	max-width: 100%;
	height: 100%;
	min-height: 200px;
	display: block;
	border-radius: 8px;
}


/* _content/SumoWeb/Components/Charts/Realtime/LineChartRealtime.razor.rz.scp.css */
.line-chart-realtime-section[b-14swidjd9g] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.chart-header[b-14swidjd9g] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chart-title[b-14swidjd9g] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-info-icon[b-14swidjd9g] {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chart-info-icon:hover[b-14swidjd9g] {
  opacity: 1;
}

.chart-caption[b-14swidjd9g] {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

.chart-container[b-14swidjd9g] {
  flex: 1;
  position: relative;
  width: 100%;
  height: 300px;
}

.chart-wrapper[b-14swidjd9g] {
  width: 100%;
  height: 100%;
  position: relative;
}

.chart-canvas[b-14swidjd9g] {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
/* _content/SumoWeb/Components/Common/AlarmReportForm.razor.rz.scp.css */
/* Chép từ ReportForm.razor.css: CSS trong Blazor được gán phạm vi theo từng component nên
   không kế thừa được, chép là cách duy nhất để card này và năm card kia trông như một.
   Bỏ phần .plant-select vì card này dùng <PlantPicker> (có CSS riêng) thay cho thẻ <select>. */

.report-form-container[b-7f2gj91fte] {
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.report-form-header[b-7f2gj91fte] {
    margin-bottom: 20px;
    text-align: center;
}

.report-title[b-7f2gj91fte] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.report-subtitle[b-7f2gj91fte] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.report-form-content[b-7f2gj91fte] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-7f2gj91fte] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-7f2gj91fte] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.date-picker[b-7f2gj91fte] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.date-range-container[b-7f2gj91fte] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-item[b-7f2gj91fte] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    /* flex-item mặc định min-width:auto, input date không chịu co lại làm tràn card */
    min-width: 0;
}

.date-range-label[b-7f2gj91fte] {
    font-size: 12px;
    color: #aaa;
}

.date-range-separator[b-7f2gj91fte] {
    color: #aaa;
    font-size: 18px;
    margin-top: 18px; /* căn với input */
    flex-shrink: 0;
}

.date-picker:focus[b-7f2gj91fte] {
    outline: none;
    border-color: #FFBF01;
    box-shadow: 0 0 0 3px rgba(255, 191, 1, 0.1);
}

body:not(.dark-mode) .date-picker[b-7f2gj91fte] {
    border-color: var(--border-color);
}

/* Date input specific styling */
.date-picker[b-7f2gj91fte]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    opacity: 0.7;
    cursor: pointer;
}

    .date-picker[b-7f2gj91fte]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
    }

.form-actions[b-7f2gj91fte] {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.excel-button[b-7f2gj91fte] {
    width: 135px;
    height: 42px;
    font-weight: 500;
    background: #ffd43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .excel-button:hover:not(:disabled)[b-7f2gj91fte] {
        background: #FFD43B;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 191, 1, 0.3);
    }

    .excel-button:disabled[b-7f2gj91fte] {
        background: #666666;
        color: #999999;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.button-content[b-7f2gj91fte] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.loading-content[b-7f2gj91fte] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner[b-7f2gj91fte] {
    width: 16px;
    height: 16px;
    border: 2px solid #999999;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin-b-7f2gj91fte 1s linear infinite;
}

@keyframes spin-b-7f2gj91fte {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover states */
.report-form-container:hover[b-7f2gj91fte] {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-form-container[b-7f2gj91fte] {
        padding: 16px;
    }

    .report-title[b-7f2gj91fte] {
        font-size: 1.125rem;
    }
}
/* _content/SumoWeb/Components/Common/AnalysisPanelButton.razor.rz.scp.css */
.analysis-panel-btn-wrapper[b-5j6d1o67dk] {
    display: inline-block;
    position: relative;
}

.analysis-panel-btn-wrapper .action-icon-btn[b-5j6d1o67dk] {
    background: var(--bg-active);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.analysis-panel-btn-wrapper .action-icon-btn:hover[b-5j6d1o67dk] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.analysis-panel-btn-wrapper .action-icon-btn img[b-5j6d1o67dk] {
    width: 20px;
    height: 20px;
    filter: var(--icon-filter);
    transition: filter 0.3s ease;
}

.analysis-panel-overlay[b-5j6d1o67dk] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 22, 25, 0.65);
    z-index: 1000;
}

.analysis-panel-modal[b-5j6d1o67dk] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 520px;
    max-width: 98vw;
    background: var(--bg-tertiary);
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    z-index: 1001;
    padding: 32px 32px 24px 32px;
    color: var(--text-primary);
    animation: fadeIn-b-5j6d1o67dk 0.2s;
}

@media (max-width: 600px) {
    .analysis-panel-modal[b-5j6d1o67dk] {
        min-width: 90vw;
        padding: 16px 4px 12px 4px;
    }
}

.analysis-panel-header[b-5j6d1o67dk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.close-btn[b-5j6d1o67dk] {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 50%;
    transition: background 0.15s;
}
.close-btn:hover[b-5j6d1o67dk] {
    background: rgba(255,255,255,0.08);
}


@keyframes fadeIn-b-5j6d1o67dk {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
/* _content/SumoWeb/Components/Common/BreadcrumbNav.razor.rz.scp.css */
.breadcrumb-nav[b-3cvcuklium] {
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.breadcrumb-item[b-3cvcuklium] {
    color: #02f300;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .breadcrumb-item:hover[b-3cvcuklium] {
        color: #04ff04;
        text-decoration: underline;
    }

    /* Item cuối cùng có màu trắng */
    .breadcrumb-item:last-of-type[b-3cvcuklium] {
        color: var(--text-primary);
        cursor: default;
    }

        .breadcrumb-item:last-of-type:hover[b-3cvcuklium] {
            color: var(--text-primary);
            text-decoration: none;
        }

.breadcrumb-separator[b-3cvcuklium] {
    color: var(--text-primary);
}
/* _content/SumoWeb/Components/Common/CommonGeneralHeader.razor.rz.scp.css */
.plant-overview-header[b-xb0snbzy68] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1vw;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 4.7vw;
  min-height: 60px;
  max-height: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.header-left[b-xb0snbzy68] {
  flex: 1;
}

.page-title[b-xb0snbzy68] {
  font-size: 38px; /* Cỡ chữ 38px cố định */
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 0.5vw 0;
  font-family: "Poppins", sans-serif;
}

.header-subtitle[b-xb0snbzy68] {
  display: flex;
  margin-bottom: 0.5vw;
}

.header-analysis[b-xb0snbzy68] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #02F300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.breadcrumb-link[b-xb0snbzy68] {
  color: #02F300 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

 .breadcrumb-link:hover[b-xb0snbzy68] {
  color: #04ff04;
  text-decoration: underline;
}

.header-portfolio[b-xb0snbzy68] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-xb0snbzy68] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.action-buttons[b-xb0snbzy68] {
  display: flex !important;
  gap: 0.75vw;
  align-items: center !important;
  justify-content: flex-end !important;
}

.action-icon-btn[b-xb0snbzy68] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 0.5vw;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6vw;
  height: 3.6vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-xb0snbzy68] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-xb0snbzy68] {
  width: 1.25vw;
  height: 1.25vw;
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.documentation-btn[b-xb0snbzy68] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 1.25vw;
  padding: 0.75vw 1.25vw;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 0.875vw, 16px);
  font-weight: 400;
  min-height: 2.5vw;
}

.documentation-btn:hover[b-xb0snbzy68] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.btn-text[b-xb0snbzy68] {
  white-space: nowrap;
}

/* Responsive cho màn hình nhỏ hơn 16:9 */
@media (max-width: 1200px) {
  .plant-overview-header[b-xb0snbzy68] {
    padding: 1.25vw;
    height: 70px;
    margin-bottom: 24px;
  }
  
  .page-title[b-xb0snbzy68] {
    font-size: 38px; /* Giữ nguyên 38px cho tablet */
  }
  
  .header-analysis[b-xb0snbzy68],
  .header-portfolio[b-xb0snbzy68] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }
  
  .action-icon-btn[b-xb0snbzy68] {
    width: 56px;
    height: 56px;
  }
  
  .action-icon-btn img[b-xb0snbzy68] {
    width: 20px;
    height: 20px;
  }
  
  .documentation-btn[b-xb0snbzy68] {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .plant-overview-header[b-xb0snbzy68] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    height: auto;
  }

  .header-actions[b-xb0snbzy68] {
    justify-content: center;
  }

  .action-buttons[b-xb0snbzy68] {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-title[b-xb0snbzy68] {
    font-size: 38px; /* Giữ nguyên 38px cho mobile */
  }

  .header-subtitle[b-xb0snbzy68] {
    justify-content: center;
  }

  .documentation-btn .btn-text[b-xb0snbzy68] {
    display: none;
  }

  .documentation-btn[b-xb0snbzy68] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-buttons[b-xb0snbzy68] {
    gap: 8px;
  }

  .action-icon-btn[b-xb0snbzy68],
  .documentation-btn[b-xb0snbzy68] {
    width: 48px;
    height: 48px;
  }
}




/* _content/SumoWeb/Components/Common/DailyEnergyReportForm.razor.rz.scp.css */
.report-form-container[b-waewa368tk] {
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.report-form-header[b-waewa368tk] {
    margin-bottom: 20px;
    text-align: center;
}

.report-title[b-waewa368tk] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.report-subtitle[b-waewa368tk] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.report-form-content[b-waewa368tk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-waewa368tk] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-waewa368tk] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.plant-select[b-waewa368tk],
.date-picker[b-waewa368tk] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.date-range-container[b-waewa368tk] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-item[b-waewa368tk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.date-range-label[b-waewa368tk] {
    font-size: 12px;
    color: #aaa;
}

.date-range-separator[b-waewa368tk] {
    color: #aaa;
    font-size: 18px;
    margin-top: 18px; /* căn với input */
    flex-shrink: 0;
}
/*
*/
.plant-select[b-waewa368tk] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Dark mode arrow color */
body.dark-mode .plant-select[b-waewa368tk] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6e6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}
/**/

    .plant-select:focus[b-waewa368tk],
    .date-picker:focus[b-waewa368tk] {
        outline: none;
        border-color: #FFBF01;
        box-shadow: 0 0 0 3px rgba(255, 191, 1, 0.1);
    }

body:not(.dark-mode) .plant-select[b-waewa368tk],
body:not(.dark-mode) .date-picker[b-waewa368tk] {
    border-color: var(--border-color);
}

/* Date input specific styling */
.date-picker[b-waewa368tk]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    opacity: 0.7;
    cursor: pointer;
}

    .date-picker[b-waewa368tk]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
    }

.form-actions[b-waewa368tk] {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.excel-button[b-waewa368tk] {
    width: 135px;
    height: 42px;
    font-weight: 500;
    background: #ffd43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .excel-button:hover:not(:disabled)[b-waewa368tk] {
        background: #FFD43B;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 191, 1, 0.3);
    }

    .excel-button:disabled[b-waewa368tk] {
        background: #666666;
        color: #999999;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.button-content[b-waewa368tk] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-icon[b-waewa368tk] {
    font-size: 16px;
}

.loading-content[b-waewa368tk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner[b-waewa368tk] {
    width: 16px;
    height: 16px;
    border: 2px solid #999999;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin-b-waewa368tk 1s linear infinite;
}

@keyframes spin-b-waewa368tk {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover states */
.report-form-container:hover[b-waewa368tk] {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-form-container[b-waewa368tk] {
        padding: 16px;
    }

    .report-title[b-waewa368tk] {
        font-size: 1.125rem;
    }
}

/* ---- Phần riêng của card báo cáo năng lượng ngày ---- */
/* Phần trên chép từ ReportForm.razor.css / RawDataExportForm.razor.css: CSS trong Blazor
   được gán phạm vi theo từng component nên không kế thừa được, chép là cách duy nhất để các
   card trên trang /report trông như một. */

.device-header[b-waewa368tk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.device-select-all[b-waewa368tk] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.device-list[b-waewa368tk] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    padding: 10px 12px;
    /* Một nhà máy có thể có vài chục inverter; cho cuộn trong khung thay vì kéo dài card
       làm lệch chiều cao so với bốn card kia trong lưới. */
    max-height: 132px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.device-item[b-waewa368tk] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-primary);
    cursor: pointer;
}

.device-empty[b-waewa368tk] {
    font-size: 0.8125rem;
    color: #9CA3AF;
}

.device-select-all input[b-waewa368tk],
.device-item input[b-waewa368tk] {
    accent-color: #FFBF01;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    cursor: pointer;
}


/* Ngày báo cáo và đơn giá đứng cạnh nhau cho gọn chiều cao card. */
.daily-row[b-waewa368tk] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.daily-field[b-waewa368tk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
/* _content/SumoWeb/Components/Common/ExploreMenuDropdown.razor.rz.scp.css */
.plant-feature-actions[b-ir5pjt56ii] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    container-type: inline-size;
}

.plant-feature-button[b-ir5pjt56ii] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    border: 1px solid #3b494e;
    border-radius: 8px;
    background: #1c2529;
    color: #e9eff1;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.plant-feature-icon[b-ir5pjt56ii] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #70d3bd;
}

.plant-feature-button:hover[b-ir5pjt56ii] {
    background: #263a3e;
    border-color: #70d3bd;
    color: #fff;
}

.plant-feature-button:focus-visible[b-ir5pjt56ii] {
    outline: 2px solid #70d3bd;
    outline-offset: 2px;
}

.plant-feature-button:active[b-ir5pjt56ii] {
    background: #304b4e;
}

/* Keep all four actions in one row, including within the narrower map panel. */
@container (max-width: 620px) {
    .plant-feature-button[b-ir5pjt56ii] {
        flex-direction: column;
        gap: 6px;
        padding: 10px 4px;
        font-size: 11px;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    .plant-feature-button[b-ir5pjt56ii] {
        transition: none;
    }
}
/* _content/SumoWeb/Components/Common/LicenseBanner.razor.rz.scp.css */
.license-banner[b-br9wuacswo] {
    --license-accent: #f9a825;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    /* Phải trên .digital-layout (z-index 99999) của khối Digital Twin ở /dashboard. */
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: calc(100vw - 32px);
    padding: 8px 12px 8px 16px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--license-accent);
    border-radius: 4px;
    font-size: 14px;
}

body:not(.dark-mode) .license-banner[b-br9wuacswo] {
    --license-accent: #b26a00;
}

.license-banner a[b-br9wuacswo] {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.license-banner button[b-br9wuacswo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    color: var(--text-secondary);
    border: 0;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.license-banner button:hover[b-br9wuacswo] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.license-banner a:focus-visible[b-br9wuacswo],
.license-banner button:focus-visible[b-br9wuacswo] {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}
/* _content/SumoWeb/Components/Common/MonthlyPlantReportForm.razor.rz.scp.css */
/* Card "Monthly Report" trên trang /report.
   CSS trong Blazor được gán phạm vi theo từng component nên không kế thừa được từ
   ReportForm.razor.css / DailyEnergyReportForm.razor.css — chép lại là cách duy nhất
   để các card trên trang trông như một. */

.report-form-container[b-yqar5do31l] {
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.report-form-header[b-yqar5do31l] {
    margin-bottom: 20px;
    text-align: center;
}

.report-title[b-yqar5do31l] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.report-subtitle[b-yqar5do31l] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.report-form-content[b-yqar5do31l] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-yqar5do31l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-yqar5do31l] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.plant-select[b-yqar5do31l],
.date-picker[b-yqar5do31l] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.date-range-container[b-yqar5do31l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-item[b-yqar5do31l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.date-range-label[b-yqar5do31l] {
    font-size: 12px;
    color: #aaa;
}

.date-range-separator[b-yqar5do31l] {
    color: #aaa;
    font-size: 18px;
    margin-top: 18px; /* căn với input */
    flex-shrink: 0;
}
/*
*/
.plant-select[b-yqar5do31l] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Dark mode arrow color */
body.dark-mode .plant-select[b-yqar5do31l] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6e6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}
/**/

    .plant-select:focus[b-yqar5do31l],
    .date-picker:focus[b-yqar5do31l] {
        outline: none;
        border-color: #FFBF01;
        box-shadow: 0 0 0 3px rgba(255, 191, 1, 0.1);
    }

body:not(.dark-mode) .plant-select[b-yqar5do31l],
body:not(.dark-mode) .date-picker[b-yqar5do31l] {
    border-color: var(--border-color);
}

/* Date input specific styling */
.date-picker[b-yqar5do31l]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    opacity: 0.7;
    cursor: pointer;
}

    .date-picker[b-yqar5do31l]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
    }

.form-actions[b-yqar5do31l] {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.excel-button[b-yqar5do31l] {
    width: 135px;
    height: 42px;
    font-weight: 500;
    background: #ffd43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .excel-button:hover:not(:disabled)[b-yqar5do31l] {
        background: #FFD43B;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 191, 1, 0.3);
    }

    .excel-button:disabled[b-yqar5do31l] {
        background: #666666;
        color: #999999;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.button-content[b-yqar5do31l] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-icon[b-yqar5do31l] {
    font-size: 16px;
}

.loading-content[b-yqar5do31l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner[b-yqar5do31l] {
    width: 16px;
    height: 16px;
    border: 2px solid #999999;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin-b-yqar5do31l 1s linear infinite;
}

@keyframes spin-b-yqar5do31l {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover states */
.report-form-container:hover[b-yqar5do31l] {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-form-container[b-yqar5do31l] {
        padding: 16px;
    }

    .report-title[b-yqar5do31l] {
        font-size: 1.125rem;
    }
}
/* _content/SumoWeb/Components/Common/MoreMenuButton.razor.rz.scp.css */
.more-menu-wrapper[b-nnmldp6f0y] {
    position: relative;
    display: inline-block;
}

.section-more-icon[b-nnmldp6f0y] {
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, filter 0.2s;
    padding: 4px;
}

.section-more-icon:hover[b-nnmldp6f0y] {
    background: rgba(255,255,255,0.08);
    filter: brightness(1.5);
}

.more-menu-popup[b-nnmldp6f0y] {
    position: absolute;
    top: 36px;
    right: 0;
    min-width: 140px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 100;
    padding: 8px 0;
}


.menu-item[b-nnmldp6f0y] {
    padding: 10px 16px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.15s;
}

.menu-item:hover[b-nnmldp6f0y] {
    background: rgba(255,255,255,0.08);
}
/* _content/SumoWeb/Components/Common/PageErrorBoundary.razor.rz.scp.css */
/* Dùng biến theme, không hardcode màu — nếu không thì light mode sẽ hỏng
   (xem quy ước trong wwwroot/css/app.css). */
.page-error[b-rwzb3i0yyg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 320px;
    padding: 32px 24px;
    text-align: center;
    color: var(--text-primary);
}

.page-error-icon[b-rwzb3i0yyg] {
    font-size: 40px;
    line-height: 1;
    color: #f59e0b;
}

.page-error-title[b-rwzb3i0yyg] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.page-error-message[b-rwzb3i0yyg] {
    margin: 0;
    max-width: 520px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.page-error-retry[b-rwzb3i0yyg] {
    /* MudBlazor.min.css đặt `button { justify-content: center }`; ở đây đúng ý muốn nên
       không cần ghi đè, nhưng đừng đổi sang display:flex mà quên chuyện đó. */
    margin-top: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.page-error-retry:hover[b-rwzb3i0yyg] {
    background: var(--bg-hover);
}
/* _content/SumoWeb/Components/Common/PlantPicker.razor.rz.scp.css */
/* Ô chọn nhà máy gõ-để-lọc.

   Hình thức bám theo .plant-select của ReportForm.razor.css (cùng nền, viền, bo góc, cỡ chữ)
   để nó đứng cạnh các ô <select> khác trong form mà không lệch. Không dùng chung class được:
   đây là <input> nằm trong một khối định vị, không phải một <select>. */

.plant-picker[b-zhkdqv7845] {
    /* Mốc định vị cho .pp-panel. */
    position: relative;
    width: 100%;
}

.pp-input-wrap[b-zhkdqv7845] {
    position: relative;
    display: flex;
    align-items: center;
}

.plant-picker-input[b-zhkdqv7845] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px 40px 14px 14px; /* chừa chỗ bên phải cho nút xoá */
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
}

.plant-picker-input:focus[b-zhkdqv7845] {
    outline: none;
    border-color: #19b58f;
    box-shadow: 0 0 0 2px rgba(25, 181, 143, 0.18);
}

.pp-clear[b-zhkdqv7845] {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pp-clear:hover[b-zhkdqv7845] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Panel gợi ý. position:absolute + z-index cao vì nó phải phủ lên ô kế tiếp trong form —
   để nó chiếm chỗ trong luồng thì mỗi lần mở là cả card giật xuống. */
.pp-panel[b-zhkdqv7845] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 260px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    padding: 4px;
}

.pp-item[b-zhkdqv7845] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    /* Tên nhà máy dài không được đẩy panel rộng ra ngoài card. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Một class cho cả hover lẫn điều hướng bàn phím: _highlight đã chạy theo chuột qua
   @onmouseenter, nên chỉ cần một trạng thái sáng duy nhất. */
.pp-item.is-highlighted[b-zhkdqv7845] {
    background: rgba(25, 181, 143, 0.14);
}

.pp-empty[b-zhkdqv7845] {
    padding: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}
/* _content/SumoWeb/Components/Common/ProjectPickerDropdown.razor.rz.scp.css */
/* Vỏ neo panel. Nó là con trực tiếp của .actions-card nên nhận chiều cao từ rule
   `.actions-card > *` trong wwwroot/css/action-buttons.css — không cần div bọc trung gian.

   Style của chính cái nút (.action-button, .action-icon, .action-text, .action-caret) cũng nằm
   ở file toàn cục đó, KHÔNG khai báo lại ở đây: CSS scoped sẽ không áp cho nút của component
   khác, và chính sự lệch pha ấy từng làm nút này không thẳng hàng với hai nút anh em. */
.picker-anchor[b-8yvzl2kxj3] {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
    outline: none;
}

/* Lớp phủ trong suốt để bấm ra ngoài là đóng — thay cho JS interop. Nằm dưới panel
   một bậc z-index nên bấm vào chính panel không kích hoạt nó. */
.picker-backdrop[b-8yvzl2kxj3] {
    position: fixed;
    inset: 0;
    z-index: 1599;
    background: transparent;
}

/* Nút nằm ở cột phải cùng nên panel mở từ mép phải, nếu neo trái sẽ tràn khỏi màn hình hẹp. */
.picker-panel[b-8yvzl2kxj3] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 100%;
    max-width: 320px;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 10px;
    box-sizing: border-box;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .55), 0 2px 6px -2px rgba(0, 0, 0, .4);
    animation: pickerPopIn-b-8yvzl2kxj3 .16s ease;
}

@keyframes pickerPopIn-b-8yvzl2kxj3 {
    from { opacity: 0; transform: translateY(6px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.picker-title[b-8yvzl2kxj3] {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 2px 6px 6px;
}

.picker-item[b-8yvzl2kxj3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.picker-item:hover[b-8yvzl2kxj3] {
    background: var(--bg-hover);
    border-color: var(--border-medium);
}

.picker-item:active[b-8yvzl2kxj3] { transform: translateY(1px); }

.picker-item-name[b-8yvzl2kxj3] { font-weight: 500; }

.picker-item-meta[b-8yvzl2kxj3] {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}
/* _content/SumoWeb/Components/Common/RawDataExportForm.razor.rz.scp.css */
.report-form-container[b-9v45yysrdh] {
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.report-form-header[b-9v45yysrdh] {
    margin-bottom: 20px;
    text-align: center;
}

.report-title[b-9v45yysrdh] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.report-subtitle[b-9v45yysrdh] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.report-form-content[b-9v45yysrdh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-9v45yysrdh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-9v45yysrdh] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.plant-select[b-9v45yysrdh],
.date-picker[b-9v45yysrdh] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.date-range-container[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-item[b-9v45yysrdh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.date-range-label[b-9v45yysrdh] {
    font-size: 12px;
    color: #aaa;
}

.date-range-separator[b-9v45yysrdh] {
    color: #aaa;
    font-size: 18px;
    margin-top: 18px; /* căn với input */
    flex-shrink: 0;
}
/*
*/
.plant-select[b-9v45yysrdh] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Dark mode arrow color */
body.dark-mode .plant-select[b-9v45yysrdh] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6e6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}
/**/

    .plant-select:focus[b-9v45yysrdh],
    .date-picker:focus[b-9v45yysrdh] {
        outline: none;
        border-color: #FFBF01;
        box-shadow: 0 0 0 3px rgba(255, 191, 1, 0.1);
    }

body:not(.dark-mode) .plant-select[b-9v45yysrdh],
body:not(.dark-mode) .date-picker[b-9v45yysrdh] {
    border-color: var(--border-color);
}

/* Date input specific styling */
.date-picker[b-9v45yysrdh]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    opacity: 0.7;
    cursor: pointer;
}

    .date-picker[b-9v45yysrdh]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
    }

.form-actions[b-9v45yysrdh] {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.excel-button[b-9v45yysrdh] {
    width: 135px;
    height: 42px;
    font-weight: 500;
    background: #ffd43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .excel-button:hover:not(:disabled)[b-9v45yysrdh] {
        background: #FFD43B;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 191, 1, 0.3);
    }

    .excel-button:disabled[b-9v45yysrdh] {
        background: #666666;
        color: #999999;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.button-content[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-icon[b-9v45yysrdh] {
    font-size: 16px;
}

.loading-content[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner[b-9v45yysrdh] {
    width: 16px;
    height: 16px;
    border: 2px solid #999999;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin-b-9v45yysrdh 1s linear infinite;
}

@keyframes spin-b-9v45yysrdh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover states */
.report-form-container:hover[b-9v45yysrdh] {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-form-container[b-9v45yysrdh] {
        padding: 16px;
    }

    .report-title[b-9v45yysrdh] {
        font-size: 1.125rem;
    }
}

/* ---- Phần riêng của card xuất dữ liệu thô ---- */
/* Phần trên chép từ ReportForm.razor.css: CSS trong Blazor được gán phạm vi theo từng
   component nên không kế thừa được, chép là cách duy nhất để hai card trông như một. */

.device-header[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.device-select-all[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.device-list[b-9v45yysrdh] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    padding: 10px 12px;
    /* Một nhà máy có thể có vài chục inverter; cho cuộn trong khung thay vì kéo dài card
       làm lệch chiều cao so với bốn card kia trong lưới. */
    max-height: 132px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.device-item[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-primary);
    cursor: pointer;
}

.device-empty[b-9v45yysrdh] {
    font-size: 0.8125rem;
    color: #9CA3AF;
}

.device-select-all input[b-9v45yysrdh],
.device-item input[b-9v45yysrdh] {
    accent-color: #FFBF01;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

.signal-row[b-9v45yysrdh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.signal-button[b-9v45yysrdh] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}

    .signal-button:hover[b-9v45yysrdh] {
        border-color: #FFBF01;
    }

.signal-count[b-9v45yysrdh] {
    font-size: 0.8125rem;
    color: #9CA3AF;
    white-space: nowrap;
}

/* Nút xuất rộng hơn nút Excel của bốn card kia vì nhãn dài hơn ("Export CSV" / "Đang xuất..."). */
.excel-button[b-9v45yysrdh] {
    width: 150px;
}
/* _content/SumoWeb/Components/Common/ReportForm.razor.rz.scp.css */
.report-form-container[b-80kkt10qy4] {
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.report-form-header[b-80kkt10qy4] {
    margin-bottom: 20px;
    text-align: center;
}

.report-title[b-80kkt10qy4] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.report-subtitle[b-80kkt10qy4] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.report-form-content[b-80kkt10qy4] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group[b-80kkt10qy4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-80kkt10qy4] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.plant-select[b-80kkt10qy4],
.date-picker[b-80kkt10qy4] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    min-height: 38px;
    line-height: 1.25;
    transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.date-range-container[b-80kkt10qy4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-item[b-80kkt10qy4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.date-range-label[b-80kkt10qy4] {
    font-size: 12px;
    color: #aaa;
}

.date-range-separator[b-80kkt10qy4] {
    color: #aaa;
    font-size: 18px;
    margin-top: 18px; /* căn với input */
    flex-shrink: 0;
}
/*
*/
.plant-select[b-80kkt10qy4] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Dark mode arrow color */
body.dark-mode .plant-select[b-80kkt10qy4] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6e6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}
/**/

    .plant-select:focus[b-80kkt10qy4],
    .date-picker:focus[b-80kkt10qy4] {
        outline: none;
        border-color: #FFBF01;
        box-shadow: 0 0 0 3px rgba(255, 191, 1, 0.1);
    }

body:not(.dark-mode) .plant-select[b-80kkt10qy4],
body:not(.dark-mode) .date-picker[b-80kkt10qy4] {
    border-color: var(--border-color);
}

/* Date input specific styling */
.date-picker[b-80kkt10qy4]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    opacity: 0.7;
    cursor: pointer;
}

    .date-picker[b-80kkt10qy4]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
    }

.form-actions[b-80kkt10qy4] {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.excel-button[b-80kkt10qy4] {
    width: 135px;
    height: 42px;
    font-weight: 500;
    background: #ffd43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .excel-button:hover:not(:disabled)[b-80kkt10qy4] {
        background: #FFD43B;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 191, 1, 0.3);
    }

    .excel-button:disabled[b-80kkt10qy4] {
        background: #666666;
        color: #999999;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.button-content[b-80kkt10qy4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-icon[b-80kkt10qy4] {
    font-size: 16px;
}

.loading-content[b-80kkt10qy4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner[b-80kkt10qy4] {
    width: 16px;
    height: 16px;
    border: 2px solid #999999;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin-b-80kkt10qy4 1s linear infinite;
}

@keyframes spin-b-80kkt10qy4 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover states */
.report-form-container:hover[b-80kkt10qy4] {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-form-container[b-80kkt10qy4] {
        padding: 16px;
    }

    .report-title[b-80kkt10qy4] {
        font-size: 1.125rem;
    }
}
/* _content/SumoWeb/Components/Common/SearchPanelButton.razor.rz.scp.css */
.search-apply-btn[b-59xm9oiqu5] {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}
.apply-btn[b-59xm9oiqu5] {
    background: linear-gradient(90deg, #1ecbe1 0%, #1edfc3 100%);
    color: var(--text-primary);
    border: none;
    border-radius: 24px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 10px 32px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 203, 225, 0.12);
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    outline: none;
}
.apply-btn:hover[b-59xm9oiqu5] {
    background: linear-gradient(90deg, #1edfc3 0%, #0baaa2 100%);
    box-shadow: 0 4px 16px rgba(25, 148, 121, 0.18);
    transform: translateY(-2px) scale(1.03);
}

.filter-input[type="date"][b-59xm9oiqu5]::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.dark-mode .filter-input[type="date"][b-59xm9oiqu5]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.8);
}

.filter-input[type="date"][b-59xm9oiqu5]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.filter-input[type="date"][b-59xm9oiqu5]::-ms-input-placeholder {
    color: var(--text-primary);
}
.filter-input[type="date"][b-59xm9oiqu5]::placeholder {
    color: var(--text-primary);
}
.filter-group[b-59xm9oiqu5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.filter-label[b-59xm9oiqu5] {
    font-size: 15px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 2px;
}

.filter-input[b-59xm9oiqu5] {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 10px 24px 10px 14px;
    outline: none;
    transition: border 0.2s;
    min-width: 240px;
    width: 100%;
    box-sizing: border-box;
}

select.filter-input[b-59xm9oiqu5] {
    padding-right: 40px;
    background-color: var(--bg-tertiary);
    margin-bottom: 8px;
    border-radius: 10px;
}
.filter-input:focus[b-59xm9oiqu5] {
    border-color: #17968F;
}

.filter-grid[b-59xm9oiqu5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
}

@media (max-width: 700px) {
    .filter-grid[b-59xm9oiqu5] {
        grid-template-columns: 1fr;
    }
}

.search-panel-btn-wrapper[b-59xm9oiqu5] {
    display: inline-block;
    position: relative;
}

.search-panel-btn-wrapper .action-icon-btn[b-59xm9oiqu5] {
    background: var(--bg-active);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.search-panel-btn-wrapper .action-icon-btn:hover[b-59xm9oiqu5] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.search-panel-btn-wrapper .action-icon-btn .mud-icon-root[b-59xm9oiqu5] {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.search-panel-overlay[b-59xm9oiqu5] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 22, 25, 0.65);
    z-index: 1000;
}

.search-panel-modal[b-59xm9oiqu5] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 520px;
    max-width: 98vw;
    background: var(--bg-tertiary);
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    z-index: 1001;
    padding: 32px 32px 24px 32px;
    color: var(--text-primary);
    animation: fadeIn-b-59xm9oiqu5 0.2s;
}

@media (max-width: 600px) {
    .search-panel-modal[b-59xm9oiqu5] {
        min-width: 90vw;
        padding: 16px 4px 12px 4px;
    }
}

.search-panel-header[b-59xm9oiqu5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.close-btn[b-59xm9oiqu5] {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.close-btn:hover[b-59xm9oiqu5] {
    background: rgba(255,255,255,0.08);
}

@keyframes fadeIn-b-59xm9oiqu5 {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
/* _content/SumoWeb/Components/Common/SignalPointDialog.razor.rz.scp.css */
/* Hộp thoại này nằm trong MudDialog, mà App.razor khai báo <MudThemeProvider /> KHÔNG gắn
   với nút Light/Dark của app — nền hộp thoại vì thế luôn sáng, kể cả khi app đang ở chế độ
   tối. Vậy nên tuyệt đối KHÔNG dùng var(--text-primary)/var(--border-light) ở đây: chúng là
   màu của theme app, đặt lên nền trắng của Mud thì chữ sáng trên nền sáng, gần như không đọc
   được. Dùng "inherit" để lấy đúng màu chữ Mud đã tính cho bề mặt hộp thoại. */

.signal-dialog[b-cwi59qgmg9] {
    min-width: 520px;
    font-family: 'Poppins', sans-serif;
}

.signal-select-all[b-cwi59qgmg9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-weight: 600;
    color: inherit;
    cursor: pointer;
}

.signal-group-name[b-cwi59qgmg9] {
    margin: 14px 0 10px;
    font-weight: 600;
    color: inherit;
    opacity: 0.7;
}

.signal-grid[b-cwi59qgmg9] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    /* Loại thiết bị nhiều tín hiệu nhất hiện có 17 dòng; giới hạn chiều cao để hộp thoại
       không tràn khỏi màn hình laptop khi danh mục dài thêm. */
    max-height: 46vh;
    overflow-y: auto;
}

.signal-item[b-cwi59qgmg9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: inherit;
    cursor: pointer;
    /* Nhãn dài (ví dụ "Reactive energy import (kVArh)") không được đẩy vỡ lưới 3 cột. */
    min-width: 0;
}

.signal-item span[b-cwi59qgmg9] {
    overflow-wrap: anywhere;
}

.signal-select-all input[b-cwi59qgmg9],
.signal-item input[b-cwi59qgmg9] {
    accent-color: #FFBF01;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

@media (max-width: 700px) {
    .signal-dialog[b-cwi59qgmg9] {
        min-width: 0;
    }

    .signal-grid[b-cwi59qgmg9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* _content/SumoWeb/Components/Common/SiteSelector.razor.rz.scp.css */
.site-selector[b-xs7upi63bs] { position: relative; width: 220px; font-family: 'Poppins', sans-serif; --selector-height:44px; --selector-radius:15px; }
.site-selector .selector-header[b-xs7upi63bs] { background: var(--bg-tertiary); border:1px solid var(--border-color); padding:4px 14px; border-radius:var(--selector-radius); cursor:pointer; display:flex; flex-direction:column; gap:2px; min-height:var(--selector-height); justify-content:center; transition: background-color 0.3s ease, border-color 0.3s ease; }

body:not(.dark-mode) .site-selector .selector-header[b-xs7upi63bs] {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}
.site-selector .selector-label[b-xs7upi63bs] { font-size:11px; color:#d0d0d0; text-transform:uppercase; letter-spacing:.5px; }
.site-selector .selector-summary[b-xs7upi63bs] { font-size:13px; color: var(--text-primary); transition: color 0.3s ease; }
.site-selector .chevron[b-xs7upi63bs] { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:12px; color: var(--text-secondary); transition: color 0.3s ease; }
.site-selector .selector-panel[b-xs7upi63bs] { position:absolute; top:100%; left:0; background: var(--bg-tertiary); border:1px solid var(--border-color); border-radius:12px; padding:8px 10px 10px; margin-top:4px; width:280px; z-index:4000; box-shadow:0 4px 18px rgba(0,0,0,.45); transition: background-color 0.3s ease, border-color 0.3s ease; }

body:not(.dark-mode) .site-selector .selector-panel[b-xs7upi63bs] {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-selector .panel-search-full[b-xs7upi63bs] { width:100%; margin-bottom:8px; }
.site-selector .panel-search-full input[type=text][b-xs7upi63bs] {
	width:100%;
	padding:6px 8px;
	border-radius:12px;
	border:1px solid var(--border-color);
	background: var(--bg-secondary);
	color: var(--text-primary);
	font-size:13px;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body:not(.dark-mode) .site-selector .panel-search-full input[type=text][b-xs7upi63bs] {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}
.site-selector .panel-search-full input[type=text]:focus[b-xs7upi63bs] { outline:none; border-color:#0f9b94; }
.site-selector .special-option[b-xs7upi63bs] {
	font-weight:600;
	color:#15aa9e;
	background:rgba(2,243,0,0.07);
	margin-bottom:2px;
}
.site-selector .options-list[b-xs7upi63bs] { max-height:260px; overflow-y:auto; display:flex; flex-direction:column; gap:2px; }
.site-selector .option-item[b-xs7upi63bs] { display:flex; align-items:center; gap:8px; padding:4px 4px; border-radius:12px; font-size:13px; color: var(--text-primary); cursor:pointer; transition: color 0.3s ease; }
.site-selector .option-item input[type=checkbox][b-xs7upi63bs] { margin-left:10px; accent-color:#15aa9e;}
.site-selector .manage-option[b-xs7upi63bs] { font-weight:600; background:#1a2227; }
.site-selector .manage-option:hover[b-xs7upi63bs] { background:#223038; }
.site-selector .manage-option input[type=checkbox][b-xs7upi63bs] { accent-color:#15aa9e; }
.site-selector .checked-green[b-xs7upi63bs] { background: var(--bg-tertiary); }
.site-selector .manage-row[b-xs7upi63bs] { display:flex; gap:6px;}
.site-selector .manage-row .option-item[b-xs7upi63bs] { flex:1; justify-content:flex-start; background: var(--bg-tertiary);}
.site-selector .manage-row .option-item:hover[b-xs7upi63bs] { background: var(--bg-tertiary); }
.site-selector .manage-row .option-item input[type=checkbox][b-xs7upi63bs] { margin-left:10px;accent-color:#15aa9e; }
.site-selector-overlay[b-xs7upi63bs] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3999;
  background: transparent;
}
/* _content/SumoWeb/Components/Common/SolarPlantControl.razor.rz.scp.css */
.action-controls[b-6crepmpgfp]  .mud-button-root.control-button {
    background: #373535 !important;
    color: white !important;
    backdrop-filter: blur(10px);
    /* Remove fixed min-width so grid can distribute evenly */
    min-width: unset;
    width: 100%;
    height: 6.2vh;
    border-radius: 20px !important;
    font-weight: 500;
    text-transform: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    font-size: 14px;
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.action-controls[b-6crepmpgfp]  .mud-button-root.control-button:hover {
    background: rgba(33, 209, 77, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 180, 55, 0.3);
}

.action-controls[b-6crepmpgfp]  .mud-button-root.control-button.mud-icon-root {
    margin-right: 8px;
    font-size: 16px;
}

.action-controls[b-6crepmpgfp]  .mud-button-root.control-button:first-child {
    margin-left: 0;
}

.action-controls[b-6crepmpgfp] {
    position: fixed;
    top: 17.3%; 
    left: 3%;
    z-index: 999;
    width: 44.2vw;
    height: 8vh;
}

.controls-container[b-6crepmpgfp] {
    /* Use CSS Grid to keep 4 buttons perfectly aligned to panel width */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 44.2vw; /* Matches .solar-plant-panel width */
    height: 8vh;
    gap: 16px; /* Consistent spacing without overflow */
    box-sizing: border-box;
}

/* _content/SumoWeb/Components/Common/SolarPlantListPanel.razor.rz.scp.css */
/* SearchBarPanel styles */
.list-panel-overlay[b-6d14ov0pki] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 50%;
    z-index: 2000;
    background-color: rgba(41, 40, 40, 0.5);
    backdrop-filter: blur(8px);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* brand row in header */
.panel-brand[b-6d14ov0pki] {
    align-items: center;
    gap: 12px;
}

.brand-logo[b-6d14ov0pki] {
    width: 172px;
    height: 125px;
    border-radius: 4px;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}
.brand-logo-button[b-6d14ov0pki] {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.brand-logo img[b-6d14ov0pki] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.panel-brand[b-6d14ov0pki] {
    padding-left: 0;
    align-items: stretch;
}
.panel-brand[b-6d14ov0pki] {
    padding-left: 0;
}

.brand-text[b-6d14ov0pki] {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.brand-title[b-6d14ov0pki] {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 1.1;
}

.brand-subtitle[b-6d14ov0pki] {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.list-panel-overlay.visible[b-6d14ov0pki] {
    transform: translateX(0);
}

.panel-header[b-6d14ov0pki] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.panel-title[b-6d14ov0pki] {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.panel-header[b-6d14ov0pki]  .close-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: unset;
    height: unset;
    border-radius: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.panel-header[b-6d14ov0pki]  .close-button:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.1);
}

.panel-header[b-6d14ov0pki]  .close-button:active {
    transform: scale(0.95);
    background: transparent !important;
}

.panel-header[b-6d14ov0pki]  .close-icon {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
    color: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.search-container[b-6d14ov0pki] {
    padding: 24px;
    position: relative;
}

.search-field[b-6d14ov0pki] {
    width: 100%;
}

/* plain input version */
.search-input-container[b-6d14ov0pki] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
.search-icon[b-6d14ov0pki] { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: 0.85; pointer-events: none; width: 18px; height: 18px; color: rgba(255,255,255,0.85);filter: invert(0); }
.search-input[b-6d14ov0pki] { width: 100%; padding: 12px 16px 12px 40px; background: #1f1f1f; color: #FFFFFF; border: 1px solid rgba(255,255,255,0.15); border-radius: 9999px; outline: none; box-shadow: 0 6px 16px rgba(0,0,0,0.35); transition: all 0.2s ease; }
.search-input[b-6d14ov0pki]::placeholder { color: rgba(255,255,255,0.7); }
.search-input:hover[b-6d14ov0pki] { border-color: rgba(255,255,255,0.35); background: #222; }
.search-input:focus[b-6d14ov0pki] { border-color: rgba(255,255,255,0.9); background: #242424; }

/* end plain input version */

/* count badge aligned right under search */

.plants-count-badge[b-6d14ov0pki] {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: transparent;
    color: #26c28e;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.plants-list[b-6d14ov0pki] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 0, 0, 0.45);
}

/* legacy count removed; use badge */

.no-results[b-6d14ov0pki] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 20px;
    text-align: center;
}

.no-results .mud-icon-root[b-6d14ov0pki] {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.no-results span[b-6d14ov0pki] {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.search-hint[b-6d14ov0pki] {
    font-size: 14px !important;
    opacity: 0.7;
    font-weight: 400 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .list-panel-overlay[b-6d14ov0pki] {
        width: 400px;
    }
}

@media (max-width: 768px) {
    .list-panel-overlay[b-6d14ov0pki] {
        width: 100%;
        left: 0;
    }
    
    .panel-header[b-6d14ov0pki] {
        padding: 20px;
    }
    
    .panel-title[b-6d14ov0pki] {
        font-size: 20px;
    }
    
    .search-container[b-6d14ov0pki] {
        padding: 20px;
    }
    
    .plants-list[b-6d14ov0pki] {
        padding: 20px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .list-panel-overlay[b-6d14ov0pki] {
        width: 100%;
    }
    
    .panel-header[b-6d14ov0pki] {
        padding: 16px;
    }
    
    .panel-title[b-6d14ov0pki] {
        font-size: 18px;
    }
    
    .search-container[b-6d14ov0pki] {
        padding: 16px;
    }
    
    .plants-list[b-6d14ov0pki] {
        padding: 16px;
        gap: 10px;
    }
}

/* Scrollbar Styling */
.plants-list[b-6d14ov0pki]::-webkit-scrollbar {
    width: 8px;
}

.plants-list[b-6d14ov0pki]::-webkit-scrollbar-track {
    background: #2f3030; /* gần với nền panel */
    border-radius: 6px;
}

.plants-list[b-6d14ov0pki]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,#3a3b3b,#2b2c2c);
    border-radius: 6px;
    border: 1px solid #454646;
    transition: background 0.25s ease;
}

.plants-list[b-6d14ov0pki]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,#454646,#343535);
}

/* Firefox */
.plants-list[b-6d14ov0pki] {
    scrollbar-width: thin;
    scrollbar-color: #3a3b3b #2f3030;
}

/* Animation for panel entrance */
@keyframes slideInFromLeft-b-6d14ov0pki {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft-b-6d14ov0pki {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* _content/SumoWeb/Components/Common/SolarPlantPanel.razor.rz.scp.css */
.solar-plant-panel[b-nhyj1wkdfl] {
    position: fixed;
    top: 26.5%;
    left: 3%;
    width: 44.2vw;
    /* 309 = 345 cũ − 36 (dòng mô tả bị bỏ: 16px chữ + 20px gap).
       Giảm đúng bằng đó nên khung metrics bên trong giữ nguyên kích thước.
       CHIỀU CAO NÀY BỊ NHÂN BẢN trong Pages/Home.razor.css (.home-charts-slot dùng nó
       để tính top và max-height) — đổi ở đây là phải đổi cả bên đó. */
    height: 309px;
    background: #373535;
    border-radius: 20px;
    padding: 30px;
    z-index: 999;
    box-shadow: 0 4px 70px 0 #000000 25%;
    max-width: calc(100vw - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Tiêu đề */
.panel-title[b-nhyj1wkdfl] {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #02F300;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Dòng mô tả */
.description-line[b-nhyj1wkdfl] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.description-line-solar[b-nhyj1wkdfl] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0% 3% 30%;
    padding: 0;
    width: 100%;
}

.description-text[b-nhyj1wkdfl] {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    flex: 1;
}

/* Container metrics */
.metrics-container[b-nhyj1wkdfl] {
    flex: 1;
    background: #2B2828;
    border-radius: 20px;
    box-shadow: 0 4px 2px 0 #000000 25%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.metric-card-container[b-nhyj1wkdfl] {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

/* Metric cards */
.metric-card[b-nhyj1wkdfl] {
    flex: 1;
    height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #02F300;
    border-radius: 20px;
    background: #373535;
    padding: 16px;
    transition: all 0.2s ease;
}

.metric-card:hover[b-nhyj1wkdfl] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 243, 0, 0.3);
}

.metric-label[b-nhyj1wkdfl] {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    padding: 0;
}

.metric-value[b-nhyj1wkdfl] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #02F300;
    text-align: center;
    margin: 0;
    padding: 0;
}

.solar-icon[b-nhyj1wkdfl] {
    font-size: 20px;
    color: #FFFFFF;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    flex-shrink: 0;
    filter: brightness(0) invert(1) !important;
}

/* Dashboard Button Styles */
.dashboard-button-container[b-nhyj1wkdfl] {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.dashboard-mode-btn[b-nhyj1wkdfl] {
    background: linear-gradient(135deg, #02F300 0%, #00CC00 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 243, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-mode-btn:hover[b-nhyj1wkdfl] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 243, 0, 0.4);
    background: linear-gradient(135deg, #00CC00 0%, #02F300 100%);
}

.dashboard-mode-btn:active[b-nhyj1wkdfl] {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(2, 243, 0, 0.3);
}

.btn-text[b-nhyj1wkdfl] {
    display: inline-block;
    vertical-align: middle;
}
/* _content/SumoWeb/Components/Common/ToastHost.razor.rz.scp.css */
.toast-host[b-jt44dsvg7h] { position:fixed; top:18px; right:18px; display:flex; flex-direction:column; gap:12px; z-index:4000; }
.toast-item[b-jt44dsvg7h] { position:relative; min-width:260px; max-width:340px; background:#101718f2; border:1px solid rgba(255,255,255,0.08); border-radius:10px; padding:14px 16px 14px 14px; color:#e9ecef; font-family:'Poppins', Arial, sans-serif; box-shadow:0 6px 20px -6px rgba(0,0,0,.55); overflow:hidden; animation:slideIn-b-jt44dsvg7h .35s cubic-bezier(.4,.0,.2,1); }
.toast-item.success[b-jt44dsvg7h] { border-color:#1fae6d; }
.toast-item.info[b-jt44dsvg7h] { border-color:#1d84d9; }
.toast-item.warning[b-jt44dsvg7h] { border-color:#d6a936; }
.toast-item.error[b-jt44dsvg7h] { border-color:#d9534f; }
.toast-item .toast-content[b-jt44dsvg7h] { display:flex; flex-direction:column; gap:4px; }
.toast-item strong[b-jt44dsvg7h] { font-size:14px; font-weight:600; letter-spacing:.3px; }
.toast-item span[b-jt44dsvg7h] { font-size:13px; line-height:1.3; opacity:.9; }
.toast-close[b-jt44dsvg7h] { position:absolute; top:6px; right:6px; background:transparent; border:none; color:#9aa3a5; font-size:14px; cursor:pointer; padding:4px; border-radius:4px; }
.toast-close:hover[b-jt44dsvg7h] { background:rgba(255,255,255,0.08); color: var(--text-primary); }
.toast-bar[b-jt44dsvg7h] { position:absolute; left:0; top:0; height:3px; width:100%; background:linear-gradient(90deg,#32d485,#16995b); animation:shrink-b-jt44dsvg7h 3.5s linear forwards; }
.toast-item.info .toast-bar[b-jt44dsvg7h] { background:linear-gradient(90deg,#3fb5ff,#156aa0); }
.toast-item.warning .toast-bar[b-jt44dsvg7h] { background:linear-gradient(90deg,#ffce54,#d7950b); }
.toast-item.error .toast-bar[b-jt44dsvg7h] { background:linear-gradient(90deg,#ff6b5f,#b82032); }
@keyframes shrink-b-jt44dsvg7h { from { width:100%; } to { width:0%; } }
@keyframes slideIn-b-jt44dsvg7h { from { transform:translateX(40px) scale(.96); opacity:0; } to { transform:translateX(0) scale(1); opacity:1; }}
/* _content/SumoWeb/Components/Common/TooltipInfo.razor.rz.scp.css */
/* Icon sizing */
.stat-info-icon[b-ckd2pm2959],
.chart-info-icon[b-ckd2pm2959],
.DC-power-info-icon[b-ckd2pm2959],
.info-icon[b-ckd2pm2959] {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    opacity: 0.75;
    display: inline-block;
    vertical-align: middle;
}

.stat-info-icon:hover[b-ckd2pm2959],
.chart-info-icon:hover[b-ckd2pm2959],
.DC-power-info-icon:hover[b-ckd2pm2959],
.info-icon:hover[b-ckd2pm2959] {
    opacity: 1;
}

/* Smaller icon for trend description usage */
.trend-info-icon[b-ckd2pm2959] {
    width: 12px !important;
    height: 12px !important;
    opacity: 0.8;
    vertical-align: middle;
}

/* Custom tooltip */
.tooltip-wrapper[b-ckd2pm2959] {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 10; /* place above surrounding content */
}

.tooltip-box[b-ckd2pm2959] {
    position: absolute;
    top: 0;                    /* căn theo đỉnh icon */
    left: calc(100% + 8px);    /* dịch sang phải icon 8px */
    width: 280px;              /* cố định chiều rộng */
    max-width: 280px;
    height: auto;              /* tự giãn theo nội dung nhưng không vượt quá width */
    background: rgba(0,0,0,0.4);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;        /* cho phép xuống dòng */
    word-wrap: break-word;
    overflow-wrap: anywhere;    /* xử lý chuỗi dài không khoảng trắng */
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 9999;              /* ensure above charts */
    display: none;              /* ẩn mặc định */
}

.tooltip-arrow[b-ckd2pm2959] {
    position: absolute;
    top: 6px;                        /* cùng đỉnh tooltip */
    left: calc(100% + 2px);          /* nằm giữa icon và tooltip */
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0,0,0,0.4); /* mũi tên hướng sang phải */
    z-index: 10000;
    display: none;
}

.tooltip-wrapper:hover .tooltip-box[b-ckd2pm2959],
.tooltip-wrapper:focus .tooltip-box[b-ckd2pm2959],
.tooltip-wrapper:hover .tooltip-arrow[b-ckd2pm2959],
.tooltip-wrapper:focus .tooltip-arrow[b-ckd2pm2959] {
    display: block;
}
/* _content/SumoWeb/Components/Digital/ACSingleLine.razor.rz.scp.css */
.digital-layout[b-d7zw34ae7w] {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: black;
}

    .digital-layout.zoom-out[b-d7zw34ae7w] {
        position: fixed;
        inset: 0;
    }

    .digital-layout .viewer-container[b-d7zw34ae7w] {
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        inset: 0;
    }

    .digital-layout .zoom[b-d7zw34ae7w] {
        position: absolute;
        left: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
/* _content/SumoWeb/Components/Digital/DCSingleLine.razor.rz.scp.css */

.digital-layout[b-is4psrxh8y] {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #23282a;
    z-index: 99999;
}

    .digital-layout.zoom-out[b-is4psrxh8y] {
        position: fixed;
        inset: 0;
    }

    /* Thông báo "chưa có mô hình". Cùng hộp với .viewer-container và z-index cao hơn: nếu
       để nó chiếm chỗ trong luồng thì khung viewer (height:100%) đẩy nó ra ngoài tầm nhìn. */
    .digital-layout .viewer-missing[b-is4psrxh8y] {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 16px;
        font-size: 14px;
        color: var(--text-secondary);
    }

    .digital-layout .viewer-container[b-is4psrxh8y] {
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        inset: 0;
    }

    .digital-layout .top-right-container[b-is4psrxh8y] {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 100px;
        background-color: transparent;
        color: white;
        border: none;
        table-layout: fixed;
        width: auto;
        display: flex;
        justify-content: right;
        gap: 2rem;
        align-items: start;
    }

    .digital-layout .top-left-container[b-is4psrxh8y] {
        position: absolute;
        top: 10px;
        left: 10px;
        color: white;
    }

    .digital-layout .bottom-left-container[b-is4psrxh8y] {
        position: absolute;
        left: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .digital-layout .bottom-right-container[b-is4psrxh8y] {
        position: absolute;
        right: 10px;
        bottom: 60px;
        width: 200px;
        height: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .digital-layout .string-popup[b-is4psrxh8y] {
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-left: 1rem;
        position: absolute;
        /*right: 10px;
        bottom: 10px;*/
        width: 210px;
        height: auto;
        background-color: black;
        border: none;
        opacity: 0.7;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .digital-layout .inverter-popup[b-is4psrxh8y] {
        padding-top: .5rem;
        padding-bottom: .5rem;
        padding-left: 1rem;
        position: absolute;
        /*right: 10px;
        bottom: 10px;*/
        width: 210px;
        height: auto;
        background-color: black;
        border: none;
        opacity: 0.7;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
/* _content/SumoWeb/Components/Digital/DCStringPanel.razor.rz.scp.css */

.container[b-xbjgrws4c9] {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.header[b-xbjgrws4c9] {
    display: flex;
    align-items: center;
    justify-content: start;
    /* Xuống dòng được: từ một ô chọn thành hai (Project + Inverter), cột panel này
       hẹp nên trên màn hình nhỏ hai ô phải xếp được thành hai hàng. */
    flex-wrap: wrap;
    gap: 8px 16px;
}
/* _content/SumoWeb/Components/Digital/DigitalDropDown.razor.rz.scp.css */
.nanox-dropdown-container[b-473xxbuulx] {
    position: relative;
    display: flex;
    z-index: 1000;
    gap: 8px;
    display: flex;
    align-items: start;
}

.nanox-dropdown-button[b-473xxbuulx] {
    display: flex;
    padding: 0 1rem;
    gap: .5rem;
    height: 2.5rem;
    border: 1px solid white;
    outline: none;
    align-items: center;
    background-color: transparent;
    transition: all 0.3s ease;
    border-radius: 16px;
}

    .nanox-dropdown-button:hover[b-473xxbuulx] {
        /*background-color: var(--nanox-field-hover-01);*/
    }


.nanox-dropdown-arrow[b-473xxbuulx] {
    display: flex;
    align-items: center;
    justify-items: center;
    transition: transform 0.3s ease;
}

.nanox-dropdown-button.active .nanox-dropdown-arrow[b-473xxbuulx] {
    transform: rotate(180deg);
}

.nanox-dropdown-menu[b-473xxbuulx] {
    position: absolute;
    top: calc(100%);
    left: 0;
    right: 0;
    background-color: #23282a;
    color: white;
    border: 1px solid white;    
    width: auto;
    overflow-y: auto;
    z-index: 1001;
    border-radius: 16px;
}

    .nanox-dropdown-menu.show-up[b-473xxbuulx] {
        top: auto;
        bottom: calc(100%);
    }

/* Ô lọc trên đầu menu. Sticky vì menu tự cuộn (overflow-y:auto + chiều cao từ
   MenuStyle) — để trôi theo danh sách thì cuộn xuống là mất ô tìm kiếm. */
.nanox-dropdown-search[b-473xxbuulx] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px;
    background-color: #23282a;
    border-bottom: 1px solid gray;
}

.nanox-dropdown-search-input[b-473xxbuulx] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid gray;
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: white;
    font-size: 13px;
    outline: none;
}

    .nanox-dropdown-search-input[b-473xxbuulx]::placeholder {
        color: var(--text-secondary, #9aa4b2);
    }

.nanox-dropdown-item[b-473xxbuulx] {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 2.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid gray;
    color: white;
    background-color: var(--bg-primary);
}

    .nanox-dropdown-item:last-child[b-473xxbuulx] {
        border-bottom: none;
    }
       

.nanox-dropdown-overlay[b-473xxbuulx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: transparent;
    display: none;
}

    .nanox-dropdown-overlay.active[b-473xxbuulx] {
        display: block;
    }
/* _content/SumoWeb/Components/Digital/DigitalHeader.razor.rz.scp.css */
.plant-overview-header[b-h1eglr5ovr] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1vw;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 4.7vw;
  min-height: 60px;
  max-height: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.header-left[b-h1eglr5ovr] {
  flex: 1;
}

.page-title[b-h1eglr5ovr] {
  font-size: 38px; /* Cỡ chữ 38px cố định */
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 0.5vw 0;
  font-family: "Poppins", sans-serif;
}

.header-subtitle[b-h1eglr5ovr] {
  display: flex;
  margin-bottom: 0.5vw;
}

.header-analysis[b-h1eglr5ovr] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #02F300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.breadcrumb-link[b-h1eglr5ovr] {
  color: #02F300 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

 .breadcrumb-link:hover[b-h1eglr5ovr] {
  color: #04ff04;
  text-decoration: underline;
}

.header-portfolio[b-h1eglr5ovr] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #ffffff;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-h1eglr5ovr] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.action-buttons[b-h1eglr5ovr] {
  display: flex !important;
  gap: 0.75vw;
  align-items: center !important;
  justify-content: flex-end !important;
}

.action-icon-btn[b-h1eglr5ovr] {
  background: #2a2a2a;
  border: 1px solid #404040;
  border-radius: 0.5vw;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6vw;
  height: 3.6vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-h1eglr5ovr] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-h1eglr5ovr] {
  width: 1.25vw;
  height: 1.25vw;
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
  filter: brightness(0) invert(1);
}

.documentation-btn[b-h1eglr5ovr] {
  background: #2a2a2a;
  border: 1px solid #404040;
  border-radius: 1.25vw;
  padding: 0.75vw 1.25vw;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 0.875vw, 16px);
  font-weight: 400;
  min-height: 2.5vw;
}

.documentation-btn:hover[b-h1eglr5ovr] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.btn-text[b-h1eglr5ovr] {
  white-space: nowrap;
}

/* Responsive cho màn hình nhỏ hơn 16:9 */
@media (max-width: 1200px) {
  .plant-overview-header[b-h1eglr5ovr] {
    padding: 1.25vw;
    height: 70px;
    margin-bottom: 24px;
  }
  
  .page-title[b-h1eglr5ovr] {
    font-size: 38px; /* Giữ nguyên 38px cho tablet */
  }
  
  .header-analysis[b-h1eglr5ovr],
  .header-portfolio[b-h1eglr5ovr] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }
  
  .action-icon-btn[b-h1eglr5ovr] {
    width: 56px;
    height: 56px;
  }
  
  .action-icon-btn img[b-h1eglr5ovr] {
    width: 20px;
    height: 20px;
  }
  
  .documentation-btn[b-h1eglr5ovr] {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .plant-overview-header[b-h1eglr5ovr] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    height: auto;
  }

  .header-actions[b-h1eglr5ovr] {
    justify-content: center;
  }

  .action-buttons[b-h1eglr5ovr] {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-title[b-h1eglr5ovr] {
    font-size: 38px; /* Giữ nguyên 38px cho mobile */
  }

  .header-subtitle[b-h1eglr5ovr] {
    justify-content: center;
  }

  .documentation-btn .btn-text[b-h1eglr5ovr] {
    display: none;
  }

  .documentation-btn[b-h1eglr5ovr] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-buttons[b-h1eglr5ovr] {
    gap: 8px;
  }

  .action-icon-btn[b-h1eglr5ovr],
  .documentation-btn[b-h1eglr5ovr] {
    width: 48px;
    height: 48px;
  }
}
/* _content/SumoWeb/Components/Digital/DigitalInfo.razor.rz.scp.css */
/* DigitalInfo không còn render actions-card; bộ lớp .action-* nay ở
   wwwroot/css/action-buttons.css. */

/* GeneralInfoCard Container */
.general-info-container[b-9aglh0yu3d] {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.67vw;
}

/* PLANT INFO Section */
.plant-info-section[b-9aglh0yu3d] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plant-name[b-9aglh0yu3d] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.plant-location[b-9aglh0yu3d] {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 14px; /* Cỡ chữ 14px cố định */
  opacity: 0.8;
  color: #cccccc;
  font-family: "Poppins", sans-serif;
}

.location-icon[b-9aglh0yu3d] {
  font-size: clamp(14px, 1.2vw, 18px);
  color: #cccccc;
}

/* MAIN CONTENT (3 COLUMNS) */
.main-content[b-9aglh0yu3d] {
  display: flex;
  gap: 2vw;
  width: 100%;
  height: 42vh;
}

/* Left Column - LOCATION CARD */
.location-card[b-9aglh0yu3d] {
  flex: 1;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #404040;
  background: #23282A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plant-image[b-9aglh0yu3d] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Middle Column - DETAILS CARD */
/* Căn đều 4 info-row, mỗi row chiếm 1 phần bằng nhau, căn giữa nội dung */
.details-card[b-9aglh0yu3d] {
  flex: 1;
  background: #23282A;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 0.5vw;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.details-card .info-row[b-9aglh0yu3d] {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.info-row[b-9aglh0yu3d] {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.info-row:last-child[b-9aglh0yu3d] {
  border-bottom: none;
}

.info-label[b-9aglh0yu3d] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.info-value[b-9aglh0yu3d] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: #00FF66;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .general-info-container[b-9aglh0yu3d] {
    padding: 2vw;
    gap: 2vw;
  }
  
  .main-content[b-9aglh0yu3d] {
    flex-direction: column;
    gap: 2vw;
    height: auto;
  }
  
  .image-card[b-9aglh0yu3d],
  .details-card[b-9aglh0yu3d],
  
  .image-card[b-9aglh0yu3d] {
    height: 35vh;
  }
  
  .details-card[b-9aglh0yu3d] {
    height: auto;
    padding: 2vw;
    gap: 1.5vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  
  .plant-name[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .plant-location[b-9aglh0yu3d] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
  }
  
  .info-row[b-9aglh0yu3d] {
    padding: 1vw 0;
  }
  
  .info-label[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .info-value[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
}

@media (max-width: 768px) {
  .general-info-container[b-9aglh0yu3d] {
    padding: 1.5vw;
    gap: 1.5vw;
  }
  
  .main-content[b-9aglh0yu3d] {
    gap: 1.5vw;
  }
  
  .image-card[b-9aglh0yu3d] {
    height: 30vh;
  }
  
  .plant-name[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .plant-location[b-9aglh0yu3d] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile */
  }
  
  .details-card[b-9aglh0yu3d] {
    padding: 1.5vw;
    gap: 1.2vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-9aglh0yu3d] {
    padding: 0.8vw 0;
  }
  
  .info-label[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .info-value[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
}

@media (max-width: 480px) {
  .general-info-container[b-9aglh0yu3d] {
    padding: 1vw;
    gap: 1vw;
  }
  
  .main-content[b-9aglh0yu3d] {
    gap: 1vw;
  }
  
  .image-card[b-9aglh0yu3d] {
    height: 25vh;
  }
  
  .plant-name[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .plant-location[b-9aglh0yu3d] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile nhỏ */
  }
  
  .details-card[b-9aglh0yu3d] {
    padding: 1vw;
    gap: 1vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-9aglh0yu3d] {
    padding: 0.6vw 0;
  }
  
  .info-label[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .info-value[b-9aglh0yu3d] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
}
/* _content/SumoWeb/Components/Digital/InverterStatusLegend.razor.rz.scp.css */
/* Nằm đè lên sơ đồ SVG nền đen (ACSingleLine luôn nền đen ở cả hai theme) nên chữ trắng cố định.
   Góc phải TRÊN: góc phải dưới là nút RESET của svg-viewer, góc trái dưới là nút phóng to. */
.inv-legend[b-sqy95q7ogn] {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px 10px;
    list-style: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f3f4f6;
    font-size: 12px;
    line-height: 1.3;
    pointer-events: none;
}

.inv-legend-item[b-sqy95q7ogn] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.inv-legend-dot[b-sqy95q7ogn] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex: 0 0 auto;
}

/* Thẻ AC twin trên dashboard: xếp NGANG, tự xuống dòng, để nằm trong dải đen dưới sơ đồ thay
   vì đè lên các khối inverter góc phải. Chừa 52px bên trái cho nút phóng to và 56px bên phải
   cho nút RESET của svg-viewer. */
.inv-legend--compact[b-sqy95q7ogn] {
    top: auto;
    left: 52px;
    right: 56px;
    bottom: 6px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px 10px;
    padding: 4px 8px;
    font-size: 10.5px;
    background: rgba(0, 0, 0, 0.45);
}

.inv-legend--compact .inv-legend-dot[b-sqy95q7ogn] {
    width: 8px;
    height: 8px;
}
/* _content/SumoWeb/Components/Digital/PVStringStatusDot.razor.rz.scp.css */
.pv-dot[b-s1t38h0v4n] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}
/* _content/SumoWeb/Components/Maps/MapComponent.razor.rz.scp.css */

/* Base map container sits behind main page content but above background */
.map-container[b-adn4fa5xrb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 200; /* raised so marker pane (1200) can appear cleanly */
}

/* ---- Chế độ nhúng (Embedded="true", dùng ở thẻ Fleet Map trên /dashboard) ----
   Bản đồ thôi phủ kín màn hình và nằm gọn trong khung của thẻ cha. Các rule dưới đây có độ
   đặc hiệu cao hơn ba rule toàn màn hình ở trên nên ghi đè được, không cần !important.

   LƯU Ý: #map-bg là chính cái div Leaflet giữ làm container, và attachExisting DI CHUYỂN
   node đó qua lại giữa các trang. Vì vậy khi vào/ra chế độ nhúng phải gọi
   BackgroundMapInterop.resize — Leaflet không tự phát hiện container đổi kích thước. */
.map-container.is-embedded[b-adn4fa5xrb] {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 10px;
}

.map-container.is-embedded #map-bg[b-adn4fa5xrb] {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.map-container.is-embedded .map-overlay[b-adn4fa5xrb] {
    width: 100%;
    height: 100%;
    opacity: 0.18; /* nhạt hơn bản nền: thẻ nhỏ, tối quá thì không đọc được tên địa danh */
    z-index: 1;
}

/* Chú giải bám vào góc thẻ chứ không phải góc cửa sổ.
   Viết kèm cả .map-legend để độ đặc hiệu CAO HƠN rule .map-legend (position:fixed) bên
   dưới — cùng độ đặc hiệu thì rule đứng sau thắng, mà rule kia nằm sau trong file này. */
.map-legend.map-legend--embedded[b-adn4fa5xrb] {
    position: absolute;
    right: 10px;
    bottom: 10px;
    gap: 12px;
    padding: 6px 10px;
    font-size: 11px;
}

.marker-number[b-adn4fa5xrb] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1;
}

#map-bg[b-adn4fa5xrb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 210; /* must be below marker pane but above -1 to allow events */
}

.leaflet-control-zoom[b-adn4fa5xrb] {
    display: none !important;
}

/* Dark overlay now lower than markers */
.map-overlay[b-adn4fa5xrb] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: 0.35;
    z-index: 250; /* below marker pane (1200) */
    pointer-events: none;
}

/* Status legend, bottom-right over the map. Authored in the .razor, so no :global needed.
   z-index clears the Leaflet marker pane (1200).

   Khối này là NÚT dẫn sang /alarm-center, nên pointer-events phải là auto — để "none"
   như trước thì cú click rơi thẳng xuống bản đồ Leaflet và handler Blazor không bao giờ
   chạy. Chỉ riêng khối chú thích nhận chuột; phần map còn lại vẫn kéo/zoom bình thường. */
.map-legend[b-adn4fa5xrb] {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(20, 24, 28, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #e8eaed;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.map-legend:hover[b-adn4fa5xrb] {
    background: rgba(28, 34, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
}

.map-legend:focus-visible[b-adn4fa5xrb] {
    outline: 2px solid #6aa9ff;
    outline-offset: 2px;
}

.legend-item[b-adn4fa5xrb] {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.legend-dot[b-adn4fa5xrb] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* Không còn rule .legend-dot--normal/warning/critical/offline: màu do
   PlantStatusEvaluator.ColorOf cấp qua style inline, cùng một nguồn với donut Plant Status
   ở Live Overview. */

/* Marker styles (use :global to escape CSS isolation) */
:global(.solar-plant-marker)[b-adn4fa5xrb],
:global(.single-plant-marker)[b-adn4fa5xrb] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #FFFFFF !important;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    user-select: none;
}

:global(.solar-plant-marker)[b-adn4fa5xrb] {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #27f0d5, #04806b);
    font-size: 14px;
}

:global(.single-plant-marker)[b-adn4fa5xrb] {
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #ffb347, #ff6b6b);
    font-size: 12px;
}

/* If single marker has no label text -> show a dot */
:global(.single-plant-marker:empty)[b-adn4fa5xrb]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255,255,255,0.6);
}
/* _content/SumoWeb/Components/Modules/Analysis/Clipping/ClippingHeader.razor.rz.scp.css */
.portfolio-header[b-gv34j59n37] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-gv34j59n37] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-gv34j59n37] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-gv34j59n37]{
  display: flex;
}
.header-analysis[b-gv34j59n37] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-gv34j59n37] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-gv34j59n37] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-gv34j59n37] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-gv34j59n37] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-gv34j59n37] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-gv34j59n37] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-gv34j59n37] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-gv34j59n37] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-gv34j59n37] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-gv34j59n37] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-gv34j59n37] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-gv34j59n37] {
    justify-content: center;
  }

  .header-filters[b-gv34j59n37] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-gv34j59n37] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-gv34j59n37] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-clipping[b-obsi17izko] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-obsi17izko] {
    margin-bottom: 24px;
}

.page-title[b-obsi17izko] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-obsi17izko] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-obsi17izko] {
    flex-shrink: 0;
}

.duration-info-content[b-obsi17izko] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-obsi17izko] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-obsi17izko] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-obsi17izko] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-obsi17izko] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-obsi17izko] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-obsi17izko] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-obsi17izko] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-obsi17izko] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-obsi17izko] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-obsi17izko] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-obsi17izko] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-clipping[b-obsi17izko] {
        padding: 16px;
    }
    
    .page-title[b-obsi17izko] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-obsi17izko] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-obsi17izko],
    .table-section[b-obsi17izko] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-obsi17izko] {
        padding: 16px;
    }
    
    .chart-section[b-obsi17izko],
    .table-section[b-obsi17izko] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/InverterLevel.razor.rz.scp.css */
.inverter-level-clipping[b-g7n095mbu9] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-clipping-header[b-g7n095mbu9] {
    margin-bottom: 24px;
}

.page-title[b-g7n095mbu9] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-g7n095mbu9] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-g7n095mbu9] {
    flex-shrink: 0;
}

.duration-info-content[b-g7n095mbu9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-g7n095mbu9] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-g7n095mbu9] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-g7n095mbu9] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-g7n095mbu9] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-g7n095mbu9] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-clipping[b-g7n095mbu9] {
        padding: 16px;
    }
    
    .page-title[b-g7n095mbu9] {
        font-size: 20px;
    }
    
    .results-section[b-g7n095mbu9],
    .chart-section[b-g7n095mbu9] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-9vxs9c9lb0] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-9vxs9c9lb0] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-9vxs9c9lb0] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-9vxs9c9lb0] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-9vxs9c9lb0] {
    flex-shrink: 0;
}

.duration-info-content[b-9vxs9c9lb0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-9vxs9c9lb0] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-9vxs9c9lb0] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-9vxs9c9lb0] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-9vxs9c9lb0] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-9vxs9c9lb0] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-9vxs9c9lb0] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-9vxs9c9lb0] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/SiteClippingLoss.razor.rz.scp.css */
.site-clipping-loss-module[b-tzzfzn90lo] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/SiteClippingRatio.razor.rz.scp.css */
.site-clipping-ratio[b-62y6i5z6ud] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-clipping-ratio_chart-container[b-62y6i5z6ud] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/Clipping/Visualisation.razor.rz.scp.css */
.visualisation-clipping[b-kz8tbsdm84] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-kz8tbsdm84] {
    margin-bottom: 24px;
}

.page-title[b-kz8tbsdm84] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-kz8tbsdm84] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-kz8tbsdm84] {
    flex-shrink: 0;
}

.duration-info-content[b-kz8tbsdm84] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-kz8tbsdm84] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-kz8tbsdm84] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-kz8tbsdm84] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-kz8tbsdm84] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-kz8tbsdm84] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-kz8tbsdm84] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-kz8tbsdm84] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-kz8tbsdm84] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-kz8tbsdm84] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-kz8tbsdm84] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-clipping[b-kz8tbsdm84] {
        padding: 16px;
    }
    
    .page-title[b-kz8tbsdm84] {
        font-size: 20px;
    }
    
    .heatmap-section[b-kz8tbsdm84],
    .chart-section[b-kz8tbsdm84] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/CurtailmentHeader.razor.rz.scp.css */
.portfolio-header[b-9jaf0ho8s5] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-9jaf0ho8s5] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-9jaf0ho8s5] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-9jaf0ho8s5]{
  display: flex;
}
.header-analysis[b-9jaf0ho8s5] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-9jaf0ho8s5] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-9jaf0ho8s5] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-9jaf0ho8s5] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-9jaf0ho8s5] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-9jaf0ho8s5] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-9jaf0ho8s5] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-9jaf0ho8s5] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-9jaf0ho8s5] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-9jaf0ho8s5] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-9jaf0ho8s5] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-9jaf0ho8s5] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-9jaf0ho8s5] {
    justify-content: center;
  }

  .header-filters[b-9jaf0ho8s5] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-9jaf0ho8s5] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-9jaf0ho8s5] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-curtailment[b-xnebsk3uri] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-xnebsk3uri] {
    margin-bottom: 24px;
}

.page-title[b-xnebsk3uri] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-xnebsk3uri] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-xnebsk3uri] {
    flex-shrink: 0;
}

.duration-info-content[b-xnebsk3uri] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-xnebsk3uri] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-xnebsk3uri] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-xnebsk3uri] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-xnebsk3uri] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-xnebsk3uri] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-xnebsk3uri] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-xnebsk3uri] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-xnebsk3uri] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-xnebsk3uri] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-xnebsk3uri] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-xnebsk3uri] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-curtailment[b-xnebsk3uri] {
        padding: 16px;
    }
    
    .page-title[b-xnebsk3uri] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-xnebsk3uri] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-xnebsk3uri],
    .table-section[b-xnebsk3uri] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-xnebsk3uri] {
        padding: 16px;
    }
    
    .chart-section[b-xnebsk3uri],
    .table-section[b-xnebsk3uri] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/InverterLevel.razor.rz.scp.css */
.inverter-level-curtailment[b-6th3anb5fx] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-curtailment-header[b-6th3anb5fx] {
    margin-bottom: 24px;
}

.page-title[b-6th3anb5fx] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-6th3anb5fx] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-6th3anb5fx] {
    flex-shrink: 0;
}

.duration-info-content[b-6th3anb5fx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-6th3anb5fx] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-6th3anb5fx] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-6th3anb5fx] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-6th3anb5fx] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-6th3anb5fx] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-curtailment[b-6th3anb5fx] {
        padding: 16px;
    }
    
    .page-title[b-6th3anb5fx] {
        font-size: 20px;
    }
    
    .results-section[b-6th3anb5fx],
    .chart-section[b-6th3anb5fx] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-kjj1vkv80d] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-kjj1vkv80d] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-kjj1vkv80d] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-kjj1vkv80d] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-kjj1vkv80d] {
    flex-shrink: 0;
}

.duration-info-content[b-kjj1vkv80d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-kjj1vkv80d] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-kjj1vkv80d] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-kjj1vkv80d] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-kjj1vkv80d] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-kjj1vkv80d] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-kjj1vkv80d] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-kjj1vkv80d] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/SiteCurtailmentLoss.razor.rz.scp.css */
.site-curtailment-loss-module[b-jpoypzbwz3] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/SiteCurtailmentRatio.razor.rz.scp.css */
.site-curtailment-ratio[b-kq8jt0cgtq] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-curtailment-ratio_chart-container[b-kq8jt0cgtq] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/Curtailment/Visualisation.razor.rz.scp.css */
.visualisation-curtailment[b-muaoiyv6kv] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-muaoiyv6kv] {
    margin-bottom: 24px;
}

.page-title[b-muaoiyv6kv] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-muaoiyv6kv] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-muaoiyv6kv] {
    flex-shrink: 0;
}

.duration-info-content[b-muaoiyv6kv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-muaoiyv6kv] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-muaoiyv6kv] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-muaoiyv6kv] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-muaoiyv6kv] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-muaoiyv6kv] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-muaoiyv6kv] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-muaoiyv6kv] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-muaoiyv6kv] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-muaoiyv6kv] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-muaoiyv6kv] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-curtailment[b-muaoiyv6kv] {
        padding: 16px;
    }
    
    .page-title[b-muaoiyv6kv] {
        font-size: 20px;
    }
    
    .heatmap-section[b-muaoiyv6kv],
    .chart-section[b-muaoiyv6kv] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/DeratingHeader.razor.rz.scp.css */
.portfolio-header[b-3t78ilwjvp] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-3t78ilwjvp] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-3t78ilwjvp] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-3t78ilwjvp]{
  display: flex;
}
.header-analysis[b-3t78ilwjvp] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-3t78ilwjvp] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-3t78ilwjvp] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-3t78ilwjvp] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-3t78ilwjvp] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-3t78ilwjvp] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-3t78ilwjvp] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-3t78ilwjvp] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-3t78ilwjvp] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-3t78ilwjvp] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-3t78ilwjvp] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-3t78ilwjvp] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-3t78ilwjvp] {
    justify-content: center;
  }

  .header-filters[b-3t78ilwjvp] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-3t78ilwjvp] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-3t78ilwjvp] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-derating[b-tnly8kqua4] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-tnly8kqua4] {
    margin-bottom: 24px;
}

.page-title[b-tnly8kqua4] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-tnly8kqua4] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-tnly8kqua4] {
    flex-shrink: 0;
}

.duration-info-content[b-tnly8kqua4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-tnly8kqua4] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-tnly8kqua4] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-tnly8kqua4] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-tnly8kqua4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-tnly8kqua4] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-tnly8kqua4] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-tnly8kqua4] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-tnly8kqua4] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-tnly8kqua4] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-tnly8kqua4] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-tnly8kqua4] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-derating[b-tnly8kqua4] {
        padding: 16px;
    }
    
    .page-title[b-tnly8kqua4] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-tnly8kqua4] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-tnly8kqua4],
    .table-section[b-tnly8kqua4] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-tnly8kqua4] {
        padding: 16px;
    }
    
    .chart-section[b-tnly8kqua4],
    .table-section[b-tnly8kqua4] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/InverterLevel.razor.rz.scp.css */
.inverter-level-derating[b-5ydykpfth1] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-derating-header[b-5ydykpfth1] {
    margin-bottom: 24px;
}

.page-title[b-5ydykpfth1] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-5ydykpfth1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-5ydykpfth1] {
    flex-shrink: 0;
}

.duration-info-content[b-5ydykpfth1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-5ydykpfth1] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-5ydykpfth1] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-5ydykpfth1] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-5ydykpfth1] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-5ydykpfth1] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-derating[b-5ydykpfth1] {
        padding: 16px;
    }
    
    .page-title[b-5ydykpfth1] {
        font-size: 20px;
    }
    
    .results-section[b-5ydykpfth1],
    .chart-section[b-5ydykpfth1] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-bbb0h80oar] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-bbb0h80oar] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-bbb0h80oar] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-bbb0h80oar] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-bbb0h80oar] {
    flex-shrink: 0;
}

.duration-info-content[b-bbb0h80oar] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-bbb0h80oar] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-bbb0h80oar] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-bbb0h80oar] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-bbb0h80oar] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-bbb0h80oar] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-bbb0h80oar] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-bbb0h80oar] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/SiteDeratingLoss.razor.rz.scp.css */
.site-derating-loss-module[b-5peibjbcbp] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/SiteDeratingRatio.razor.rz.scp.css */
.site-derating-ratio[b-dd1gelpilz] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-derating-ratio_chart-container[b-dd1gelpilz] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/Derating/Visualisation.razor.rz.scp.css */
.visualisation-derating[b-4v803qpnzu] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-4v803qpnzu] {
    margin-bottom: 24px;
}

.page-title[b-4v803qpnzu] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-4v803qpnzu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-4v803qpnzu] {
    flex-shrink: 0;
}

.duration-info-content[b-4v803qpnzu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-4v803qpnzu] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-4v803qpnzu] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-4v803qpnzu] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-4v803qpnzu] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-4v803qpnzu] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-4v803qpnzu] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-4v803qpnzu] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-4v803qpnzu] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-4v803qpnzu] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-4v803qpnzu] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-derating[b-4v803qpnzu] {
        padding: 16px;
    }
    
    .page-title[b-4v803qpnzu] {
        font-size: 20px;
    }
    
    .heatmap-section[b-4v803qpnzu],
    .chart-section[b-4v803qpnzu] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/DigitalTrend/DigitalTrend.razor.rz.scp.css */
.digital-trend-page[b-bnoz4cobsc] {
	background: var(--bg-primary);
	color: #e2e2e2;
}

.digital-trend-card[b-bnoz4cobsc] {
	border-radius: 20px;
	padding: 24px;
	background: var(--bg-tertiary);
	margin-bottom: 32px;
}

.table-toolbar .toolbar-title[b-bnoz4cobsc] {
	color: #FFBF01;
}

.table-toolbar .toolbar-subtitle[b-bnoz4cobsc] {
	color: var(--text-primary);
}

.data-table[b-bnoz4cobsc] {
	background: transparent;
}















/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/DowntimeLossHeader.razor.rz.scp.css */
.portfolio-header[b-h83ggsps9o] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-h83ggsps9o] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-h83ggsps9o] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-h83ggsps9o]{
  display: flex;
}
.header-analysis[b-h83ggsps9o] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-h83ggsps9o] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-h83ggsps9o] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-h83ggsps9o] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-h83ggsps9o] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-h83ggsps9o] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-h83ggsps9o] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-h83ggsps9o] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-h83ggsps9o] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-h83ggsps9o] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-h83ggsps9o] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-h83ggsps9o] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-h83ggsps9o] {
    justify-content: center;
  }

  .header-filters[b-h83ggsps9o] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-h83ggsps9o] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-h83ggsps9o] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-downtime-loss[b-nr48uuqn9w] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-nr48uuqn9w] {
    margin-bottom: 24px;
}

.page-title[b-nr48uuqn9w] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-nr48uuqn9w] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-nr48uuqn9w] {
    flex-shrink: 0;
}

.duration-info-content[b-nr48uuqn9w] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-nr48uuqn9w] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-nr48uuqn9w] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-nr48uuqn9w] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Stat Cards Section */
.stat-cards-section[b-nr48uuqn9w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-nr48uuqn9w] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-nr48uuqn9w] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(2, 243, 0, 0.3);
}

/* Chart Sections */
.chart-section[b-nr48uuqn9w] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-nr48uuqn9w] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-nr48uuqn9w] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Table Section */
.table-section[b-nr48uuqn9w] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .chart-section[b-nr48uuqn9w] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-downtime-loss[b-nr48uuqn9w] {
        padding: 16px;
    }
    
    .page-title[b-nr48uuqn9w] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-nr48uuqn9w] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-nr48uuqn9w],
    .table-section[b-nr48uuqn9w] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-nr48uuqn9w] {
        padding: 16px;
    }
    
    .chart-section[b-nr48uuqn9w],
    .table-section[b-nr48uuqn9w] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/InverterLevel.razor.rz.scp.css */
.inverter-level-downtime-loss[b-0a0zkdtzgc] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-downtime-loss-header[b-0a0zkdtzgc] {
    margin-bottom: 24px;
}

.page-title[b-0a0zkdtzgc] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-0a0zkdtzgc] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-0a0zkdtzgc] {
    flex-shrink: 0;
}

.duration-info-content[b-0a0zkdtzgc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-0a0zkdtzgc] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-0a0zkdtzgc] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-0a0zkdtzgc] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-0a0zkdtzgc] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-0a0zkdtzgc] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .inverter-level-downtime-loss[b-0a0zkdtzgc] {
        padding: 16px;
    }
    
    .page-title[b-0a0zkdtzgc] {
        font-size: 20px;
    }
    
    .results-section[b-0a0zkdtzgc],
    .chart-section[b-0a0zkdtzgc] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-haa5txfomj] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-haa5txfomj] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

/* KPI Grid - Responsive 4-2-1 columns */
.kpi-grid[b-haa5txfomj] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-haa5txfomj] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-haa5txfomj] {
    flex-shrink: 0;
}

.duration-info-content[b-haa5txfomj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-haa5txfomj] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-haa5txfomj] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-haa5txfomj] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kpi-grid[b-haa5txfomj] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-haa5txfomj] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-haa5txfomj] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-haa5txfomj] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/SiteDowntimeLoss.razor.rz.scp.css */
.site-downtime-loss-module[b-x0kjiagvlm] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/SiteDowntimeRatio.razor.rz.scp.css */
.site-downtime-ratio[b-kh21faq59j] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-downtime-ratio_chart-container[b-kh21faq59j] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/DowntimeLoss/Visualisation.razor.rz.scp.css */
.visualisation-downtime-loss[b-k4adqu6s2v] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-k4adqu6s2v] {
    margin-bottom: 24px;
}

.page-title[b-k4adqu6s2v] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-k4adqu6s2v] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-k4adqu6s2v] {
    flex-shrink: 0;
}

.duration-info-content[b-k4adqu6s2v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-k4adqu6s2v] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-k4adqu6s2v] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-k4adqu6s2v] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Heatmap container styling */
.heatmap-section .heatmap-chart-container[b-k4adqu6s2v] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-k4adqu6s2v] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-k4adqu6s2v] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Chart container styling */
.chart-section .horizontal-bar-chart-container[b-k4adqu6s2v] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-k4adqu6s2v] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-k4adqu6s2v] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Chart improvements */
.chart-section canvas[b-k4adqu6s2v] {
    max-height: 400px;
}

/* Responsive design */
@media (max-width: 768px) {
    .visualisation-downtime-loss[b-k4adqu6s2v] {
        padding: 16px;
    }
    
    .page-title[b-k4adqu6s2v] {
        font-size: 20px;
    }
    
    .heatmap-section[b-k4adqu6s2v],
    .chart-section[b-k4adqu6s2v] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/EnergyDistribution/EnegyDistributionChart.razor.rz.scp.css */
.Energy-in-section[b-kkfh48f2wv] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.Energy-in-section[b-kkfh48f2wv]  .stat-card .stat-value, /* correct lowercase class name */
.Energy-in-section[b-kkfh48f2wv]  .stat-value { /* fallback: direct target if structure changes */
    color: #02F300; /* inbound energy value color */
    font-size: 20px;
}

.Energy-in-section[b-kkfh48f2wv]  .stat-label {
    color: var(--text-primary); /* inbound energy label color */
}

.Energy-out-section[b-kkfh48f2wv] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.Energy-out-section[b-kkfh48f2wv]  .stat-card .stat-value,
.Energy-out-section[b-kkfh48f2wv]  .stat-value {
    color: #FFBF01; /* outbound energy value color */
    font-size: 20px;
}

.Energy-out-section[b-kkfh48f2wv]  .stat-label {
    color: var(--text-primary); /* outbound energy label color */
}
/* _content/SumoWeb/Components/Modules/Analysis/EnergyDistribution/EnegyDistributionHeader.razor.rz.scp.css */
.portfolio-header[b-umaagdb52u] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-umaagdb52u] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-umaagdb52u] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-umaagdb52u]{
  display: flex;
}
.header-analysis[b-umaagdb52u] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-umaagdb52u] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-umaagdb52u] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-umaagdb52u] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-umaagdb52u] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-umaagdb52u] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-umaagdb52u] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-umaagdb52u] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-umaagdb52u] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-umaagdb52u] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-umaagdb52u] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-umaagdb52u] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-umaagdb52u] {
    justify-content: center;
  }

  .header-filters[b-umaagdb52u] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-umaagdb52u] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-umaagdb52u] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/ExpectedNonRecoverableHeader.razor.rz.scp.css */
.portfolio-header[b-0y0cdndpx2] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-0y0cdndpx2] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-0y0cdndpx2] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-0y0cdndpx2]{
  display: flex;
}
.header-analysis[b-0y0cdndpx2] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-0y0cdndpx2] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-0y0cdndpx2] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-0y0cdndpx2] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-0y0cdndpx2] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-0y0cdndpx2] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-0y0cdndpx2] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-0y0cdndpx2] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-0y0cdndpx2] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-0y0cdndpx2] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-0y0cdndpx2] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-0y0cdndpx2] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-0y0cdndpx2] {
    justify-content: center;
  }

  .header-filters[b-0y0cdndpx2] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-0y0cdndpx2] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-0y0cdndpx2] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-expected-non-recoverable[b-75wdawbzl7] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-75wdawbzl7] {
    margin-bottom: 24px;
}

.page-title[b-75wdawbzl7] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-75wdawbzl7] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-75wdawbzl7] {
    flex-shrink: 0;
}

.duration-info-content[b-75wdawbzl7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-75wdawbzl7] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-75wdawbzl7] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-75wdawbzl7] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-75wdawbzl7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-75wdawbzl7] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-75wdawbzl7] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-75wdawbzl7] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-75wdawbzl7] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-75wdawbzl7] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-75wdawbzl7] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-75wdawbzl7] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-expected-non-recoverable[b-75wdawbzl7] {
        padding: 16px;
    }
    
    .page-title[b-75wdawbzl7] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-75wdawbzl7] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-75wdawbzl7],
    .table-section[b-75wdawbzl7] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-75wdawbzl7] {
        padding: 16px;
    }
    
    .chart-section[b-75wdawbzl7],
    .table-section[b-75wdawbzl7] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/InverterLevel.razor.rz.scp.css */
.inverter-level-expected-non-recoverable[b-vck4m1uoap] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-expected-non-recoverable-header[b-vck4m1uoap] {
    margin-bottom: 24px;
}

.page-title[b-vck4m1uoap] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-vck4m1uoap] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-vck4m1uoap] {
    flex-shrink: 0;
}

.duration-info-content[b-vck4m1uoap] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-vck4m1uoap] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-vck4m1uoap] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-vck4m1uoap] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-vck4m1uoap] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-vck4m1uoap] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-expected-non-recoverable[b-vck4m1uoap] {
        padding: 16px;
    }
    
    .page-title[b-vck4m1uoap] {
        font-size: 20px;
    }
    
    .results-section[b-vck4m1uoap],
    .chart-section[b-vck4m1uoap] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-m0g7wyudmc] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-m0g7wyudmc] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-m0g7wyudmc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-m0g7wyudmc] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-m0g7wyudmc] {
    flex-shrink: 0;
}

.duration-info-content[b-m0g7wyudmc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-m0g7wyudmc] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-m0g7wyudmc] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-m0g7wyudmc] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-m0g7wyudmc] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-m0g7wyudmc] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-m0g7wyudmc] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-m0g7wyudmc] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/SiteExpectedNonRecoverableLoss.razor.rz.scp.css */
.site-expected-non-recoverable-loss-module[b-47k029owa8] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/SiteExpectedNonRecoverableRatio.razor.rz.scp.css */
.site-expected-non-recoverable-ratio[b-2planwh7n2] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-expected-non-recoverable-ratio_chart-container[b-2planwh7n2] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/ExpectedNonRecoverable/Visualisation.razor.rz.scp.css */
.visualisation-expected-non-recoverable[b-smhgjm44a6] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-smhgjm44a6] {
    margin-bottom: 24px;
}

.page-title[b-smhgjm44a6] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-smhgjm44a6] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-smhgjm44a6] {
    flex-shrink: 0;
}

.duration-info-content[b-smhgjm44a6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-smhgjm44a6] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-smhgjm44a6] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-smhgjm44a6] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-smhgjm44a6] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-smhgjm44a6] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-smhgjm44a6] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-smhgjm44a6] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-smhgjm44a6] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-smhgjm44a6] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-smhgjm44a6] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-expected-non-recoverable[b-smhgjm44a6] {
        padding: 16px;
    }
    
    .page-title[b-smhgjm44a6] {
        font-size: 20px;
    }
    
    .heatmap-section[b-smhgjm44a6],
    .chart-section[b-smhgjm44a6] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-inverters[b-hpskt8e1zr] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-hpskt8e1zr] {
    margin-bottom: 24px;
}

.page-title[b-hpskt8e1zr] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-hpskt8e1zr] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-hpskt8e1zr] {
    flex-shrink: 0;
}

.duration-info-content[b-hpskt8e1zr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-hpskt8e1zr] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-hpskt8e1zr] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-hpskt8e1zr] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-hpskt8e1zr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-hpskt8e1zr] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-hpskt8e1zr] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-hpskt8e1zr] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-hpskt8e1zr] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-hpskt8e1zr] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-hpskt8e1zr] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-hpskt8e1zr] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-inverters[b-hpskt8e1zr] {
        padding: 16px;
    }
    
    .page-title[b-hpskt8e1zr] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-hpskt8e1zr] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-hpskt8e1zr],
    .table-section[b-hpskt8e1zr] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-hpskt8e1zr] {
        padding: 16px;
    }
    
    .chart-section[b-hpskt8e1zr],
    .table-section[b-hpskt8e1zr] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/InverterLevel.razor.rz.scp.css */
.inverter-level-inverters[b-odzy3afakf] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-inverters-header[b-odzy3afakf] {
    margin-bottom: 24px;
}

.page-title[b-odzy3afakf] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-odzy3afakf] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-odzy3afakf] {
    flex-shrink: 0;
}

.duration-info-content[b-odzy3afakf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-odzy3afakf] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-odzy3afakf] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-odzy3afakf] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-odzy3afakf] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-odzy3afakf] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-inverters[b-odzy3afakf] {
        padding: 16px;
    }
    
    .page-title[b-odzy3afakf] {
        font-size: 20px;
    }
    
    .results-section[b-odzy3afakf],
    .chart-section[b-odzy3afakf] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/InvertersHeader.razor.rz.scp.css */
.portfolio-header[b-ezfolsq1p5] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-ezfolsq1p5] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-ezfolsq1p5] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-ezfolsq1p5]{
  display: flex;
}
.header-analysis[b-ezfolsq1p5] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-ezfolsq1p5] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-ezfolsq1p5] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-ezfolsq1p5] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-ezfolsq1p5] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-ezfolsq1p5] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-ezfolsq1p5] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-ezfolsq1p5] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-ezfolsq1p5] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-ezfolsq1p5] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-ezfolsq1p5] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-ezfolsq1p5] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-ezfolsq1p5] {
    justify-content: center;
  }

  .header-filters[b-ezfolsq1p5] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-ezfolsq1p5] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-ezfolsq1p5] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-60n1sqs4tf] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-60n1sqs4tf] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-60n1sqs4tf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-60n1sqs4tf] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-60n1sqs4tf] {
    flex-shrink: 0;
}

.duration-info-content[b-60n1sqs4tf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-60n1sqs4tf] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-60n1sqs4tf] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-60n1sqs4tf] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-60n1sqs4tf] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-60n1sqs4tf] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-60n1sqs4tf] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-60n1sqs4tf] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/SiteInvertersLoss.razor.rz.scp.css */
.site-inverters-loss-module[b-8fnanabsi8] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/SiteInvertersRatio.razor.rz.scp.css */
.site-inverters-ratio[b-ylx34y5i7h] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-inverters-ratio_chart-container[b-ylx34y5i7h] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/Inverters/Visualisation.razor.rz.scp.css */
.visualisation-inverters[b-18wv393an1] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-18wv393an1] {
    margin-bottom: 24px;
}

.page-title[b-18wv393an1] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-18wv393an1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-18wv393an1] {
    flex-shrink: 0;
}

.duration-info-content[b-18wv393an1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-18wv393an1] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-18wv393an1] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-18wv393an1] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-18wv393an1] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-18wv393an1] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-18wv393an1] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-18wv393an1] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-18wv393an1] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-18wv393an1] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-18wv393an1] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-inverters[b-18wv393an1] {
        padding: 16px;
    }
    
    .page-title[b-18wv393an1] {
        font-size: 20px;
    }
    
    .heatmap-section[b-18wv393an1],
    .chart-section[b-18wv393an1] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/Degradation.razor.rz.scp.css */
.degradation-page[b-75rljg8o01] {
    background: var(--bg-primary);
    min-height: calc(100vh - 80px);
    font-family: 'Poppins', sans-serif;
}

/* Page Header */
.page-header[b-75rljg8o01] {
    margin-bottom: 24px;
}

.page-title[b-75rljg8o01] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin-top: 12px;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    align-items: center;
}

.duration-info[b-75rljg8o01] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-75rljg8o01] {
    flex-shrink: 0;
}

.duration-info-content[b-75rljg8o01] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-75rljg8o01] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-75rljg8o01] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-75rljg8o01] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Degradation Card */
.degradation-card[b-75rljg8o01] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}

.card-header[b-75rljg8o01] {
    margin-bottom: 20px;
}

.card-title-section[b-75rljg8o01] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-with-icon[b-75rljg8o01] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title[b-75rljg8o01] {
    font-size: 16px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.info-icon[b-75rljg8o01] {
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
}

.info-icon:hover[b-75rljg8o01] {
    color: var(--text-primary);
}

.card-subtitle[b-75rljg8o01] {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .degradation-page[b-75rljg8o01] {
        padding: 16px;
    }
    
    .page-title[b-75rljg8o01] {
        font-size: 24px;
        text-align: center;
    }
    
    .degradation-card[b-75rljg8o01] {
        padding: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .degradation-page[b-75rljg8o01] {
        padding: 12px;
    }
    
    .degradation-card[b-75rljg8o01] {
        padding: 12px;
        border-radius: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/LossOverviewHeader.razor.rz.scp.css */
.portfolio-header[b-1jkzgkiu4y] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-1jkzgkiu4y] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-1jkzgkiu4y] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-1jkzgkiu4y]{
  display: flex;
}
.header-analysis[b-1jkzgkiu4y] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-1jkzgkiu4y] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-1jkzgkiu4y] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-1jkzgkiu4y] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-1jkzgkiu4y] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-1jkzgkiu4y] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-1jkzgkiu4y] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-1jkzgkiu4y] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-1jkzgkiu4y] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-1jkzgkiu4y] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-1jkzgkiu4y] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-1jkzgkiu4y] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-1jkzgkiu4y] {
    justify-content: center;
  }

  .header-filters[b-1jkzgkiu4y] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-1jkzgkiu4y] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-1jkzgkiu4y] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/NonRecoverableLosss.razor.rz.scp.css */
.nrl-card[b-wgg6vdi2lt] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
}

.nrl-card .table-toolbar[b-wgg6vdi2lt] {
    background: transparent;
    padding: 0 0 12px 0;
}

.nrl-card .data-table[b-wgg6vdi2lt] {
    background: var(--bg-primary);
}

.nrl-card .toolbar-subtitle[b-wgg6vdi2lt] {
    color: #ffbf01;
}

.nrl-card .total-row[b-wgg6vdi2lt] {
    background: #1f2326;
}


/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-6z0xkwspvv] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-6z0xkwspvv] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

/* KPI Grid - Responsive 4-2-1 columns */
.kpi-grid[b-6z0xkwspvv] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-6z0xkwspvv] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-6z0xkwspvv] {
    flex-shrink: 0;
}

.duration-info-content[b-6z0xkwspvv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-6z0xkwspvv] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-6z0xkwspvv] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-6z0xkwspvv] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kpi-grid[b-6z0xkwspvv] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-6z0xkwspvv] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-6z0xkwspvv] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-6z0xkwspvv] {
        gap: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/RecoverableLoss.razor.rz.scp.css */
.recoverable-loss-container[b-4ry7uhswe9] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}

.chart-header[b-4ry7uhswe9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.chart-title-section[b-4ry7uhswe9] {
    flex: 1;
}

.title-with-icon[b-4ry7uhswe9] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.info-icon[b-4ry7uhswe9] {
    width: 18px;
    height: 18px;
    background: transparent 70%;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.section-title[b-4ry7uhswe9] {
    font-size: 14px;
    font-weight: medium;
    color: #FFBF01;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.info-icon[b-4ry7uhswe9] {
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
}

.info-icon:hover[b-4ry7uhswe9] {
    color: var(--text-primary);
}

.chart-subtitle[b-4ry7uhswe9] {
    font-size: 12px;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.chart-menu[b-4ry7uhswe9] {
    flex-shrink: 0;
}

.menu-icon[b-4ry7uhswe9] {
    color: var(--text-primary) !important;
}

.menu-icon:hover[b-4ry7uhswe9] {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.chart-wrapper[b-4ry7uhswe9] {
    margin-bottom: 20px;
    background-color: var(--chart-background);
    border-radius: 20px;
    height: 400px; /* hoặc giá trị bạn muốn */
}

.chart-legend[b-4ry7uhswe9] {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item[b-4ry7uhswe9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.legend-item[b-4ry7uhswe9]::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--legend-color);
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recoverable-loss-container[b-4ry7uhswe9] {
        padding: 16px;
        border-radius: 16px;
    }
    
    .chart-header[b-4ry7uhswe9] {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .chart-menu[b-4ry7uhswe9] {
        align-self: flex-end;
    }
    
    .chart-legend[b-4ry7uhswe9] {
        gap: 16px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .recoverable-loss-container[b-4ry7uhswe9] {
        padding: 12px;
        border-radius: 12px;
    }
    
    .chart-legend[b-4ry7uhswe9] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/LossOverview/RecoverableLosssTable.razor.rz.scp.css */
.nrl-card[b-7jajdb41ab] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.nrl-card .table-toolbar[b-7jajdb41ab] {
    background: transparent;
    padding: 0 0 12px 0;
}

.nrl-card .data-table[b-7jajdb41ab] {
    background: var(--bg-primary);
}

.nrl-card .toolbar-subtitle[b-7jajdb41ab] {
    color: #ffbf01;
}

.nrl-card .total-row[b-7jajdb41ab] {
    background: #1f2326;
}


/* _content/SumoWeb/Components/Modules/Analysis/PortfolioOverview/LossLeaderboard.razor.rz.scp.css */
/* === LOSS LEADERBOARD - STYLING THEO HÌNH ẢNH MONG MUỐN === */

.loss-leaderboard[b-oz8uic3fs2] {
    font-family: 'Poppins', sans-serif;
}

/* === HEADER SECTION === */
.leaderboard-header[b-oz8uic3fs2] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-title[b-oz8uic3fs2] {
    font-size: 18px;
    font-weight: 700;
    color: #ffbf01;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.info-icon[b-oz8uic3fs2] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* === SUBTITLE === */
.leaderboard-subtitle[b-oz8uic3fs2] {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0 0 20px 0;
    font-family: 'Poppins', sans-serif;
}

/* === FILTER BUTTONS === */
.filter-buttons[b-oz8uic3fs2] {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-btn[b-oz8uic3fs2] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover[b-oz8uic3fs2] {
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active[b-oz8uic3fs2] {
    background: #34C759;
    color: var(--text-primary);
    border-color: #34C759;
    font-weight: 600;
}

/* === CONTENT TABLE === */
.content-table[b-oz8uic3fs2] {
    margin-bottom: 24px;
}

.table-headers[b-oz8uic3fs2] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.header-site[b-oz8uic3fs2], .header-loss[b-oz8uic3fs2] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.table-data[b-oz8uic3fs2] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-row[b-oz8uic3fs2] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    align-items: center;
    padding: 0 4px;
}

.site-name[b-oz8uic3fs2] {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.loss-progress[b-oz8uic3fs2] {
    width: 100%;
}

.progress-bar[b-oz8uic3fs2] {
    width: 100%;
    height: 24px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: visible; /* Để text không bị cắt */
    position: relative;
}

.progress-fill[b-oz8uic3fs2] {
    height: 100%;
    background: #34C759;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 0.3s ease;
    min-width: 40px; /* Đảm bảo có đủ không gian cho text */
    position: relative;
}

.progress-text[b-oz8uic3fs2] {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    z-index: 10;
    position: relative;
}

/* === FOOTER === */
.leaderboard-footer[b-oz8uic3fs2] {
    text-align: center;
    margin-top: 20px;
}

.loss-overview-link[b-oz8uic3fs2] {
    color: #34C759;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.2s ease;
}

.loss-overview-link:hover[b-oz8uic3fs2] {
    color: #2FB350;
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .loss-leaderboard[b-oz8uic3fs2] {
        padding: 20px;
    }
    
    .filter-buttons[b-oz8uic3fs2] {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn[b-oz8uic3fs2] {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .table-headers[b-oz8uic3fs2], .table-row[b-oz8uic3fs2] {
        gap: 12px;
    }
    
    .progress-bar[b-oz8uic3fs2] {
        height: 20px;
    }
    
    .progress-text[b-oz8uic3fs2] {
        font-size: 11px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/PortfolioOverview/PortfolioHeader.razor.rz.scp.css */
.portfolio-header[b-av5ugptz8t] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-av5ugptz8t] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-av5ugptz8t] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-av5ugptz8t]{
  display: flex;
}
.header-analysis[b-av5ugptz8t] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-av5ugptz8t] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-av5ugptz8t] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-av5ugptz8t] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-av5ugptz8t] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.header-filters[b-av5ugptz8t] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-av5ugptz8t] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-av5ugptz8t] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-av5ugptz8t] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-av5ugptz8t] {
    justify-content: center;
  }

  .header-filters[b-av5ugptz8t] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-av5ugptz8t] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-av5ugptz8t] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-shading-loss[b-htwrjc47sr] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-htwrjc47sr] {
    margin-bottom: 24px;
}

.page-title[b-htwrjc47sr] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-htwrjc47sr] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-htwrjc47sr] {
    flex-shrink: 0;
}

.duration-info-content[b-htwrjc47sr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-htwrjc47sr] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-htwrjc47sr] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-htwrjc47sr] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-htwrjc47sr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-htwrjc47sr] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-htwrjc47sr] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(45, 220, 230, 0.3);
}

.chart-section[b-htwrjc47sr] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-htwrjc47sr] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-htwrjc47sr] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-htwrjc47sr] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-htwrjc47sr] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-shading-loss[b-htwrjc47sr] {
        padding: 16px;
    }
    
    .page-title[b-htwrjc47sr] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-htwrjc47sr] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-htwrjc47sr],
    .table-section[b-htwrjc47sr] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-htwrjc47sr] {
        padding: 16px;
    }
    
    .chart-section[b-htwrjc47sr],
    .table-section[b-htwrjc47sr] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/InverterLevel.razor.rz.scp.css */
.inverter-level-shading-loss[b-qfq0gcoreo] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-shading-loss-header[b-qfq0gcoreo] {
    margin-bottom: 24px;
}

.page-title[b-qfq0gcoreo] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-qfq0gcoreo] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-qfq0gcoreo] {
    flex-shrink: 0;
}

.duration-info-content[b-qfq0gcoreo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-qfq0gcoreo] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-qfq0gcoreo] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-qfq0gcoreo] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-qfq0gcoreo] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-qfq0gcoreo] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-shading-loss[b-qfq0gcoreo] {
        padding: 16px;
    }
    
    .page-title[b-qfq0gcoreo] {
        font-size: 20px;
    }
    
    .results-section[b-qfq0gcoreo],
    .chart-section[b-qfq0gcoreo] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-kzzs2hxzzz] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-kzzs2hxzzz] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-kzzs2hxzzz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-kzzs2hxzzz] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-kzzs2hxzzz] {
    flex-shrink: 0;
}

.duration-info-content[b-kzzs2hxzzz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-kzzs2hxzzz] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-kzzs2hxzzz] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-kzzs2hxzzz] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-kzzs2hxzzz] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-kzzs2hxzzz] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-kzzs2hxzzz] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-kzzs2hxzzz] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/ShadingLossHeader.razor.rz.scp.css */
.portfolio-header[b-7qxprs4sa4] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-7qxprs4sa4] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-7qxprs4sa4] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-7qxprs4sa4]{
  display: flex;
}
.header-analysis[b-7qxprs4sa4] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-7qxprs4sa4] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-7qxprs4sa4] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-7qxprs4sa4] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-7qxprs4sa4] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-7qxprs4sa4] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-7qxprs4sa4] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-7qxprs4sa4] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-7qxprs4sa4] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-7qxprs4sa4] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-7qxprs4sa4] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-7qxprs4sa4] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-7qxprs4sa4] {
    justify-content: center;
  }

  .header-filters[b-7qxprs4sa4] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-7qxprs4sa4] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-7qxprs4sa4] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/SiteShadingLoss.razor.rz.scp.css */
.site-shading-loss-module[b-0fy8ht80se] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/SiteShadingRatio.razor.rz.scp.css */
.site-shading-ratio[b-3w1ih7ca1t] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-shading-ratio_chart-container[b-3w1ih7ca1t] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/ShadingLoss/Visualisation.razor.rz.scp.css */
.visualisation-shading-loss[b-yp93mrtxeq] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-yp93mrtxeq] {
    margin-bottom: 24px;
}

.page-title[b-yp93mrtxeq] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-yp93mrtxeq] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-yp93mrtxeq] {
    flex-shrink: 0;
}

.duration-info-content[b-yp93mrtxeq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-yp93mrtxeq] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-yp93mrtxeq] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-yp93mrtxeq] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-yp93mrtxeq] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-yp93mrtxeq] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-yp93mrtxeq] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-yp93mrtxeq] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-yp93mrtxeq] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-yp93mrtxeq] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-yp93mrtxeq] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-shading-loss[b-yp93mrtxeq] {
        padding: 16px;
    }
    
    .page-title[b-yp93mrtxeq] {
        font-size: 20px;
    }
    
    .heatmap-section[b-yp93mrtxeq],
    .chart-section[b-yp93mrtxeq] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-soiling-loss[b-q6mgvhhpqu] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-q6mgvhhpqu] {
    margin-bottom: 24px;
}

.page-title[b-q6mgvhhpqu] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-q6mgvhhpqu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-q6mgvhhpqu] {
    flex-shrink: 0;
}

.duration-info-content[b-q6mgvhhpqu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-q6mgvhhpqu] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-q6mgvhhpqu] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-q6mgvhhpqu] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Stat Cards Section */
.stat-cards-section[b-q6mgvhhpqu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-q6mgvhhpqu] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-q6mgvhhpqu] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 180, 0, 0.3);
}

/* Chart Sections */
.chart-section[b-q6mgvhhpqu] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-q6mgvhhpqu] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-q6mgvhhpqu] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Chart Container Styling */
.chart-section[b-q6mgvhhpqu]  .line-chart-section {
    background: transparent;
}

.chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-title {
    color: #FFB400 !important;
}

.chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-wrapper {
    width: 100%;
    height: 100%;
}

.chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-canvas {
    max-height: 400px;
}

/* Table Section */
.table-section[b-q6mgvhhpqu] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

/* Override table styles for dark theme */
.table-section .data-table[b-q6mgvhhpqu] {
    background-color: transparent;
    color: var(--text-primary);
    width: 100%;
    border-collapse: collapse;
}

.table-section .table-header[b-q6mgvhhpqu] {
    background-color: #374151;
    color: var(--text-primary);
    border-bottom: 1px solid #4b5563;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
}

.table-section .table-row[b-q6mgvhhpqu] {
    border-bottom: 1px solid #374151;
    transition: background-color 0.2s ease;
}

.table-section .table-row:hover[b-q6mgvhhpqu] {
    background-color: #374151;
}

.table-section .table-cell[b-q6mgvhhpqu] {
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #374151;
}

.table-section .th-icon[b-q6mgvhhpqu] {
    filter: var(--icon-filter);
  transition: filter 0.3s ease;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.table-section .th-icon:hover[b-q6mgvhhpqu] {
    opacity: 1;
}

.table-section .th-icon.active[b-q6mgvhhpqu] {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(30deg);
    opacity: 1;
}

/* Pagination styling */
.table-section .pagination-container[b-q6mgvhhpqu] {
    background-color: transparent;
    border-top: 1px solid #374151;
    padding-top: 12px;
    margin-top: 12px;
}

.table-section .pagination-content[b-q6mgvhhpqu] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13px;
}

.table-section .pagination-label[b-q6mgvhhpqu] {
    color: #9ca3af;
    font-size: 13px;
}

.table-section .pagination-page-size-select[b-q6mgvhhpqu] {
    background-color: #374151;
    color: var(--text-primary);
    border: 1px solid #4b5563;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
}

.table-section .page-range[b-q6mgvhhpqu] {
    color: #d1d5db;
    font-size: 13px;
}

.table-section .nav-btn[b-q6mgvhhpqu] {
    color: #FFBF01 !important;
    padding: 4px !important;
    min-width: 32px !important;
    height: 32px !important;
}

.table-section .nav-btn:hover[b-q6mgvhhpqu] {
    background-color: rgba(255, 191, 1, 0.1) !important;
}

.table-section .nav-btn[disabled][b-q6mgvhhpqu] {
    color: #6b7280 !important;
    background-color: transparent !important;
}

/* Additional styling for better visual hierarchy */
.table-section .toolbar-title[b-q6mgvhhpqu] {
    color: #FFBF01;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.table-section .toolbar-subtitle[b-q6mgvhhpqu] {
    color: #9ca3af;
    font-size: 13px;
    margin: 0 0 16px 0;
}

/* Table header styling improvements */
.table-section .header-content[b-q6mgvhhpqu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.table-section .header-text[b-q6mgvhhpqu] {
    font-weight: 600;
    color: var(--text-primary);
}

.table-section .th-icon-group[b-q6mgvhhpqu] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Table row alternating colors for better readability */
.table-section .table-row:nth-child(even)[b-q6mgvhhpqu] {
    background-color: rgba(55, 65, 81, 0.3);
}

.table-section .table-row:nth-child(even):hover[b-q6mgvhhpqu] {
    background-color: #374151;
}

/* Improve button styling */
.table-section .nav-btn .mud-icon-root[b-q6mgvhhpqu] {
    font-size: 18px;
}

/* Better focus states */
.table-section .pagination-page-size-select:focus[b-q6mgvhhpqu] {
    outline: 2px solid #FFBF01;
    outline-offset: 2px;
    border-color: #FFBF01;
}

/* Status Chip Styling */
.status-chip[b-q6mgvhhpqu] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-chip.open[b-q6mgvhhpqu] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #EAEAEA;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-chip.analysis[b-q6mgvhhpqu] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #EAEAEA;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-chip.in-progress[b-q6mgvhhpqu] {
    background-color: rgba(255, 255, 255, 0.2);
    color: #EAEAEA;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .chart-section[b-q6mgvhhpqu] {
        padding: 20px;
    }
    
    .chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-soiling-loss[b-q6mgvhhpqu] {
        padding: 16px;
    }
    
    .page-title[b-q6mgvhhpqu] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-q6mgvhhpqu] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-q6mgvhhpqu],
    .table-section[b-q6mgvhhpqu] {
        padding: 16px;
    }
    
    .chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-q6mgvhhpqu] {
        padding: 16px;
    }
    
    .chart-section[b-q6mgvhhpqu],
    .table-section[b-q6mgvhhpqu] {
        padding: 12px;
    }
    
    .chart-section[b-q6mgvhhpqu]  .line-chart-section .chart-container {
        height: 250px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/InverterLevel.razor.rz.scp.css */
.inverter-level-soiling-loss[b-a3o085e9r6] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-soiling-loss-header[b-a3o085e9r6] {
    margin-bottom: 24px;
}

.page-title[b-a3o085e9r6] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-a3o085e9r6] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-a3o085e9r6] {
    flex-shrink: 0;
}

.duration-info-content[b-a3o085e9r6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-a3o085e9r6] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-a3o085e9r6] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-a3o085e9r6] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-a3o085e9r6] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-a3o085e9r6] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

/* Override table styles for dark theme */
.results-section .data-table[b-a3o085e9r6] {
    background-color: transparent;
    color: var(--text-primary);
    width: 100%;
    border-collapse: collapse;
}

.results-section .table-header[b-a3o085e9r6] {
    background-color: #374151;
    color: var(--text-primary);
    border-bottom: 1px solid #4b5563;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
}

.results-section .table-row[b-a3o085e9r6] {
    border-bottom: 1px solid #374151;
    transition: background-color 0.2s ease;
}

.results-section .table-row:hover[b-a3o085e9r6] {
    background-color: #374151;
}

.results-section .table-cell[b-a3o085e9r6] {
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #374151;
}

.results-section .th-icon[b-a3o085e9r6] {
    filter: var(--icon-filter);
  transition: filter 0.3s ease;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.results-section .th-icon:hover[b-a3o085e9r6] {
    opacity: 1;
}

.results-section .th-icon.active[b-a3o085e9r6] {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(30deg);
    opacity: 1;
}

/* Pagination styling */
.results-section .pagination-container[b-a3o085e9r6] {
    background-color: transparent;
    border-top: 1px solid #374151;
    padding-top: 12px;
    margin-top: 12px;
}

.results-section .pagination-content[b-a3o085e9r6] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13px;
}

.results-section .pagination-label[b-a3o085e9r6] {
    color: #9ca3af;
    font-size: 13px;
}

.results-section .pagination-page-size-select[b-a3o085e9r6] {
    background-color: #374151;
    color: var(--text-primary);
    border: 1px solid #4b5563;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
}

.results-section .page-range[b-a3o085e9r6] {
    color: #d1d5db;
    font-size: 13px;
}

.results-section .nav-btn[b-a3o085e9r6] {
    color: #FFBF01 !important;
    padding: 4px !important;
    min-width: 32px !important;
    height: 32px !important;
}

.results-section .nav-btn:hover[b-a3o085e9r6] {
    background-color: rgba(255, 191, 1, 0.1) !important;
}

.results-section .nav-btn[disabled][b-a3o085e9r6] {
    color: #6b7280 !important;
    background-color: transparent !important;
}

/* Chart container styling */
.chart-section .horizontal-bar-chart-container[b-a3o085e9r6] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-a3o085e9r6] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-a3o085e9r6] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Additional styling for better visual hierarchy */
.results-section .toolbar-title[b-a3o085e9r6] {
    color: #FFBF01;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.results-section .toolbar-subtitle[b-a3o085e9r6] {
    color: #9ca3af;
    font-size: 13px;
    margin: 0 0 16px 0;
}

/* Table header styling improvements */
.results-section .header-content[b-a3o085e9r6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.results-section .header-text[b-a3o085e9r6] {
    font-weight: 600;
    color: var(--text-primary);
}

.results-section .th-icon-group[b-a3o085e9r6] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Chart improvements */
.chart-section canvas[b-a3o085e9r6] {
    max-height: 400px;
}

/* Ensure proper spacing between sections */
.results-section + .chart-section[b-a3o085e9r6] {
    margin-top: 0;
}

/* Table row alternating colors for better readability */
.results-section .table-row:nth-child(even)[b-a3o085e9r6] {
    background-color: rgba(55, 65, 81, 0.3);
}

.results-section .table-row:nth-child(even):hover[b-a3o085e9r6] {
    background-color: #374151;
}

/* Improve button styling */
.results-section .nav-btn .mud-icon-root[b-a3o085e9r6] {
    font-size: 18px;
}

/* Better focus states */
.results-section .pagination-page-size-select:focus[b-a3o085e9r6] {
    outline: 2px solid #FFBF01;
    outline-offset: 2px;
    border-color: #FFBF01;
}

/* Responsive design */
@media (max-width: 768px) {
    .inverter-level-soiling-loss[b-a3o085e9r6] {
        padding: 16px;
    }
    
    .page-title[b-a3o085e9r6] {
        font-size: 20px;
    }
    
    .results-section[b-a3o085e9r6],
    .chart-section[b-a3o085e9r6] {
        padding: 16px;
    }
    
    .results-section .table-cell[b-a3o085e9r6] {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .results-section .table-header[b-a3o085e9r6] {
        padding: 8px 12px;
        font-size: 13px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-48y50qne54] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-48y50qne54] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

/* KPI Grid - Responsive 4-2-1 columns */
.kpi-grid[b-48y50qne54] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-48y50qne54] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-48y50qne54] {
    flex-shrink: 0;
}

.duration-info-content[b-48y50qne54] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-48y50qne54] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-48y50qne54] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-48y50qne54] {
    font-size: 14px;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kpi-grid[b-48y50qne54] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-48y50qne54] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-48y50qne54] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-48y50qne54] {
        gap: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/SiteSoilingLoss.razor.rz.scp.css */
.nrl-card[b-tf6svowav7] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
}

.nrl-card .table-toolbar[b-tf6svowav7] {
    background: transparent;
    padding: 0 0 12px 0;
}

.nrl-card .data-table[b-tf6svowav7] {
    background: var(--bg-primary);
}

.nrl-card .toolbar-subtitle[b-tf6svowav7] {
    color: #ffbf01;
}

.nrl-card .total-row[b-tf6svowav7] {
    background: #1f2326;
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/SiteSoilingRatio.razor.rz.scp.css */
.site-soiling-ratio[b-c45yne9t46] {
  background: var(--bg-primary);
  border: 1px solid #202427;
  border-radius: 20px;
  padding: 1.25vw;
  margin-bottom: 1.67vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 20px;
}

/* Chart Container */
.site-soiling-ratio_chart-container[b-c45yne9t46] {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}
.site-soiling-ratio .site-soiling-ratio_chart-container[b-c45yne9t46]  .line-chart-section {
  background: var(--bg-primary);
}

.site-soiling-ratio .site-soiling-ratio_chart-container[b-c45yne9t46]  .line-chart-section .chart-title {
  color: #FFBF01;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .site-soiling-ratio[b-c45yne9t46] {
    padding: 20px;
    max-width: 100%;
  }

  .site-soiling-ratio_chart-container[b-c45yne9t46] {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .site-soiling-ratio[b-c45yne9t46] {
    padding: 16px;
    max-width: 100%;
  }

  .site-soiling-ratio_header[b-c45yne9t46] {
    margin-bottom: 12px;
  }

  .site-soiling-ratio_title[b-c45yne9t46] {
    font-size: 1.8rem;
  }

  .site-soiling-ratio_chart-container[b-c45yne9t46] {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .site-soiling-ratio[b-c45yne9t46] {
    padding: 12px;
    max-width: 100%;
  }

  .site-soiling-ratio_title[b-c45yne9t46] {
    font-size: 1.5rem;
  }

  .site-soiling-ratio_chart-container[b-c45yne9t46] {
    height: 250px;
  }
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/SoilingLossHeader.razor.rz.scp.css */
.portfolio-header[b-tum6pv88uz] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-tum6pv88uz] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-tum6pv88uz] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-tum6pv88uz]{
  display: flex;
}
.header-analysis[b-tum6pv88uz] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-tum6pv88uz] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-tum6pv88uz] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-tum6pv88uz] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-tum6pv88uz] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-tum6pv88uz] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-tum6pv88uz] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-tum6pv88uz] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-tum6pv88uz] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-tum6pv88uz] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-tum6pv88uz] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-tum6pv88uz] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-tum6pv88uz] {
    justify-content: center;
  }

  .header-filters[b-tum6pv88uz] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-tum6pv88uz] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-tum6pv88uz] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Analysis/SoilingLoss/Visualisation.razor.rz.scp.css */
.visualisation-soiling-loss[b-p1hehbih03] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-p1hehbih03] {
    margin-bottom: 24px;
}

.page-title[b-p1hehbih03] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-p1hehbih03] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-p1hehbih03] {
    flex-shrink: 0;
}

.duration-info-content[b-p1hehbih03] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-p1hehbih03] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-p1hehbih03] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-p1hehbih03] {
    font-size: 14px;
    color: var(--text-primary);
}


/* Heatmap container styling */
.heatmap-section .heatmap-chart-container[b-p1hehbih03] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-p1hehbih03] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-p1hehbih03] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Chart container styling */
.chart-section .horizontal-bar-chart-container[b-p1hehbih03] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-p1hehbih03] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-p1hehbih03] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Chart improvements */
.chart-section canvas[b-p1hehbih03] {
    max-height: 400px;
}

/* Ensure proper spacing between sections */
.heatmap-section + .chart-section[b-p1hehbih03] {
    margin-top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .visualisation-soiling-loss[b-p1hehbih03] {
        padding: 16px;
    }
    
    .page-title[b-p1hehbih03] {
        font-size: 20px;
    }
    
    .heatmap-section[b-p1hehbih03],
    .chart-section[b-p1hehbih03] {
        padding: 16px;
    }
}
/* _content/SumoWeb/Components/Modules/Analysis/Thermal/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-thermal[b-on43vgvota] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-on43vgvota] {
    margin-bottom: 24px;
}

.page-title[b-on43vgvota] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-on43vgvota] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-on43vgvota] {
    flex-shrink: 0;
}

.duration-info-content[b-on43vgvota] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-on43vgvota] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-on43vgvota] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-on43vgvota] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-on43vgvota] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-on43vgvota] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-on43vgvota] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-on43vgvota] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-on43vgvota] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-on43vgvota] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-on43vgvota] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-on43vgvota] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-thermal[b-on43vgvota] {
        padding: 16px;
    }
    
    .page-title[b-on43vgvota] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-on43vgvota] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-on43vgvota],
    .table-section[b-on43vgvota] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-on43vgvota] {
        padding: 16px;
    }
    
    .chart-section[b-on43vgvota],
    .table-section[b-on43vgvota] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/InverterLevel.razor.rz.scp.css */
.inverter-level-thermal[b-up9iu6q2tt] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-thermal-header[b-up9iu6q2tt] {
    margin-bottom: 24px;
}

.page-title[b-up9iu6q2tt] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-up9iu6q2tt] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-up9iu6q2tt] {
    flex-shrink: 0;
}

.duration-info-content[b-up9iu6q2tt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-up9iu6q2tt] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-up9iu6q2tt] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-up9iu6q2tt] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-up9iu6q2tt] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-up9iu6q2tt] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-thermal[b-up9iu6q2tt] {
        padding: 16px;
    }
    
    .page-title[b-up9iu6q2tt] {
        font-size: 20px;
    }
    
    .results-section[b-up9iu6q2tt],
    .chart-section[b-up9iu6q2tt] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-di6l23rz52] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-di6l23rz52] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-di6l23rz52] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-di6l23rz52] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-di6l23rz52] {
    flex-shrink: 0;
}

.duration-info-content[b-di6l23rz52] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-di6l23rz52] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-di6l23rz52] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-di6l23rz52] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-di6l23rz52] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-di6l23rz52] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-di6l23rz52] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-di6l23rz52] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/SiteThermalLoss.razor.rz.scp.css */
.site-thermal-loss-module[b-o1bhcbuhfj] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/SiteThermalRatio.razor.rz.scp.css */
.site-thermal-ratio[b-m388gf7p4s] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-thermal-ratio_chart-container[b-m388gf7p4s] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/ThermalHeader.razor.rz.scp.css */
.portfolio-header[b-dw0ook08id] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-dw0ook08id] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-dw0ook08id] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-dw0ook08id]{
  display: flex;
}
.header-analysis[b-dw0ook08id] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-dw0ook08id] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-dw0ook08id] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-dw0ook08id] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-dw0ook08id] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-dw0ook08id] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-dw0ook08id] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-dw0ook08id] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-dw0ook08id] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-dw0ook08id] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-dw0ook08id] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-dw0ook08id] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-dw0ook08id] {
    justify-content: center;
  }

  .header-filters[b-dw0ook08id] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-dw0ook08id] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-dw0ook08id] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/Thermal/Visualisation.razor.rz.scp.css */
.visualisation-thermal[b-08kbjzy2vw] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-08kbjzy2vw] {
    margin-bottom: 24px;
}

.page-title[b-08kbjzy2vw] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-08kbjzy2vw] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-08kbjzy2vw] {
    flex-shrink: 0;
}

.duration-info-content[b-08kbjzy2vw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-08kbjzy2vw] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-08kbjzy2vw] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-08kbjzy2vw] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-08kbjzy2vw] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-08kbjzy2vw] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-08kbjzy2vw] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-08kbjzy2vw] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-08kbjzy2vw] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-08kbjzy2vw] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-08kbjzy2vw] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-thermal[b-08kbjzy2vw] {
        padding: 16px;
    }
    
    .page-title[b-08kbjzy2vw] {
        font-size: 20px;
    }
    
    .heatmap-section[b-08kbjzy2vw],
    .chart-section[b-08kbjzy2vw] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-total-non-recoverable[b-udgja2clea] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-udgja2clea] {
    margin-bottom: 24px;
}

.page-title[b-udgja2clea] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-udgja2clea] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-udgja2clea] {
    flex-shrink: 0;
}

.duration-info-content[b-udgja2clea] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-udgja2clea] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-udgja2clea] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-udgja2clea] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-udgja2clea] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-udgja2clea] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-udgja2clea] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.chart-section[b-udgja2clea] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-udgja2clea] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-udgja2clea] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-udgja2clea] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-udgja2clea] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-total-non-recoverable[b-udgja2clea] {
        padding: 16px;
    }
    
    .page-title[b-udgja2clea] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-udgja2clea] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-udgja2clea],
    .table-section[b-udgja2clea] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-udgja2clea] {
        padding: 16px;
    }
    
    .chart-section[b-udgja2clea],
    .table-section[b-udgja2clea] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/InverterLevel.razor.rz.scp.css */
.inverter-level-total-non-recoverable[b-fpnux2onvc] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-total-non-recoverable-header[b-fpnux2onvc] {
    margin-bottom: 24px;
}

.page-title[b-fpnux2onvc] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-fpnux2onvc] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-fpnux2onvc] {
    flex-shrink: 0;
}

.duration-info-content[b-fpnux2onvc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-fpnux2onvc] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-fpnux2onvc] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-fpnux2onvc] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-fpnux2onvc] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-fpnux2onvc] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-total-non-recoverable[b-fpnux2onvc] {
        padding: 16px;
    }
    
    .page-title[b-fpnux2onvc] {
        font-size: 20px;
    }
    
    .results-section[b-fpnux2onvc],
    .chart-section[b-fpnux2onvc] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-nk59ce252t] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-nk59ce252t] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-nk59ce252t] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-nk59ce252t] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-nk59ce252t] {
    flex-shrink: 0;
}

.duration-info-content[b-nk59ce252t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-nk59ce252t] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-nk59ce252t] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-nk59ce252t] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-nk59ce252t] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-nk59ce252t] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-nk59ce252t] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-nk59ce252t] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/SiteTotalNonRecoverableLoss.razor.rz.scp.css */
.site-total-non-recoverable-loss-module[b-4j7gbog1fj] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/SiteTotalNonRecoverableRatio.razor.rz.scp.css */
.site-total-non-recoverable-ratio[b-6ca8m7ayaw] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-total-non-recoverable-ratio_chart-container[b-6ca8m7ayaw] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/TotalNonRecoverableHeader.razor.rz.scp.css */
.portfolio-header[b-fhqo1gv52u] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-fhqo1gv52u] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-fhqo1gv52u] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-fhqo1gv52u]{
  display: flex;
}
.header-analysis[b-fhqo1gv52u] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-fhqo1gv52u] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-fhqo1gv52u] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-fhqo1gv52u] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-fhqo1gv52u] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-fhqo1gv52u] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-fhqo1gv52u] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-fhqo1gv52u] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-fhqo1gv52u] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-fhqo1gv52u] {
  min-width: 280px;
}

@media (max-width: 768px) {
  .portfolio-header[b-fhqo1gv52u] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-fhqo1gv52u] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-fhqo1gv52u] {
    justify-content: center;
  }

  .header-filters[b-fhqo1gv52u] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-fhqo1gv52u] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-fhqo1gv52u] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/TotalNonRecoverable/Visualisation.razor.rz.scp.css */
.visualisation-total-non-recoverable[b-tt19cuai3p] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-tt19cuai3p] {
    margin-bottom: 24px;
}

.page-title[b-tt19cuai3p] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-tt19cuai3p] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-tt19cuai3p] {
    flex-shrink: 0;
}

.duration-info-content[b-tt19cuai3p] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-tt19cuai3p] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-tt19cuai3p] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-tt19cuai3p] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-tt19cuai3p] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-tt19cuai3p] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-tt19cuai3p] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-tt19cuai3p] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-tt19cuai3p] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-tt19cuai3p] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-tt19cuai3p] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-total-non-recoverable[b-tt19cuai3p] {
        padding: 16px;
    }
    
    .page-title[b-tt19cuai3p] {
        font-size: 20px;
    }
    
    .heatmap-section[b-tt19cuai3p],
    .chart-section[b-tt19cuai3p] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/FinancialAndTicket.razor.rz.scp.css */
.financial-analysis-unexpected-loss[b-ql15o8f7g0] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: #EAEAEA;
    min-height: 100vh;
}

.analysis-header[b-ql15o8f7g0] {
    margin-bottom: 24px;
}

.page-title[b-ql15o8f7g0] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-ql15o8f7g0] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-ql15o8f7g0] {
    flex-shrink: 0;
}

.duration-info-content[b-ql15o8f7g0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-ql15o8f7g0] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-ql15o8f7g0] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-ql15o8f7g0] {
    font-size: 14px;
    color: var(--text-primary);
}

.stat-cards-section[b-ql15o8f7g0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-container[b-ql15o8f7g0] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card-container:hover[b-ql15o8f7g0] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 107, 53, 0.3);
}

.chart-section[b-ql15o8f7g0] {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.chart-section .chart-title[b-ql15o8f7g0] {
    color: #FFB400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-ql15o8f7g0] {
    color: #A0A0A0;
    font-size: 13px;
    margin-bottom: 16px;
}

.table-section[b-ql15o8f7g0] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .chart-section[b-ql15o8f7g0] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .financial-analysis-unexpected-loss[b-ql15o8f7g0] {
        padding: 16px;
    }
    
    .page-title[b-ql15o8f7g0] {
        font-size: 20px;
    }
    
    .stat-cards-section[b-ql15o8f7g0] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .chart-section[b-ql15o8f7g0],
    .table-section[b-ql15o8f7g0] {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .stat-card-container[b-ql15o8f7g0] {
        padding: 16px;
    }
    
    .chart-section[b-ql15o8f7g0],
    .table-section[b-ql15o8f7g0] {
        padding: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/InverterLevel.razor.rz.scp.css */
.inverter-level-unexpected-loss[b-yl5p14npnz] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.inverter-level-unexpected-loss-header[b-yl5p14npnz] {
    margin-bottom: 24px;
}

.page-title[b-yl5p14npnz] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-yl5p14npnz] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-yl5p14npnz] {
    flex-shrink: 0;
}

.duration-info-content[b-yl5p14npnz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-yl5p14npnz] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-yl5p14npnz] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-yl5p14npnz] {
    font-size: 14px;
    color: var(--text-primary);
}

.results-section[b-yl5p14npnz] {
    margin-bottom: 24px;
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 20px;
}

.chart-section[b-yl5p14npnz] {
    background-color: var(--chart-container-bg);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    .inverter-level-unexpected-loss[b-yl5p14npnz] {
        padding: 16px;
    }
    
    .page-title[b-yl5p14npnz] {
        font-size: 20px;
    }
    
    .results-section[b-yl5p14npnz],
    .chart-section[b-yl5p14npnz] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/QuickGlance.razor.rz.scp.css */
.quick-glance-section[b-cby6bla2o5] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-cby6bla2o5] {
    font-size: 20px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

.kpi-grid[b-cby6bla2o5] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.duration-info[b-cby6bla2o5] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-cby6bla2o5] {
    flex-shrink: 0;
}

.duration-info-content[b-cby6bla2o5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-cby6bla2o5] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-cby6bla2o5] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-cby6bla2o5] {
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 1200px) {
    .kpi-grid[b-cby6bla2o5] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title[b-cby6bla2o5] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-cby6bla2o5] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid[b-cby6bla2o5] {
        gap: 12px;
    }
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/SiteUnexpectedLoss.razor.rz.scp.css */
.site-unexpected-loss-module[b-a2ri7fznae] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/SiteUnexpectedRatio.razor.rz.scp.css */
.site-unexpected-ratio[b-fttk88ytv1] {
    width: 100%;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
}

.site-unexpected-ratio_chart-container[b-fttk88ytv1] {
    width: 100%;
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/UnexpectedRecoverableHeader.razor.rz.scp.css */
.portfolio-header[b-bfq8d52hdr] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-bfq8d52hdr] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-bfq8d52hdr] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-bfq8d52hdr]{
  display: flex;
}
.header-analysis[b-bfq8d52hdr] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-portfolio[b-bfq8d52hdr] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-bfq8d52hdr] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-bfq8d52hdr] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-bfq8d52hdr] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-bfq8d52hdr] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-bfq8d52hdr] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-bfq8d52hdr] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-bfq8d52hdr] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-bfq8d52hdr] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-header[b-bfq8d52hdr] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-bfq8d52hdr] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-bfq8d52hdr] {
    justify-content: center;
  }

  .header-filters[b-bfq8d52hdr] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-bfq8d52hdr] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-bfq8d52hdr] {
    font-size: 28px;
  }
}

/* _content/SumoWeb/Components/Modules/Analysis/UnexpectedRecoverable/Visualisation.razor.rz.scp.css */
.visualisation-unexpected-loss[b-n4h3jtal81] {
    padding: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.analysis-header[b-n4h3jtal81] {
    margin-bottom: 24px;
}

.page-title[b-n4h3jtal81] {
    font-size: 24px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-n4h3jtal81] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-n4h3jtal81] {
    flex-shrink: 0;
}

.duration-info-content[b-n4h3jtal81] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-n4h3jtal81] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-n4h3jtal81] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-n4h3jtal81] {
    font-size: 14px;
    color: var(--text-primary);
}

.heatmap-section .heatmap-chart-container[b-n4h3jtal81] {
    background-color: transparent;
    margin-top: 16px;
}

.heatmap-section .chart-title[b-n4h3jtal81] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.heatmap-section .chart-caption[b-n4h3jtal81] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section .horizontal-bar-chart-container[b-n4h3jtal81] {
    background-color: transparent;
    margin-top: 16px;
}

.chart-section .chart-title[b-n4h3jtal81] {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.chart-section .chart-caption[b-n4h3jtal81] {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}

.chart-section canvas[b-n4h3jtal81] {
    max-height: 400px;
}

@media (max-width: 768px) {
    .visualisation-unexpected-loss[b-n4h3jtal81] {
        padding: 16px;
    }
    
    .page-title[b-n4h3jtal81] {
        font-size: 20px;
    }
    
    .heatmap-section[b-n4h3jtal81],
    .chart-section[b-n4h3jtal81] {
        padding: 16px;
    }
}

/* _content/SumoWeb/Components/Modules/Cases/AlarmAnalytics/AlarmStatsPanel.razor.rz.scp.css */
/* Chế độ xem Thống kê của Alarm Center. Chỉ dùng biến theme của app.css (chạy cả dark lẫn
   light); màu mức độ lấy từ AlarmPriorityDisplay.Color ở phía C#. */

.as-panel[b-m6ukvpyqem] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.as-warning[b-m6ukvpyqem] {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #f97316;
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .35);
}

.as-empty[b-m6ukvpyqem] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Hàng 1: mức độ + trạng thái (full). Hàng 2: theo giờ (2/3) + top 10 (1/3).
   Hàng 3: so sánh nhà máy (full). */
.as-grid[b-m6ukvpyqem] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 14px;
}

.as-card--full[b-m6ukvpyqem] {
    grid-column: 1 / -1;
}

@media (max-width: 1100px) {
    .as-grid[b-m6ukvpyqem] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.as-card[b-m6ukvpyqem] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 16px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.as-card-head[b-m6ukvpyqem] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.as-card-title[b-m6ukvpyqem] {
    margin: 0;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.as-card-hint[b-m6ukvpyqem] {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Khung canvas: chiều cao luôn tường minh (xem chú thích đầu file .razor). */
.as-chart[b-m6ukvpyqem] {
    position: relative;
    width: 100%;
}

.as-chart--hour[b-m6ukvpyqem] {
    height: 300px;
}

/* Cột ngang cao theo số thanh (đặt inline); quá trần thì cuộn trong khung. */
.as-scroll[b-m6ukvpyqem] {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ---------- Donut + bảng mức độ / trạng thái ----------
   Thẻ chia đôi (09/10/2026): mỗi nửa một donut cỡ cố định bên trái + bảng của nó bên phải.
   Màn hẹp thì hai nửa xếp chồng, hẹp nữa thì donut lên trên bảng. */

.as-severity[b-m6ukvpyqem] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.as-sev-half[b-m6ukvpyqem] {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

/* Bảng bám MÉP TRÊN chứ không căn giữa theo donut: bảng Status chỉ 2 dòng, căn giữa thì nó
   tụt xuống thấp hơn hẳn bảng Severity 5 dòng ở nửa bên cạnh. Bám mép trên thì đầu hai bảng
   luôn thẳng hàng. */
.as-sev-half .as-table[b-m6ukvpyqem] {
    flex: 1 1 auto;
    min-width: 0;
    align-self: flex-start;
}

.as-chart--donut[b-m6ukvpyqem] {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
}

@media (max-width: 1300px) {
    .as-severity[b-m6ukvpyqem] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .as-sev-half[b-m6ukvpyqem] { flex-direction: column; align-items: stretch; }
    .as-sev-half .as-table[b-m6ukvpyqem] { align-self: stretch; }
    .as-chart--donut[b-m6ukvpyqem] { align-self: center; }
}

.as-table[b-m6ukvpyqem] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.as-table th[b-m6ukvpyqem],
.as-table td[b-m6ukvpyqem] {
    padding: 9px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.as-table tbody tr:last-child td[b-m6ukvpyqem] {
    border-bottom: none;
}

.as-table th[b-m6ukvpyqem] {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 12.5px;
}

.as-table .as-num[b-m6ukvpyqem] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    width: 1%;
}

.as-table td.as-num[b-m6ukvpyqem] {
    font-weight: 600;
}

.as-table td.as-pct[b-m6ukvpyqem] {
    color: var(--text-secondary);
    font-weight: 500;
}

.as-dot[b-m6ukvpyqem] {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: -1px;
}
/* _content/SumoWeb/Components/Modules/Cases/AlarmAndTicket/CreateAlarmComponent.razor.rz.scp.css */
.create-alarm-container[b-nzt1glr0tr] {
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

/* Header Section */
.alarm-header[b-nzt1glr0tr] {
    margin-bottom: 32px;
}

.header-content[b-nzt1glr0tr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alarm-title[b-nzt1glr0tr] {
    font-size: 32px;
    font-weight: 700;
    color: #FFD43B;
    margin: 0;
    line-height: 1.2;
}

.breadcrumb[b-nzt1glr0tr] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9CA3AF;
}

.breadcrumb-item[b-nzt1glr0tr] {
    color: #9CA3AF;
    transition: color 0.2s;
}

.breadcrumb-item.first[b-nzt1glr0tr] {
    color: #02F300;
    font-weight: 500;
}

.breadcrumb-item.active[b-nzt1glr0tr] {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-separator[b-nzt1glr0tr] {
    color: #6B7280;
}

/* Main Card */
.main-card[b-nzt1glr0tr] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 32px;
}

.card-header[b-nzt1glr0tr] {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #374151;
}

.card-title[b-nzt1glr0tr] {
    color: #FFD43B;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-subtitle[b-nzt1glr0tr] {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin: 0;
}

.card-content[b-nzt1glr0tr] {
    padding: 24px;
}

/* Form Grid - Two Column Layout */
.form-grid[b-nzt1glr0tr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .form-grid[b-nzt1glr0tr] {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.form-column[b-nzt1glr0tr] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group[b-nzt1glr0tr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-nzt1glr0tr] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-input[b-nzt1glr0tr],
.form-select[b-nzt1glr0tr],
.form-textarea[b-nzt1glr0tr] {
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 14px;
    background: #1F2937;
    color: var(--text-primary);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus[b-nzt1glr0tr],
.form-select:focus[b-nzt1glr0tr],
.form-textarea:focus[b-nzt1glr0tr] {
    outline: none;
    border-color: #FFD43B;
    box-shadow: 0 0 0 3px rgba(255, 212, 59, 0.1);
    background: #1E293B;
}

.form-input[b-nzt1glr0tr]::placeholder,
.form-textarea[b-nzt1glr0tr]::placeholder {
    color: #9CA3AF;
}

.form-textarea[b-nzt1glr0tr] {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-actions[b-nzt1glr0tr] {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.btn-create[b-nzt1glr0tr] {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background: #10B981;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 120px;
}

.btn-create:hover[b-nzt1glr0tr] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-create:disabled[b-nzt1glr0tr] {
    background: #6B7280;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading States */
.loading-container[b-nzt1glr0tr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: #1E1E1E;
    border-radius: 1rem;
    padding: 2rem;
}

.loading-spinner[b-nzt1glr0tr] {
    width: 40px;
    height: 40px;
    border: 4px solid #374151;
    border-top: 4px solid #FFD43B;
    border-radius: 50%;
    animation: spin-b-nzt1glr0tr 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-nzt1glr0tr {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text[b-nzt1glr0tr] {
    color: #D1D5DB;
    font-size: 1rem;
    margin: 0;
}
/* _content/SumoWeb/Components/Modules/Cases/AlarmAndTicket/UpdateAlarmComponent.razor.rz.scp.css */
.update-alarm-container[b-b76a5j4ut9] {
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

/* Header Section */
.ticket-header[b-b76a5j4ut9] {
    margin-bottom: 32px;
}

.header-content-with-actions[b-b76a5j4ut9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.header-left[b-b76a5j4ut9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-actions[b-b76a5j4ut9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alarm-header[b-b76a5j4ut9] {
    margin-bottom: 32px;
}

.header-content[b-b76a5j4ut9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alarm-title[b-b76a5j4ut9] {
    font-size: 32px;
    font-weight: 700;
    color: #FFBF01;
    margin: 0;
    line-height: 1.2;
}

.breadcrumb[b-b76a5j4ut9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9CA3AF;
}

.breadcrumb-item[b-b76a5j4ut9] {
    color: var(--text-primary);
    transition: color 0.2s;
}

.breadcrumb-item.first[b-b76a5j4ut9] {
    color: #02F300;
    font-weight: 500;
}

.breadcrumb-item.active[b-b76a5j4ut9] {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-separator[b-b76a5j4ut9] {
    color: #6B7280;
}

/* Loading States */
.loading-container[b-b76a5j4ut9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
    padding: 2rem;
}

.loading-spinner[b-b76a5j4ut9] {
    width: 40px;
    height: 40px;
    border: 4px solid #374151;
    border-top: 4px solid #FFBF01;
    border-radius: 50%;
    animation: spin-b-b76a5j4ut9 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-b76a5j4ut9 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text[b-b76a5j4ut9] {
    color: #D1D5DB;
    font-size: 1rem;
    margin: 0;
}

/* Main Card */
.main-card[b-b76a5j4ut9] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 32px;
}

.card-header[b-b76a5j4ut9] {
    padding: 24px 24px 16px 24px;
    border-bottom: none;
}

.card-title[b-b76a5j4ut9] {
    color: #FFBF01;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-subtitle[b-b76a5j4ut9] {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin: 0;
}

.card-content[b-b76a5j4ut9] {
    padding: 24px;
    background: var(--bg-primary);
    border-radius: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

/* Form Grid - Two Column Layout */
.form-grid[b-b76a5j4ut9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .form-grid[b-b76a5j4ut9] {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.form-column[b-b76a5j4ut9] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group[b-b76a5j4ut9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-b76a5j4ut9] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-input[b-b76a5j4ut9],
.form-select[b-b76a5j4ut9],
.form-textarea[b-b76a5j4ut9] {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus[b-b76a5j4ut9],
.form-select:focus[b-b76a5j4ut9],
.form-textarea:focus[b-b76a5j4ut9] {
    outline: none;
    border-color: #0fa79a;
    box-shadow: none;
}

.form-input[b-b76a5j4ut9]::placeholder,
.form-textarea[b-b76a5j4ut9]::placeholder {
    color: #9CA3AF;
}

.form-textarea[b-b76a5j4ut9] {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-actions[b-b76a5j4ut9] {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
}

.btn-apply[b-b76a5j4ut9] {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background: #10B981;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 120px;
}

.btn-apply:hover[b-b76a5j4ut9] {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-apply:disabled[b-b76a5j4ut9] {
    background: #6B7280;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alarm-add-icon[b-b76a5j4ut9] {
    width: 24px;
    height: 24px;
}
.icon-btn[b-b76a5j4ut9] {
    background: var(--bg-primary);
    border: 1px solid #4B5563;
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}

.icon-btn-inner[b-b76a5j4ut9] { /* simple plus symbol styling (can replace with svg) */
    line-height: 1;
    transform: translateY(-1px);
}

.icon-btn:hover[b-b76a5j4ut9] {
    border-color: #0fa79a;
    background: #161d22;
    box-shadow: 0 0 0 2px rgba(15,167,154,0.15);
    transform: translateY(-2px);
}

.icon-btn:active[b-b76a5j4ut9] {
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(15,167,154,0.25);
}

@media (max-width: 640px) {
    .icon-btn[b-b76a5j4ut9] { width: 40px; height: 40px; font-size: 22px; }
}
/* _content/SumoWeb/Components/Modules/Cases/SetAlarm/SetAlarmHeader.razor.rz.scp.css */
.set-alarm-header[b-n598qt5wsk] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-n598qt5wsk] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-n598qt5wsk] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-n598qt5wsk]{
  display: flex;
}
.root-path[b-n598qt5wsk] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.name-path[b-n598qt5wsk] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-n598qt5wsk] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-n598qt5wsk] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-n598qt5wsk] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-n598qt5wsk] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-n598qt5wsk] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-n598qt5wsk] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-n598qt5wsk] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-n598qt5wsk] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .set-alarm-header[b-n598qt5wsk] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-n598qt5wsk] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-n598qt5wsk] {
    justify-content: center;
  }

  .header-filters[b-n598qt5wsk] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-n598qt5wsk] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-n598qt5wsk] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Dashboard/AcTwinCard.razor.rz.scp.css */
/* Tên nhà máy đang hiển thị, nằm giữa tiêu đề và link "View all".
   margin-left:auto đẩy nó (và link) về phía phải của .dash-card-head. */
.atc-plant[b-clvcm1mtkp] {
    flex: 0 1 auto;
    margin-left: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ACSingleLine là position:absolute + inset:0, nên khung này PHẢI đã được định vị và phải có
   chiều cao khác 0 — chiều cao đến từ hàng lưới của trang qua .dash-card (flex column).
   min-height:0 để thẻ không phình theo nội dung và phá tỷ lệ hàng. */
.atc-body[b-clvcm1mtkp] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 10px 10px;
    border-radius: 10px;
    overflow: hidden;
}

/* Nền sơ đồ là đen (do chính ACSingleLine đặt), giữ nguyên ở cả hai theme cho khớp với trang
   Digital Twin — chỉ bo góc lại cho hợp khung thẻ. */
.atc-body[b-clvcm1mtkp]  .digital-layout {
    border-radius: 10px;
}

/* Ở chế độ phóng to toàn màn hình thì component tự đặt position:fixed; bo góc lúc đó là thừa. */
.atc-body[b-clvcm1mtkp]  .digital-layout.zoom-out {
    border-radius: 0;
}
/* _content/SumoWeb/Components/Modules/Dashboard/AiDetectionSummary.razor.rz.scp.css */
.ai-demo-badge[b-sw88otwpl4] {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a8a29e;
    background: rgba(168, 162, 158, 0.16);
    border-radius: 999px;
    padding: 2px 8px;
}

.ai-grid[b-sw88otwpl4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 8px;
    padding: 2px 12px 12px;
    flex: 1 1 auto;
    min-height: 0;
}

.ai-tile[b-sw88otwpl4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    min-width: 0;
    min-height: 0;
}

.ai-icon[b-sw88otwpl4] {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ai-icon[b-sw88otwpl4]  .mud-icon-root {
    font-size: 18px;
}

.ai-value[b-sw88otwpl4] {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
}

.ai-label[b-sw88otwpl4] {
    font-size: 10.5px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.25;
}
/* _content/SumoWeb/Components/Modules/Dashboard/AlarmEventSummary.razor.rz.scp.css */
.as-counts[b-indmewtgkv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 12px 8px;
    flex: 0 0 auto;
}

.as-count[b-indmewtgkv] {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    text-align: center;
}

.as-count-value[b-indmewtgkv] {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.as-count--active .as-count-value[b-indmewtgkv] { color: #ef4444; }
.as-count--restored .as-count-value[b-indmewtgkv] { color: #22c55e; }

.as-count-label[b-indmewtgkv] {
    font-size: 10.5px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Hàng đếm theo priority: chip nhỏ, xuống dòng khi thẻ hẹp thay vì tràn ngang. */
.as-levels[b-indmewtgkv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 0 12px 8px;
    flex: 0 0 auto;
    font-size: 11.5px;
    color: var(--text-secondary);
}

.as-level[b-indmewtgkv] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.as-level b[b-indmewtgkv] {
    color: var(--text-primary);
    font-weight: 600;
}

.as-level-dot[b-indmewtgkv] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.as-badge[b-indmewtgkv] {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.as-time[b-indmewtgkv] {
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
}

/* Tên alarm là cột dễ dài nhất — cắt bớt để bảng không đẩy thẻ giãn ra.
   max-width bắt buộc đi kèm text-overflow trong ô bảng, nếu không ellipsis không có tác dụng. */
.as-name[b-indmewtgkv] {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cột cuối ăn phần bề ngang CÒN LẠI rồi cắt "…" (mẹo width:100% + max-width:0), nên bảng
   không bao giờ rộng hơn thẻ — trước đây cột này đẩy bảng tràn ~60px và hiện thanh cuộn ngang.
   Thẻ rộng hơn (màn lớn) thì cột tự nở ra hiện đủ. */
.as-source[b-indmewtgkv] {
    width: 100%;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}
/* _content/SumoWeb/Components/Modules/Dashboard/FleetHealthSummary.razor.rz.scp.css */
/* Xếp DỌC: donut trên, chú giải dưới.
   Thẻ ở dạng đứng (khoảng 358 rộng x 390 cao sau khi hàng lưới cao lên 430px), nên nếu để
   donut và chú giải cạnh nhau thì bề ngang là ràng buộc: donut chỉ được ~150px và nửa dưới thẻ
   bỏ trống, mà nới donut ra thì nhãn "Disconnected" bị cắt. Xếp dọc thì donut lấy được ~210px
   và chú giải có cả bề ngang thẻ. */
.fh-body[b-ljlx5npjqe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3cqh, 20px);
    padding: 2px 14px 12px;
    flex: 1 1 auto;
    /* Mốc đo cho cqw/cqh bên dưới: donut và cỡ chữ đều bám theo khung THẺ, không phải
       khung cửa sổ. */
    container-type: size;
    /* Donut vẫn ăn phần chiều cao CÒN LẠI sau khi trừ .fh-foot (flex:0 0 auto).
       min-height BẮT BUỘC phải khác 0 khi đã có container-type:size.
       Size containment nghĩa là NỘI DUNG KHÔNG đóng góp vào chiều cao của chính khối này.
       Trên màn dưới 1500px (hoặc thấp dưới 760px) .dash-page bỏ grid-template-rows và hàng
       tự co theo nội dung — lúc đó khối này sẽ cao đúng 0 và donut biến mất. Con số dưới đây
       là sàn cho trường hợp đó; màn cao hơn thì flex-grow vẫn kéo nó lớn ra như thường. */
    min-height: 200px;
}

/* Donut lớn theo thẻ thay vì bị chốt cứng 140px (MOM 18/08/2026, mục 6: "cân đối lại kích
   thước biểu đồ").
   min() chọn cạnh CHẬT HƠN: 62cqh chừa chỗ cho chú giải bên dưới, 78cqw cho thẻ hẹp — có cả
   hai thì hình tròn không bao giờ tràn ra khỏi thẻ, cũng không bỏ trống nửa thẻ như trước. */
.fh-donut[b-ljlx5npjqe] {
    position: relative;
    flex: 0 0 auto;
    width: min(62cqh, 78cqw, 250px);
    aspect-ratio: 1;
    min-width: 110px;
}

.fh-svg[b-ljlx5npjqe] {
    width: 100%;
    height: 100%;
    display: block;
}

.fh-track[b-ljlx5npjqe] {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 14;
}

.fh-center[b-ljlx5npjqe] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Chữ ở giữa donut là HTML đè lên SVG nên KHÔNG tự co theo hình — phải cho nó bám
   chiều cao thẻ bằng cqh, nếu không donut lớn ra mà con số vẫn bé tí. */
.fh-total[b-ljlx5npjqe] {
    font-size: clamp(24px, 11cqh, 46px);
    font-weight: 600;
    line-height: 1;
    color: var(--text-primary);
}

.fh-caption[b-ljlx5npjqe] {
    margin-top: 2px;
    font-size: clamp(10.5px, 4cqh, 14px);
    color: var(--text-secondary);
    text-align: center;
}

/* Chú giải: lưới 2x2 cố định, KHÔNG dùng flex-wrap.
   Với flex-wrap thì bốn mục vừa đúng gần hết bề ngang nên chúng rơi thành 3+1 lệch một bên, và
   ranh giới đó còn đổi theo ngôn ngữ (nhãn tiếng Việt dài hơn tiếng Anh). Lưới 2 cột thì luôn
   là 2x2 ở mọi ngôn ngữ. */
.fh-legend[b-ljlx5npjqe] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    column-gap: clamp(14px, 5cqw, 26px);
    row-gap: clamp(6px, 2.5cqh, 10px);
    min-width: 0;
}

.fh-legend-item[b-ljlx5npjqe] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    font-size: clamp(12px, 4cqh, 14.5px);
    color: var(--text-secondary);
    white-space: nowrap;
}

.fh-dot[b-ljlx5npjqe] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.fh-count[b-ljlx5npjqe] {
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.fh-label[b-ljlx5npjqe] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Thanh trạng thái biến tần, dưới donut ----
   flex:0 0 auto để nó KHÔNG ăn vào chiều cao của .fh-body ở trên (donut co theo phần còn lại). */
.fh-foot[b-ljlx5npjqe] {
    flex: 0 0 auto;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--border-light);
    margin: 0 14px;
    /* Mốc riêng cho container query ở cuối file. KHÔNG dựa vào container-type của .fh-body:
       footer là anh em của khối đó, không phải con, nên truy vấn sẽ không bao giờ khớp.
       inline-size chứ không phải size: footer cao theo nội dung, chốt cả chiều cao là nó
       tự sập về 0. */
    container-type: inline-size;
}

.fh-foot-label[b-ljlx5npjqe] {
    font-size: 11.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cột định nghĩa MỘT LẦN ở đây, các dòng dùng subgrid: trước đây mỗi dòng là một lưới riêng
   có cột số "auto", nên "172/283" và "5/283" rộng khác nhau đẩy thanh và cột % lệch nhau giữa
   các dòng. Nay nhãn / thanh / số / % mỗi thứ thẳng một cột (09/10/2026). */
.fh-inv[b-ljlx5npjqe] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px max-content max-content;
    column-gap: 8px;
    row-gap: 7px;
}

/* Mỗi trạng thái MỘT dòng: nhãn | thanh | số | %. Từ 07/10/2026 có năm trạng thái (thêm
   Power limited); kiểu cũ nhãn-trên-thanh-dưới cần ~250px và đẩy thẻ cao 480px trong hàng 430px,
   thanh "Off" bị cắt mất. .fh-inv-heading dùng display:contents để ba ô của nó thành ô lưới
   ngang hàng với thanh; `order` đưa thanh vào giữa (order chỉ sắp trong từng dòng subgrid). */
.fh-inv-cell[b-ljlx5npjqe] {
    min-width: 0;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
}

.fh-inv-heading[b-ljlx5npjqe] {
    display: contents;
}

.fh-inv-label[b-ljlx5npjqe] { order: 0; }
.fh-inv-bar[b-ljlx5npjqe] { order: 1; }
.fh-inv-value[b-ljlx5npjqe] { order: 2; text-align: right; }
.fh-inv-pct[b-ljlx5npjqe] { order: 3; }

.fh-inv-label[b-ljlx5npjqe] {
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fh-inv-value[b-ljlx5npjqe] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.fh-inv-count[b-ljlx5npjqe] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.fh-inv-total[b-ljlx5npjqe],
.fh-inv-pct[b-ljlx5npjqe] {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.fh-inv-pct[b-ljlx5npjqe] {
    text-align: right;
}

.fh-inv-bar[b-ljlx5npjqe] {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border: 0;
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-tertiary, #252b2d);
    color: var(--inv-color);
}

.fh-inv-bar[b-ljlx5npjqe]::-webkit-progress-bar {
    background: var(--bg-tertiary, #252b2d);
    border-radius: 3px;
}

.fh-inv-bar[b-ljlx5npjqe]::-webkit-progress-value {
    background: var(--inv-color);
    border-radius: 3px;
}

.fh-inv-bar[b-ljlx5npjqe]::-moz-progress-bar {
    background: var(--inv-color);
    border-radius: 3px;
}
/* _content/SumoWeb/Components/Modules/Dashboard/FleetMapCard.razor.rz.scp.css */
.fmc-body[b-l4s5l7x76p] {
    /* Mốc định vị cho chú giải nhúng của MapComponent (position:absolute). */
    position: relative;
    flex: 1 1 auto;
    /* min-height:0 để bản đồ co theo chiều cao hàng của lưới trang; chiều cao thực do
       .dash-page cấp qua minmax() nên Leaflet vẫn đo được một giá trị khác 0. */
    min-height: 0;
    margin: 0 10px 10px;
    border-radius: 10px;
    overflow: hidden;
}

/* Nút "về khung nhìn gốc" ở góc phải tiêu đề thẻ. Cùng hình thức với .lt-nav của Live Trend
   để hai thẻ cạnh nhau không lệch kiểu. */
.fmc-reset[b-l4s5l7x76p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.fmc-reset:hover[b-l4s5l7x76p] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.fmc-reset:focus-visible[b-l4s5l7x76p] {
    outline: 2px solid #6aa9ff;
    outline-offset: 1px;
}
/* _content/SumoWeb/Components/Modules/Dashboard/KpiStrip.razor.rz.scp.css */
/* Bảy thẻ chỉ số, dàn đều. auto-fit + minmax để khi cửa sổ hẹp thì chúng tự xuống hàng
   thay vì bị bóp lại đến mức không đọc được con số. */
.kpi-strip[b-9odttm85pq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.kpi-card[b-9odttm85pq] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    min-width: 0;
}

.kpi-card--link[b-9odttm85pq] {
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.kpi-card--link:hover[b-9odttm85pq] {
    background: var(--bg-hover);
    border-color: var(--border-medium);
}

.kpi-card--link:focus-visible[b-9odttm85pq] {
    outline: 2px solid #6aa9ff;
    outline-offset: 2px;
}

.kpi-ico[b-9odttm85pq] {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
}

.kpi-ico[b-9odttm85pq]  .mud-icon-root {
    font-size: 22px;
}

/* Màu nền của ô biểu tượng — dùng nền mờ cùng tông với màu chữ để đọc được ở cả hai theme. */
.kpi-ico--power[b-9odttm85pq] { background: rgba(96, 165, 250, 0.18); color: #60a5fa; }
.kpi-ico--energy[b-9odttm85pq] { background: rgba(250, 204, 21, 0.18); color: #facc15; }
.kpi-ico--pr[b-9odttm85pq] { background: rgba(45, 212, 191, 0.18); color: #2dd4bf; }
.kpi-ico--avail[b-9odttm85pq] { background: rgba(34, 197, 94, 0.18); color: #22c55e; }
.kpi-ico--alarm[b-9odttm85pq] { background: rgba(239, 68, 68, 0.18); color: #ef4444; }
.kpi-ico--ticket[b-9odttm85pq] { background: rgba(168, 162, 158, 0.18); color: #a8a29e; }
.kpi-ico--weather[b-9odttm85pq] { background: rgba(251, 146, 60, 0.18); color: #fb923c; }

.kpi-body[b-9odttm85pq] {
    min-width: 0;
    flex: 1 1 auto;
}

/* Cho phép xuống dòng thay vì cắt cụt: bảy thẻ chia đều một hàng nên nhãn dài như
   "PERFORMANCE RATIO" không đủ chỗ trên một dòng. min-height giữ cho con số ở cả bảy thẻ
   vẫn thẳng hàng dù nhãn một hay hai dòng. */
.kpi-name[b-9odttm85pq] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
    min-height: 2.5em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-end;
}

.kpi-figure[b-9odttm85pq] {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    white-space: nowrap;
}

.kpi-figure--alarm[b-9odttm85pq] {
    color: #ef4444;
}

.kpi-unit[b-9odttm85pq] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 4px;
}

.kpi-sub[b-9odttm85pq] {
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-chip[b-9odttm85pq] {
    display: inline-block;
    margin-right: 6px;
}

.kpi-chip--high[b-9odttm85pq] { color: #ef4444; }
.kpi-chip--med[b-9odttm85pq] { color: #f59e0b; }
/* _content/SumoWeb/Components/Modules/Dashboard/LiveTrendCompact.razor.rz.scp.css */
.lt-tabs[b-3897o7jxau] {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
}

.lt-tab[b-3897o7jxau] {
    border: none;
    background: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
}

.lt-tab:hover[b-3897o7jxau] { background: var(--bg-hover); }

.lt-tab.is-active[b-3897o7jxau] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

.lt-tab:focus-visible[b-3897o7jxau] {
    outline: 2px solid #6aa9ff;
    outline-offset: 1px;
}

/* Cụm chọn ngày nằm bên phải thanh tiêu đề, sau các tab. */
.lt-date[b-3897o7jxau] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    margin-left: auto;
}

.lt-nav[b-3897o7jxau] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.lt-nav:hover:not(:disabled)[b-3897o7jxau] { background: var(--bg-hover); }

.lt-nav:disabled[b-3897o7jxau] {
    opacity: .35;
    cursor: default;
}

.lt-date-input[b-3897o7jxau] {
    height: 24px;
    padding: 0 6px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 11.5px;
}

.lt-body[b-3897o7jxau] {
    flex: 1 1 auto;
    padding: 2px 10px 10px;
    min-width: 0;
    min-height: 0;
}

/* Chart.js cần phần tử cha có chiều cao XÁC ĐỊNH, không thì canvas cao 0. Ở đây chiều cao
   đến từ hàng lưới của trang, truyền xuống qua chuỗi height:100%. */
.lt-body[b-3897o7jxau]  .area-chart-container {
    position: relative;
    height: 100%;
}

.lt-body[b-3897o7jxau]  canvas {
    width: 100% !important;
    height: 100% !important;
}
/* _content/SumoWeb/Components/Modules/Dashboard/MaintenanceSummary.razor.rz.scp.css */
.ms-row[b-v94sjmbt6a] {
    cursor: pointer;
}

.ms-task[b-v94sjmbt6a] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-plant[b-v94sjmbt6a] {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}

.ms-due[b-v94sjmbt6a] {
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
}

/* Quá hạn: Ticket.IsOverdue đã loại ticket đã đóng nên chỉ tô những việc thật sự trễ. */
.ms-due.is-overdue[b-v94sjmbt6a] {
    color: #ef4444;
    font-weight: 600;
}
/* _content/SumoWeb/Components/Modules/Dashboard/PlantStatusSummary.razor.rz.scp.css */
/* Ô tìm nhà máy trên đầu thẻ. Cùng hình thức với ô lọc của bảng Plant Status bên Live
   Overview, nhưng thu nhỏ cho vừa thanh tiêu đề của thẻ dashboard. */
.pss-search[b-k4p8yytjlu] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 220px;
    margin-left: auto;
    padding: 0 8px;
    height: 28px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    /* Nền HOÀ vào thẻ (chủ dự án chốt 2026-09-05). Viền thì giữ, bỏ nốt là mất hẳn dấu hiệu
       đây là ô nhập. */
    background: transparent;
}

.pss-search-icon[b-k4p8yytjlu] {
    width: 14px;
    height: 14px;
    opacity: .7;
    flex: 0 0 auto;
}

.pss-search-input[b-k4p8yytjlu] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 12px;
}

/* TableCommon mang sẵn thanh công cụ và phân trang của riêng nó; ở đây tiêu đề đã nằm trên
   đầu thẻ nên phải ẩn thanh công cụ, nếu không thẻ bị đội cao thêm một khoảng trống. */
.pss-table[b-k4p8yytjlu] {
    /* Lề dưới 2px chứ không 6px: dòng cao 45px (lề dọc của TableCommon) + phân trang vừa
       KHÍT chiều cao thẻ, thừa ra 1px là .dash-scroll đẻ ngay thanh cuộn dọc. Đo trên trang
       thật 2026-09-09. */
    padding: 0 8px 2px;
}

.pss-table[b-k4p8yytjlu]  .table-toolbar {
    display: none;
}

.pss-table[b-k4p8yytjlu]  .data-table {
    width: 100%;
    /* Bảy cột: dưới ngưỡng này thì .dash-scroll cho cuộn ngang TRONG thẻ, thay vì đẩy cả
       trang bị cuộn ngang. Hạ từ 700px xuống 660px cùng với việc bóp lề ngang của ô bên dưới
       — xem chú thích ở đó. */
    min-width: 660px;
}

/* Lề NGANG hẹp hơn mặc định của TableCommon (16px): bảy cột trong một thẻ dashboard chật hơn
   nhiều so với bảng cùng loại chiếm cả trang bên Live Overview. Ở 16px, bảng cần đúng 714px
   trong khi thẻ chỉ rộng 740px — dư 8px, hụt ngay khi cửa sổ hẹp lại một chút là bảng lại
   cuộn ngang và cắt cụt cột cuối (đúng lỗi đã gặp 2026-09-09). Ở 12px chỗ cần chỉ còn ~658px,
   bảng giãn đều ra kín thẻ và còn dư chỗ thở.
   Lề DỌC giữ nguyên 12px — chiều cao dòng không đổi. */
.pss-table[b-k4p8yytjlu]  .table-header,
.pss-table[b-k4p8yytjlu]  .table-cell {
    padding-left: 12px;
    padding-right: 12px;
}

/* Căn giữa toàn bộ tiêu đề lẫn dữ liệu (MOM 18/08/2026, mục 8).
   .header-content.column phải override riêng: TableCommon đặt align-items:flex-start cho nó,
   để nguyên thì tên cột dạt trái trong khi con số bên dưới nằm giữa. */
.pss-table[b-k4p8yytjlu]  .table-cell,
.pss-table[b-k4p8yytjlu]  .table-header {
    white-space: nowrap;
    text-align: center;
}

.pss-table[b-k4p8yytjlu]  .header-content.column {
    align-items: center;
}

.pss-table[b-k4p8yytjlu]  .th-icon-group {
    justify-content: center;
}

/* Tên nhà máy là nút trỏ bản đồ, nhưng phải trông như chữ thường trong bảng. */
.pss-table[b-k4p8yytjlu]  .pss-plant-btn {
    padding: 0;
    border: none;
    background: none;
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
}

.pss-table[b-k4p8yytjlu]  .pss-plant-btn:hover {
    color: #6aa9ff;
    text-decoration: underline;
}

.pss-table[b-k4p8yytjlu]  .pagination-container {
    padding-top: 4px;
}
/* _content/SumoWeb/Components/Modules/Dashboard/PortfolioDetailCard.razor.rz.scp.css */
.pd-body[b-wtfzejoe3g] {
    padding: 2px 12px 12px;
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    min-width: 0;
    overflow: hidden;
    /* Mốc đo cho cqw/cqh bên dưới. */
    container-type: size;
    /* Xem chú thích cùng chỗ ở FleetHealthSummary.razor.css: có container-type:size thì
       min-height:0 làm khối cao 0 mỗi khi hàng lưới của trang co theo nội dung. */
    min-height: 240px;
}

/* EnergyFlowDiagram mặc định co theo BỀ RỘNG (width:100%, height:auto). Trong bố cục vừa
   một màn hình thì chiều cao mới là ràng buộc, nên phải chọn cạnh nào chật hơn — đó là việc
   của min(100cqw, ...) dưới đây.
 *
 * PHẢI giữ ĐÚNG tỷ lệ khung của viewBox ("110 90 980 725" -> 980/725): các ô giá trị là HTML
 * đặt theo % của .ef-root chứ không nằm trong SVG, nên khung méo một chút là chúng rời khỏi
 * vị trí trên hình vẽ. */
.pd-body[b-wtfzejoe3g]  .ef-root {
    aspect-ratio: 980 / 725;
    width: min(100cqw, calc(100cqh * 980 / 725));
    height: auto;
}

/* Ẩn cột số liệu khí tượng của sơ đồ (bức xạ / nhiệt độ môi trường / nhiệt độ tấm pin).
 *
 * 2026-08-19: đã THỬ hiện lại theo MOM 18/08 mục 9 ("dữ liệu tương tự Live Overview") rồi
 * BỎ, vì đo trên trang thật thấy chip đè lên hình. Lý do là hình học, không phải cỡ chữ:
 * .ef-stack rộng ~121px CỐ ĐỊNH và neo ở góc phải, còn ô "0 kW" của nhánh Solar nằm ở 68,8%
 * bề ngang — hai khối chỉ hết chồng nhau khi sơ đồ rộng hơn ~565px, tức thẻ phải chiếm gần
 * nửa hàng và Live Trend teo lại tương ứng. Ba con số đó đã có nguyên vẹn ở thẻ WEATHER
 * cùng trang, nên ẩn ở đây không mất dữ liệu nào.
 * Muốn hiện lại thì phải nới thẻ lên ~600px trước, đừng chỉ xoá khối này.
 *
 * Vẫn truyền tham số cho EnergyFlowDiagram (không sửa component dùng chung), chỉ ẩn bằng CSS
 * trong phạm vi thẻ này. */
.pd-body[b-wtfzejoe3g]  .ef-stack {
    display: none;
}

/* Chữ trong các ô giá trị KHÔNG co theo khung (chúng là HTML đè lên SVG, không phải SVG),
   nên phải đặt cỡ tay — nay khung lớn hơn bản 2026-08-14 nên nhích lên cho dễ đọc. */
.pd-body[b-wtfzejoe3g]  .ef-chip {
    font-size: 10px;
    padding: 2px 6px;
    gap: 4px;
}

.pd-body[b-wtfzejoe3g]  .ef-value {
    font-size: 13px;
}

.pd-body[b-wtfzejoe3g]  .ef-cap {
    font-size: 10px;
}
/* _content/SumoWeb/Components/Modules/Dashboard/WeatherSummary.razor.rz.scp.css */
.ws-metrics[b-7qm1r7a8bk] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    padding: 0 12px 8px;
    flex: 0 0 auto;
}

.ws-metric[b-7qm1r7a8bk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    min-width: 0;
}

.ws-metric[b-7qm1r7a8bk]  .ws-icon {
    font-size: 20px;
    flex: 0 0 auto;
}

.ws-metric[b-7qm1r7a8bk]  .ws-icon--irr { color: #facc15; }
.ws-metric[b-7qm1r7a8bk]  .ws-icon--temp { color: #fb923c; }
.ws-metric[b-7qm1r7a8bk]  .ws-icon--hum { color: #60a5fa; }
.ws-metric[b-7qm1r7a8bk]  .ws-icon--wind { color: #2dd4bf; }

.ws-value[b-7qm1r7a8bk] {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    white-space: nowrap;
}

.ws-unit[b-7qm1r7a8bk] {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 3px;
}

.ws-label[b-7qm1r7a8bk] {
    font-size: 10.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-src[b-7qm1r7a8bk] {
    color: var(--text-secondary);
    opacity: 0.75;
}

.ws-forecast-head[b-7qm1r7a8bk] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 0 14px 4px;
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.ws-forecast-empty[b-7qm1r7a8bk] {
    padding-top: 0;
}

.ws-days[b-7qm1r7a8bk] {
    display: flex;
    gap: 7px;
    padding: 0 12px 12px;
}

.ws-day[b-7qm1r7a8bk] {
    flex: 1 1 0;
    min-width: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 6px 4px;
    border-radius: 8px;
    background: var(--bg-tertiary);
}

.ws-day-name[b-7qm1r7a8bk] {
    font-size: 10.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Không dùng ::deep: hình thời tiết là thẻ <svg> do chính component này vẽ, nên nó có sẵn
   thuộc tính scoped-css. Kích thước đặt bằng width/height chứ không phải font-size như hồi
   còn dùng MudIcon. */
.ws-day-icon[b-7qm1r7a8bk] {
    width: 26px;
    height: 26px;
    display: block;
    margin: 2px 0;
}

.ws-day-temp[b-7qm1r7a8bk] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
}

.ws-day-min[b-7qm1r7a8bk] {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.1;
}
/* _content/SumoWeb/Components/Modules/Devices/DeviceHeader.razor.rz.scp.css */
/* Cùng ngôn ngữ thị giác với ProjectGeneralHeader, nhưng cho phép xuống hàng ở màn hẹp
   thay vì ép chiều cao cố định — tiêu đề thiết bị dài hơn tiêu đề trang tổng quan. */
.device-header[b-osvvdmfjut] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1vw;
    box-sizing: border-box;
}

.header-left[b-osvvdmfjut] {
    flex: 1 1 320px;
    min-width: 0;
}

.page-title[b-osvvdmfjut] {
    font-size: 38px;
    font-weight: bold;
    color: #ffbf01;
    margin: 0 0 0.5vw 0;
    font-family: "Poppins", sans-serif;
}

.header-actions[b-osvvdmfjut] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75vw;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .page-title[b-osvvdmfjut] { font-size: 26px; }
}
/* _content/SumoWeb/Components/Modules/Devices/InverterMetricCards.razor.rz.scp.css */
/* Tab chọn inverter — cùng hình thức với .pm-meter-tab của PowerMeterCharts (CSS scoped không
   dùng chung được nên chép lại). */
.inv-tabs[b-5w3i46qi09] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.inv-tab[b-5w3i46qi09] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.inv-tab:hover:not(.active)[b-5w3i46qi09] { background: var(--bg-hover); }

.inv-tab.active[b-5w3i46qi09] {
    color: var(--text-primary);
    border-color: #22c55e;
    background: rgba(34, 197, 94, .14);
}

.inv-tab-dot[b-5w3i46qi09] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.inv-current[b-5w3i46qi09] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.inv-current-name[b-5w3i46qi09] {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.inv-current-meta[b-5w3i46qi09] {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== Đầu vào DC: MPPT (PV{i}) và chuỗi (String{i}) =====
   Một hàng điện áp + một hàng dòng điện, mỗi cột một đầu vào; nhiều đầu vào thì kéo ngang. */
.inv-dc[b-5w3i46qi09] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.inv-dc-title[b-5w3i46qi09] {
    margin: 4px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.inv-dc-scroll[b-5w3i46qi09] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--chart-container-bg);
    scrollbar-width: thin;
}

.inv-dc-table[b-5w3i46qi09] {
    min-width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.inv-dc-table th[b-5w3i46qi09],
.inv-dc-table td[b-5w3i46qi09] {
    padding: 8px 12px;
    white-space: nowrap;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.inv-dc-table tbody tr:last-child th[b-5w3i46qi09],
.inv-dc-table tbody tr:last-child td[b-5w3i46qi09] {
    border-bottom: none;
}

.inv-dc-table thead th[b-5w3i46qi09] {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Cột nhãn ghim trái khi kéo ngang. */
.inv-dc-table th:first-child[b-5w3i46qi09] {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--chart-container-bg);
    box-shadow: 1px 0 0 var(--border-color);
}

.inv-dc-unit[b-5w3i46qi09] {
    font-size: 11px;
}
/* _content/SumoWeb/Components/Modules/Devices/PowerMeterCharts.razor.rz.scp.css */
.pm-trend-header[b-ehnyoy10ea] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

/* Tab chọn đồng hồ — mỗi tab là một Daily trend riêng bên dưới. */
.pm-meter-tabs[b-ehnyoy10ea] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.pm-meter-tab[b-ehnyoy10ea] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.pm-meter-tab:hover:not(.active)[b-ehnyoy10ea] { background: var(--bg-hover); }

.pm-meter-tab.active[b-ehnyoy10ea] {
    color: var(--text-primary);
    border-color: #22c55e;
    background: rgba(34, 197, 94, .14);
}

.pm-meter-panel[b-ehnyoy10ea] {
    width: 100%;
}

    .pm-meter-panel[hidden][b-ehnyoy10ea] {
        display: none !important;
    }
/* _content/SumoWeb/Components/Modules/Devices/Trend/DeviceTrendChart.razor.rz.scp.css */
.trend-card[b-lviawwe1i5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--chart-container-bg);
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.trend-toolbar[b-lviawwe1i5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.trend-toolbar-left[b-lviawwe1i5] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.trend-toolbar-right[b-lviawwe1i5] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.trend-number[b-lviawwe1i5] {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}

/* ---------- ô chọn trường ---------- */

.trend-picker[b-lviawwe1i5] {
    position: relative;
}

.trend-picker-btn[b-lviawwe1i5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

    .trend-picker-btn:hover[b-lviawwe1i5],
    .trend-picker-btn.open[b-lviawwe1i5] {
        border-color: #22c55e;
    }

.trend-picker-count[b-lviawwe1i5] {
    min-width: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(34, 197, 94, .18);
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.trend-picker-backdrop[b-lviawwe1i5] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.trend-picker-menu[b-lviawwe1i5] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 41;
    width: min(340px, calc(100vw - 32px));
    max-height: 380px;
    overflow-y: auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.trend-picker-head[b-lviawwe1i5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
}

.trend-link[b-lviawwe1i5] {
    border: none;
    background: none;
    padding: 0;
    color: var(--text-secondary);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

    .trend-link:hover[b-lviawwe1i5] {
        color: var(--text-primary);
    }

.trend-picker-group[b-lviawwe1i5] {
    padding: 6px 0;
}

/* Không viết hoa: đơn vị phân biệt hoa thường (kW, kVAr, cosφ). */
.trend-picker-unit[b-lviawwe1i5] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.trend-picker-item[b-lviawwe1i5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 2px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
}

    .trend-picker-item input[b-lviawwe1i5] {
        accent-color: #22c55e;
        cursor: pointer;
    }

    .trend-picker-item.locked[b-lviawwe1i5] {
        opacity: .4;
        cursor: not-allowed;
    }

        .trend-picker-item.locked input[b-lviawwe1i5] {
            cursor: not-allowed;
        }

/* ---------- chip trường đang chọn ---------- */

.trend-chips[b-lviawwe1i5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.trend-chip[b-lviawwe1i5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 4px 0 10px;
    border-radius: 13px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 12px;
    white-space: nowrap;
}

.trend-chip-dot[b-lviawwe1i5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.trend-chip-unit[b-lviawwe1i5] {
    color: var(--text-secondary);
}

.trend-chip-x[b-lviawwe1i5] {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

    .trend-chip-x:hover[b-lviawwe1i5] {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

/* ---------- chọn ngày — cùng kiểu .pm-date-picker / Live Trend ---------- */

.trend-date[b-lviawwe1i5] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

    .trend-date input[b-lviawwe1i5] {
        background: transparent;
        border: none;
        outline: none;
        color: var(--text-primary);
        font-family: "Poppins", sans-serif;
        font-size: 13px;
    }

        .trend-date input[b-lviawwe1i5]::-webkit-calendar-picker-indicator {
            filter: var(--icon-filter);
            cursor: pointer;
        }

.trend-nav[b-lviawwe1i5],
.trend-remove[b-lviawwe1i5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
}

    .trend-nav:hover:not(:disabled)[b-lviawwe1i5],
    .trend-remove:hover[b-lviawwe1i5] {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

    .trend-nav:disabled[b-lviawwe1i5] {
        opacity: .35;
        cursor: default;
    }

.trend-remove[b-lviawwe1i5] {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

    .trend-remove:hover[b-lviawwe1i5] {
        border-color: #ef4444;
        color: #ef4444;
    }

.trend-host[b-lviawwe1i5] {
    width: 100%;
    height: 340px;
}

@media (max-width: 768px) {
    .trend-host[b-lviawwe1i5] {
        height: 300px;
    }

    .trend-toolbar-right[b-lviawwe1i5] {
        width: 100%;
        justify-content: space-between;
    }
}
/* _content/SumoWeb/Components/Modules/Devices/Trend/DeviceTrendPanel.razor.rz.scp.css */
.trend-panel[b-e5tb298lnb] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.trend-add[b-e5tb298lnb] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

    .trend-add:hover:not(:disabled)[b-e5tb298lnb] {
        border-color: #22c55e;
        background: rgba(34, 197, 94, .08);
    }

    .trend-add:disabled[b-e5tb298lnb] {
        opacity: .45;
        cursor: not-allowed;
    }

.trend-add-count[b-e5tb298lnb] {
    color: var(--text-secondary);
    font-size: 12px;
}
/* _content/SumoWeb/Components/Modules/Devices/WeatherStationPanel.razor.rz.scp.css */
.weather-trend-header[b-ljl8vlxnd5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

/* Cùng kiểu ô chọn ngày với FrequencyAndEfficiency để hai trang không lệch nhau. */
.weather-date-picker[b-ljl8vlxnd5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.weather-date-picker img[b-ljl8vlxnd5] {
    width: 18px;
    height: 18px;
    filter: var(--icon-filter);
}

.weather-date-picker input[b-ljl8vlxnd5] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* Lịch mặc định của Chrome là icon đen, chìm hẳn trên nền tối. */
.weather-date-picker input[b-ljl8vlxnd5]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    cursor: pointer;
}

/* Nút lùi/tiến một ngày — cùng hình thức với .lt-nav của Live Trend. */
.weather-nav[b-ljl8vlxnd5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.weather-nav:hover:not(:disabled)[b-ljl8vlxnd5] { background: var(--bg-hover); }

.weather-nav:disabled[b-ljl8vlxnd5] {
    opacity: .35;
    cursor: default;
}

.weather-chart-host[b-ljl8vlxnd5] {
    width: 100%;
    height: 380px;
}

@media (max-width: 768px) {
    .weather-chart-host[b-ljl8vlxnd5] { height: 300px; }
}
/* _content/SumoWeb/Components/Modules/GeneralLive/EventSummary/EventSummary.razor.rz.scp.css */
.event-summary-container[b-a29jiuyi9k] {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
}

.event-summary-title[b-a29jiuyi9k] {
    color: #FFBF01;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Collapsible header arrow styles */
.event-summary-header[b-a29jiuyi9k] { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.event-collapse-toggle[b-a29jiuyi9k] { background:transparent; color:#ffbf01; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; font-size:24px; line-height:1; }
.event-collapse-toggle:hover[b-a29jiuyi9k] { background:transparent; }
.event-collapse-toggle:focus[b-a29jiuyi9k] { outline:none; }
.event-arrow-icon[b-a29jiuyi9k] { display:inline-block; transition:transform .2s ease; font-size:32px; line-height:1; }

.event-carousel[b-a29jiuyi9k] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-cards-wrapper[b-a29jiuyi9k] {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.event-cards-wrapper[b-a29jiuyi9k]::-webkit-scrollbar {
    display: none;
}

.event-card[b-a29jiuyi9k] {
    min-width: 300px;
    max-width: 320px;
    min-height: 150px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    scroll-snap-align: start;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.event-card:hover[b-a29jiuyi9k] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.event-card.selected[b-a29jiuyi9k] {
    border-color: #2196F3;
}

.event-icon[b-a29jiuyi9k] {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Màu lấy inline từ AlarmPriorityDisplay.Color; ở đây chỉ làm mờ alarm đã phục hồi. */
.event-icon.recovered[b-a29jiuyi9k] {
    opacity: .45;
}

.event-content[b-a29jiuyi9k] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 40px;
}

.event-location[b-a29jiuyi9k] {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.event-description[b-a29jiuyi9k] {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.event-time[b-a29jiuyi9k] {
    color: #888888;
    font-size: 12px;
    font-style: italic;
    margin-top: 4px;
    font-family: 'Poppins', sans-serif;
}

.carousel-nav-btn[b-a29jiuyi9k] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.carousel-nav-btn:hover:not(:disabled)[b-a29jiuyi9k] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-nav-btn:disabled[b-a29jiuyi9k] {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn[b-a29jiuyi9k]  .mud-icon-root {
    font-size: 24px;
}

/* _content/SumoWeb/Components/Modules/GeneralLive/LiveTrend/ChartArea/ChartArea.razor.rz.scp.css */
.chart-area-card[b-bcnr07tr72] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.chart-area-header[b-bcnr07tr72] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-title[b-bcnr07tr72] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #facc15;
    letter-spacing: 0.02em;
}

.header-actions[b-bcnr07tr72] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button[b-bcnr07tr72] {
    width: 42px;
    height: 42px;
    border-radius: 20px;
    border: 1px solid #3f3f3f;
    background: var(--bg-active);
    color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-button:hover[b-bcnr07tr72] {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
}

.icon-button:active[b-bcnr07tr72] {
    transform: scale(0.96);
}

.chart-area-card[b-bcnr07tr72]  .area-chart-container {
    background: var(--bg-primary); /* Match other area chart inner background */
    padding: 0;
    border: none;
    border-radius: 12px;
}

.chart-area-card[b-bcnr07tr72]  canvas {
    background-color: transparent !important;
}

.chart-loading[b-bcnr07tr72] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #9CA3AF;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .chart-area-card[b-bcnr07tr72] {
        padding: 1.25rem;
    }

    .chart-area-header[b-bcnr07tr72] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-actions[b-bcnr07tr72] {
        width: 100%;
        justify-content: flex-start;
    }
}


/* _content/SumoWeb/Components/Modules/GeneralLive/LiveTrend/ChartLive/ChartLive.razor.rz.scp.css */
.chart-live-card[b-nuzmb4720z] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.chart-live-header[b-nuzmb4720z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-title[b-nuzmb4720z] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #facc15;
    letter-spacing: 0.02em;
}

.header-actions[b-nuzmb4720z] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button[b-nuzmb4720z] {
    width: 42px;
    height: 42px;
    border-radius: 20px;
    border: 1px solid #3f3f3f;
    background: var(--bg-active);
    color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-button:hover[b-nuzmb4720z] {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
}

.icon-button:active[b-nuzmb4720z] {
    transform: scale(0.96);
}

.chart-live-card[b-nuzmb4720z]  .line-chart-section {
    background: transparent;
    padding: 0;
}

.chart-live-card[b-nuzmb4720z]  .chart-container {
    background: transparent;
    padding: 0;
    border: none;
}

.chart-live-card[b-nuzmb4720z]  .chart-wrapper {
    background: transparent;
}

.chart-live-card[b-nuzmb4720z]  canvas {
    background-color: transparent !important;
}

.chart-live-card[b-nuzmb4720z]  .chart-title {
    color: #facc15;
}

.chart-live-card[b-nuzmb4720z]  .chart-caption {
    color: #d1d5db;
}

.chart-live-card[b-nuzmb4720z]  .legend {
    color: #e5e7eb;
}

.chart-loading[b-nuzmb4720z] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #9CA3AF;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .chart-live-card[b-nuzmb4720z] {
        padding: 1.25rem;
    }

    .chart-live-header[b-nuzmb4720z] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-actions[b-nuzmb4720z] {
        width: 100%;
        justify-content: flex-start;
    }
}


/* _content/SumoWeb/Components/Modules/GeneralLive/LiveTrend/HeaderLive.razor.rz.scp.css */
.live-header[b-j1fzhu3jun] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header-top[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-title[b-j1fzhu3jun] {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #FFBF01;
}

.status-indicator[b-j1fzhu3jun] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.header-controls[b-j1fzhu3jun] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tab-carousel-wrapper[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.carousel-nav-btn[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-active);
    border: 1px solid #3f3f3f;
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.carousel-nav-btn:hover:not(:disabled)[b-j1fzhu3jun] {
    border-color: #FFBF01;
    background: #343434;
    color: #FFBF01;
}

.carousel-nav-btn:disabled[b-j1fzhu3jun] {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn[b-j1fzhu3jun]  .mud-icon-root {
    font-size: 20px;
    color: inherit;
}

.carousel-nav-btn[b-j1fzhu3jun]  .mud-icon-root .mud-svg-icon {
    color: inherit;
    fill: currentColor;
}

.tab-group[b-j1fzhu3jun] {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    justify-content: flex-start;
    align-items: center;
}

.tab-group[b-j1fzhu3jun]::-webkit-scrollbar {
    display: none;
}

.tab-btn[b-j1fzhu3jun] {
    position: relative;
    padding: 8px 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn[b-j1fzhu3jun]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    border-radius: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.tab-btn:hover[b-j1fzhu3jun] {
    color: var(--text-primary);
}

.tab-btn:hover[b-j1fzhu3jun]::after {
    background: transparent;
}

.tab-btn.active[b-j1fzhu3jun] {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFBF01; /* yellow underline */
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

/* .tab-btn.active::after {
    background: #FFBF01;
} */

.right-controls[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.datetime-container[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.datetime-container img[b-j1fzhu3jun] {
    width: 18px;
    height: 18px;
}

.download-btn[b-j1fzhu3jun] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 20px;
    border: 1px solid #23282A;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.download-btn img[b-j1fzhu3jun] {
    width: 20px;
    height: 20px;
}

.download-btn:hover[b-j1fzhu3jun] {
    border-color: #06b975;
    background: rgba(6, 185, 117, 0.1);
}

/* Collapsible header styles */
.live-trend-header[b-j1fzhu3jun] { display:flex; align-items:center; gap:12px; }
.live-collapse-toggle[b-j1fzhu3jun] { background:transparent; color:#ffbf01; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; font-size:24px; line-height:1; }
.live-collapse-toggle:hover[b-j1fzhu3jun] { background:transparent; }
.live-collapse-toggle:focus[b-j1fzhu3jun] { outline:none; }
.live-arrow-icon[b-j1fzhu3jun] { display:inline-block; transition:transform .2s ease; font-size:32px; line-height:1; }


@media (max-width: 768px) {
    .header-controls[b-j1fzhu3jun] {
        flex-direction: column;
        align-items: flex-start;
    }

    .right-controls[b-j1fzhu3jun] {
        width: 100%;
    }
}


/* _content/SumoWeb/Components/Modules/GeneralLive/LiveTrend/LiveTrend.razor.rz.scp.css */
.live-trend-wrapper[b-haawk2mtrk] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
}


.sub-toggle-group[b-haawk2mtrk] {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.toggle-btn[b-haawk2mtrk] {
    min-width: 96px;
    padding: 10px 18px;
    background: #999898;
    border-radius: 999px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.toggle-btn:hover[b-haawk2mtrk] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.toggle-btn.active[b-haawk2mtrk] {
    background: #facc15;
    border-color: #facc15;
    color: #1a1a1a;
    font-weight: 600;
}

.content-area[b-haawk2mtrk] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* _content/SumoWeb/Components/Modules/GeneralLive/LiveTrend/Table/TableLive.razor.rz.scp.css */
.live-trend-container[b-12oshvgsdj] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: #1e1e1e;
    border-radius: 16px;
}

.sub-toggle-group[b-12oshvgsdj] {
    display: flex;
    gap: 12px;
}

.toggle-btn[b-12oshvgsdj] {
    min-width: 96px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid #3b3b3b;
    border-radius: 999px;
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.toggle-btn:hover[b-12oshvgsdj] {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-btn.active[b-12oshvgsdj] {
    background: #facc15;
    border-color: #facc15;
    color: #1a1a1a;
}

.table-content[b-12oshvgsdj] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.table-common-wrapper[b-12oshvgsdj] {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
}

/* .table-common-wrapper ::deep .table-toolbar {
    background: var(--bg-tertiary);
}

.table-common-wrapper ::deep .toolbar-title {
    color: #facc15;
    font-size: 1rem;
    font-weight: 600;
}

.table-common-wrapper ::deep .toolbar-subtitle {
    color: #cbd5f5;
}

.table-common-wrapper ::deep .toolbar-right {
    display: none;
}

.table-common-wrapper ::deep .data-table th,
.table-common-wrapper ::deep .data-table td {
    background: var(--bg-primary);
    color: #ededed;
}

.table-common-wrapper ::deep .data-table th {
    border-bottom: 1px solid #353535;
}

.table-common-wrapper ::deep .data-table td {
    border-bottom: 1px solid #2e2e2e;
}

.table-common-wrapper ::deep .data-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

.table-common-wrapper ::deep .pagination-container {
    background: var(--bg-tertiary);
    border-top: 1px solid #353535;
}

.table-common-wrapper ::deep .pagination-label,
.table-common-wrapper ::deep .page-range {
    color: #d1d5db;
}

.table-common-wrapper ::deep .pagination-page-size-select {
    background: #0F1419 !important;
    border: 1px solid #4b5563 !important;
    color: #f3f4f6 !important;
}

.table-common-wrapper ::deep .nav-btn {
    color: #d1d5db !important;
} */

.placeholder-card[b-12oshvgsdj] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: #9ca3af;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .live-trend-container[b-12oshvgsdj] {
        padding: 20px;
    }

    .sub-toggle-group[b-12oshvgsdj] {
        flex-wrap: wrap;
    }
}

/* _content/SumoWeb/Components/Modules/GeneralLive/PlantStatus/MiniAreaChart.razor.rz.scp.css */
.mini-area-chart-container[b-fudcae9fdj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    width: 100%;
    height: 100%;
    min-height: 60px;
    box-sizing: border-box;
}

.mini-area-chart-canvas[b-fudcae9fdj] {
    width: 100%;
    max-width: 120px;
    height: 35px;
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
}

.mini-chart-value[b-fudcae9fdj] {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    white-space: nowrap;
}

/* Ensure table cell allows proper alignment */
:deep(.table-cell)[b-fudcae9fdj] {
    vertical-align: middle;
}

/* _content/SumoWeb/Components/Modules/GeneralLive/PlantStatus/PlantStatus.razor.rz.scp.css */
.plant-status-container[b-xexmvlgqs4] {
    padding: 24px;
    margin: 16px 0;
}

.plant-status-title[b-xexmvlgqs4] {
    color: #FFBF01;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.plant-status-header[b-xexmvlgqs4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.collapse-toggle[b-xexmvlgqs4] {
    background: transparent;
    color: #ffbf01;
    border: none;
    width: auto;
    height: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

    .collapse-toggle:hover[b-xexmvlgqs4] {
        background: transparent;
    }

    .collapse-toggle:focus[b-xexmvlgqs4] {
        outline: none;
    }

.arrow-icon[b-xexmvlgqs4] {
    display: inline-block;
    transition: transform .2s ease;
    font-size: 32px;
    line-height: 1;
}

.plant-status-description[b-xexmvlgqs4] {
    color: #AAAAAA;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.table-wrapper[b-xexmvlgqs4] {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
}

/* Override TableCommon styles
.plant-status-container ::deep .table-common {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.plant-status-container ::deep .table-toolbar {
    background: transparent;
    padding: 0 0 12px 0;
}

.plant-status-container ::deep .toolbar-title {
    color: #FFBF01;
    font-size: 14px;
    font-weight: 600;
}

.plant-status-container ::deep .toolbar-subtitle {
    color: #ffbf01;
    font-size: 12px;
}

.plant-status-container ::deep .data-table {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
}

.plant-status-container ::deep .table-header {
    background: var(--bg-primary);
    color: #e5e7eb;
    border-bottom: 1px solid #3b3b3b;
    font-weight: 600;
    padding: 12px 16px;
}

.plant-status-container ::deep .table-cell {
    background: var(--bg-primary);
    color: #e5e7eb;
    border-bottom: 1px solid #0F1419;
    padding: 12px 16px;
}

.plant-status-container ::deep .table-row:hover {
    background: var(--bg-tertiary);
}

.plant-status-container ::deep .table-row:hover .table-cell {
    background: var(--bg-tertiary);
}

/* Search box styling */
.plant-status-container[b-xexmvlgqs4]  .table-search {
    background: var(--bg-tertiary);
    border: 1px solid #BBBDBE;
    border-radius: 20px;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

    .plant-status-container[b-xexmvlgqs4]  .table-search:focus {
        border-color: #02F300;
        outline: none;
        box-shadow: 0 0 0 3px rgba(2, 243, 0, 0.1);
    }

    .plant-status-container[b-xexmvlgqs4]  .table-search::placeholder {
        color: #a0a0a0;
    }

/* Pagination styling */
.plant-status-container[b-xexmvlgqs4]  .pagination-container {
    background: var(--bg-tertiary);
    padding: 16px 20px;
    color: #a0a0a0;
}

.plant-status-container[b-xexmvlgqs4]  .pagination-page-size-select {
    background: var(--bg-tertiary);
    border: 1px solid #c9c9c9;
    color: var(--text-primary);
    border-radius: 10px;
}

.plant-status-container[b-xexmvlgqs4]  .page-range {
    color: #a0a0a0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.plant-status-container[b-xexmvlgqs4]  .nav-btn {
    color: #a0a0a0;
}

    .plant-status-container[b-xexmvlgqs4]  .nav-btn:hover:not(:disabled) {
        background: #404040;
        color: var(--text-primary);
    }

/* Download button */
.plant-status-container[b-xexmvlgqs4]  .download-btn {
    background: transparent;
    border: 1px solid #BBBDBE;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

    .plant-status-container[b-xexmvlgqs4]  .download-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
    }

*/
/* Responsive */
@media (max-width: 768px)[b-xexmvlgqs4] {
    .plant-status-container

{
    padding: 16px;
}

.plant-status-title[b-xexmvlgqs4] {
    font-size: 20px;
}

.plant-status-subtitle[b-xexmvlgqs4] {
    font-size: 14px;
}

.plant-status-description[b-xexmvlgqs4] {
    font-size: 12px;
}
}

.mini-chart-value[b-xexmvlgqs4] {
    display: flex;
    justify-content: center; /* ngang */
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Căn giữa nội dung ô từ cột 2 (Communication Status) trở đi.
   Cột 1 "Plant Name" giữ căn trái vì tên dài ngắn khác nhau. */
.plant-status-container[b-xexmvlgqs4]  td.table-cell:nth-child(n+2) {
    text-align: center;
}

/* Căn giữa header từ cột 2 trở đi.
   LƯU Ý: .header-content.column là flex-direction:column nên trục ngang
   là cross-axis -> phải dùng align-items, KHÔNG phải justify-content. */
.plant-status-container[b-xexmvlgqs4]  th.table-header:nth-child(n+2) .header-content.column {
    align-items: center;
    text-align: center;
}

/* Ô tìm kiếm ở header, cùng hình dáng với ô của Portfolio.
   CSS phải chép sang đây chứ không dùng lại được: Portfolio.razor.css là scoped CSS,
   các luật của nó chỉ khớp phần tử mang scope attribute của Portfolio. */
.plant-status-filter[b-xexmvlgqs4] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto; /* đẩy sang mép phải, tách khỏi tiêu đề */
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 10px;
    height: 34px;
}

.plant-status-filter-icon[b-xexmvlgqs4] {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    filter: var(--icon-filter);
    flex: 0 0 auto;
}

.plant-status-filter-input[b-xexmvlgqs4] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    width: 180px;
}

    .plant-status-filter-input[b-xexmvlgqs4]::placeholder {
        color: var(--text-secondary);
        opacity: 0.8;
    }

/* Tên nhà máy là link sang General Information, nhưng phải trông như chữ thường trong bảng —
   gạch chân xanh chỉ hiện khi rê chuột.

   ::deep là BẮT BUỘC: thẻ <a> được dựng trong ColumnDef.Selector nên nó render BÊN TRONG
   TableCommon, mang scope id của component đó chứ không phải của PlantStatus. */
.table-wrapper[b-xexmvlgqs4]  .ps-plant-link {
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.table-wrapper[b-xexmvlgqs4]  .ps-plant-link:hover {
    color: #6aa9ff;
    text-decoration: underline;
}
/* _content/SumoWeb/Components/Modules/GeneralLive/PortfolioOverview/EnergyFlowDiagram.razor.rz.scp.css */
/* Sơ đồ dòng năng lượng — khung nền + lớp phủ HTML (chip giá trị, nhãn bệ).

   Đây là ILLUSTRATION nên nền tối được giữ nguyên ở cả dark lẫn light mode, giống hệt
   cách ảnh GIF cũ hoạt động. Chỉ có viền/đổ bóng của khung mới bám theo theme.
   Xem quy ước theme ở app.css trước khi đổi bất cứ màu nào ra ngoài phạm vi khung tranh. */

.ef-root[b-jossgpio5z] {
    /* Hai màu nhấn của sơ đồ. Đổi ở đây là đổi cả nét dòng chảy, mũi tên, chip và nhãn.
       Điện lưới = VÀNG, điện mặt trời = XANH. Lưu ý còn bốn chỗ tô cứng cùng bộ màu này
       trong file .razor phải đổi kèm: hai quầng sáng ef-pad-g/ef-pad-s, nét mờ của hai
       cung, và viền hai bệ đỡ. */
    --ef-grid: #f6b545;
    --ef-solar: #35d0a5;
    --ef-neutral: #8fa6c9;
    /* Chu kỳ chạy của nét đứt và hạt sáng. */
    --ef-flowdur: 2.4s;
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(130% 120% at 50% 8%, #13223a 0%, #0b111d 52%, #070b12 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    border: 1px solid var(--border-color);
}

.ef-scene[b-jossgpio5z] {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- dòng chảy ---------- */

.ef-stream[b-jossgpio5z] {
    animation: ef-dash-b-jossgpio5z var(--ef-flowdur) linear infinite;
}

.ef-stream--grid[b-jossgpio5z] {
    stroke: var(--ef-grid);
}

.ef-stream--solar[b-jossgpio5z] {
    stroke: var(--ef-solar);
}

/* Dòng phát ngược Mặt trời -> Lưới: cùng màu nguồn (mặt trời) vì đây vẫn là điện PV,
   chỉ khác đích đến. */
.ef-stream--export[b-jossgpio5z] {
    stroke: var(--ef-solar);
}

.ef-fill-grid[b-jossgpio5z] {
    fill: var(--ef-grid);
}

.ef-fill-solar[b-jossgpio5z] {
    fill: var(--ef-solar);
}

/* Hạt sáng chạy dọc cung. Mặc định ẩn: nếu trình duyệt không hỗ trợ offset-path thì
   animation vẫn chạy nhưng hạt đứng yên ở goc (0,0) — trông như lỗi. Nét đứt phía trên
   đã đủ diễn tả dòng chảy nên ẩn đi là an toàn. */
.ef-spark[b-jossgpio5z] {
    display: none;
    animation: ef-travel-b-jossgpio5z var(--ef-flowdur) linear infinite;
}

@supports (offset-path: path("M 0 0")) {
    .ef-spark[b-jossgpio5z] {
        display: block;
    }
}

.ef-spark--grid[b-jossgpio5z] {
    fill: var(--ef-grid);
    filter: drop-shadow(0 0 7px var(--ef-grid));
}

.ef-spark--solar[b-jossgpio5z],
.ef-spark--export[b-jossgpio5z] {
    fill: var(--ef-solar);
    filter: drop-shadow(0 0 7px var(--ef-solar));
}

/* Hạt thứ hai lệch nửa chu kỳ để dòng chảy liên tục. */
.ef-spark--late[b-jossgpio5z] {
    animation-delay: calc(var(--ef-flowdur) * -0.5);
}

@keyframes ef-dash-b-jossgpio5z {
    to {
        stroke-dashoffset: -40;
    }
}

@keyframes ef-travel-b-jossgpio5z {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    88% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* ---------- lớp phủ: nhãn tên bệ ----------
   Toạ độ tính theo % của viewBox "110 90 980 725", nên nhãn bám đúng vị trí khi SVG co giãn.
   Quy đổi: left% = (x - 110) / 980, top% = (y - 90) / 725. */

.ef-cap[b-jossgpio5z] {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.ef-cap--plant[b-jossgpio5z] {
    left: 50.0%;
    top: 47.2%; /* ngay dưới bệ nhà máy đã phóng + hạ (600,432) */
    color: #d2dbe8;
}

.ef-cap--grid[b-jossgpio5z] {
    left: 18.9%;
    top: 94.1%; /* bệ lưới (295,772) */
    color: #f6cf8f;
}

.ef-cap--solar[b-jossgpio5z] {
    left: 81.1%;
    top: 94.1%; /* bệ mặt trời (905,772) */
    color: #9fe6cf;
}

/* ---------- lớp phủ: ô giá trị realtime ---------- */

.ef-chip[b-jossgpio5z] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 11px;
    background: rgba(11, 19, 31, .85);
    border: 1px solid var(--ef-neutral);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.2;
    /* Giá trị dài không được đẩy chip tràn khỏi khung tranh. */
    max-width: 40%;
    overflow: hidden;
}

.ef-bullet[b-jossgpio5z] {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ef-neutral);
    box-shadow: 0 0 8px var(--ef-neutral);
}

.ef-text[b-jossgpio5z] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ef-name[b-jossgpio5z] {
    font-size: 9px;
    font-weight: 600;
    color: #8595a8;
    letter-spacing: .3px;
}

.ef-line[b-jossgpio5z] {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ef-value[b-jossgpio5z] {
    font-size: 15px;
    font-weight: 700;
    color: #eaf1fa;
}

.ef-unit[b-jossgpio5z] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #8595a8;
}

/* Lưới, mặt trời và tải KHÔNG có chấm sáng — viền màu đã đủ phân biệt, và bỏ chấm đi
   thì con số nằm cân giữa ô. Chấm chỉ còn ở cột trạm khí tượng bên phải, nơi ba chip
   xếp chồng nên cần dấu hiệu màu để phân biệt nhanh. */
.ef-chip--grid[b-jossgpio5z] {
    left: 25.2%;
    top: 44.3%; /* giữa cung lưới (357,411) */
    transform: translate(-50%, -50%);
    border-color: var(--ef-grid);
}


.ef-chip--solar[b-jossgpio5z] {
    left: 74.8%;
    top: 44.3%; /* giữa cung mặt trời (843,411) */
    transform: translate(-50%, -50%);
    border-color: var(--ef-solar);
}


/* Tải tiêu thụ: trên mái nhà máy, neo theo MÉP TRÊN cùng mức với cột bên phải để thẳng hàng.
   Mái nhà máy (đã phóng + hạ) bắt đầu ở 16.3%, nên 3% vẫn còn hở thoải mái.
   Nhãn và số căn giữa ô: chip này nằm chính giữa khung nên lệch trái sẽ thấy rõ. */
.ef-chip--load[b-jossgpio5z] {
    left: 50.0%;
    top: 3%;
    transform: translateX(-50%);
    justify-content: center;
}

    .ef-chip--load .ef-text[b-jossgpio5z] {
        align-items: center;
    }

    .ef-chip--load .ef-line[b-jossgpio5z] {
        justify-content: center;
    }

/* Cột trạm khí tượng: bức xạ + hai nhiệt độ, góc trên bên phải.
   align-items:stretch cho ba chip bằng bề rộng nhau nên mép trái/phải thẳng cột. */
.ef-stack[b-jossgpio5z] {
    position: absolute;
    right: 2.5%;
    top: 3%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

    /* Chip trong cột do flex xếp chỗ, không tự định vị nữa. */
    .ef-stack .ef-chip[b-jossgpio5z] {
        position: static;
        max-width: none;
    }

.ef-chip--irr[b-jossgpio5z] {
    border-color: #cdb27a;
}

    .ef-chip--irr .ef-bullet[b-jossgpio5z] {
        background: #cdb27a;
        box-shadow: 0 0 8px #cdb27a;
    }

.ef-chip--tamb[b-jossgpio5z] {
    border-color: #f59e0b;
}

    .ef-chip--tamb .ef-bullet[b-jossgpio5z] {
        background: #f59e0b;
        box-shadow: 0 0 8px #f59e0b;
    }

.ef-chip--tmod[b-jossgpio5z] {
    border-color: #4bc0c0;
}

    .ef-chip--tmod .ef-bullet[b-jossgpio5z] {
        background: #4bc0c0;
        box-shadow: 0 0 8px #4bc0c0;
    }

/* Khung hẹp: thu nhỏ chữ để chip không nuốt mất tranh. */
@media (max-width: 1350px) {
    .ef-value[b-jossgpio5z] {
        font-size: 13px;
    }

    .ef-chip[b-jossgpio5z] {
        padding: 4px 9px;
        gap: 6px;
    }

    .ef-cap[b-jossgpio5z] {
        font-size: 10px;
        letter-spacing: 1.2px;
    }
}

/* Người dùng tắt hiệu ứng chuyển động thì dừng dòng chảy. */
@media (prefers-reduced-motion: reduce) {
    .ef-stream[b-jossgpio5z] {
        animation: none;
    }

    .ef-spark[b-jossgpio5z] {
        display: none;
    }
}
/* _content/SumoWeb/Components/Modules/GeneralLive/PortfolioOverview/EnergyOverviewCard.razor.rz.scp.css */
/* Style của thẻ Energy Overview.
   Chuyển từ Portfolio.razor.css sang khi thẻ được tách thành component riêng:
   CSS scoped gắn thuộc tính b-xxx theo TỪNG file, để nguyên bên kia thì markup
   ở đây không khớp luật nào và mất trắng định dạng. */
/* Chart container: remove arbitrary min-height and let a fixed canvas height drive size */
.chart-box[b-h9x1ggk08x] {
    flex: 1;
    min-width: 0;
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    position: relative;
}

/* Không đặt chiều cao canvas ở đây. Canvas do CompositeAreaLineChart render nên KHÔNG mang
   scope attribute của file này — luật `.chart-box canvas` bị biên dịch thành
   `.chart-box canvas[b-xxx]` và không khớp gì cả (luật chết, đã gỡ). Chiều cao thật đến từ
   tham số Height="..." truyền cho component, và chính nó quyết định chiều cao cả hàng:
   cột trái bị kéo cao bằng cột phải, nên Height càng lớn thì khoảng hở dưới sơ đồ càng to. */
/* Chart header block */
.chart-head[b-h9x1ggk08x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-title[b-h9x1ggk08x] {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

/* Date navigation: prev / date-picker / next */
.date-nav[b-h9x1ggk08x] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-arrow[b-h9x1ggk08x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 30px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 6px;
    background: var(--bg-tertiary, rgba(255, 255, 255, 0.04));
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.date-arrow:hover[b-h9x1ggk08x] {
    background: var(--bg-active, rgba(255, 255, 255, 0.12));
    border-color: var(--border-medium, #999);
}

.date-input[b-h9x1ggk08x] {
    padding: 5px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    font-size: 14px;
}

/* Daily energy yield (solar / grid) shown above the chart */
.daily-energy[b-h9x1ggk08x] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg-tertiary, rgba(255, 255, 255, 0.04));
}

.energy-head[b-h9x1ggk08x] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.energy-total-label[b-h9x1ggk08x] {
    font-size: 13px;
    color: var(--text-secondary, #9aa4ae);
}

.energy-total-value[b-h9x1ggk08x] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.energy-bar[b-h9x1ggk08x] {
    display: flex;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.energy-seg[b-h9x1ggk08x] {
    height: 100%;
    transition: width 0.4s ease;
}

.energy-seg:first-child[b-h9x1ggk08x] {
    border-radius: 6px 0 0 6px;
}

.energy-seg:last-child[b-h9x1ggk08x] {
    border-radius: 0 6px 6px 0;
}

.energy-legend[b-h9x1ggk08x] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

.energy-item[b-h9x1ggk08x] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.energy-dot[b-h9x1ggk08x] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.energy-label[b-h9x1ggk08x] {
    color: var(--text-secondary, #9aa4ae);
}

.energy-value[b-h9x1ggk08x] {
    font-weight: 700;
    color: var(--text-primary);
}

/* Dòng thay cho thanh chia tự dùng / đẩy lưới khi không vẽ được thanh:
   nhà máy không có kênh đo chiều xuất, hoặc số liệu đồng hồ mâu thuẫn. */
.energy-note[b-h9x1ggk08x] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary, #9aa4ae);
}

.energy-note-warn[b-h9x1ggk08x] {
    color: #f59e0b;
}

    /* Dấu cảnh báo đặt bằng CSS để ba file i18n chỉ chứa chữ, không chứa ký hiệu. */
    .energy-note-warn[b-h9x1ggk08x]::before {
        content: "\26A0";
        margin-right: 6px;
    }
/* _content/SumoWeb/Components/Modules/GeneralLive/PortfolioOverview/Portfolio.razor.rz.scp.css */
/* Container & header */
.portfolio-container[b-h7dzsgz9n0] {
    position: relative;
    padding: 24px;
    ;
    display: flex;
    flex-direction: column;
}

.section-title[b-h7dzsgz9n0] {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #FFBF01;
    font-family: 'Poppins', sans-serif;
}

/* Plant list & button */
.plant-list[b-h7dzsgz9n0] {
    margin-top: 8px;
}

.plant-block[b-h7dzsgz9n0] {
    margin-bottom: 6px;
}

.plant-row-btn[b-h7dzsgz9n0] {
    width: 100%;
    padding: 6px 14px 6px 12px;
    margin-bottom: 6px;
    background: var(--bg-tertiary);
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font: inherit;
    display: flex;
    align-items: center;
    border-radius: 8px;
}

    .plant-row-btn:hover[b-h7dzsgz9n0] {
        background: #4b5358;
    }

.plant-block .plant-row-btn[b-h7dzsgz9n0] {
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.plant-block:not(:has(.inline-selected-plant-charts)) .plant-row-btn[b-h7dzsgz9n0] {
    border-radius: 8px;
}

.plant-name[b-h7dzsgz9n0] {
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-icons[b-h7dzsgz9n0] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 16px;
    flex-shrink: 0;
}

.alarm-icon-pulse[b-h7dzsgz9n0] {
    animation: alarm-pulse-b-h7dzsgz9n0 1.5s ease-in-out infinite;
}

@keyframes alarm-pulse-b-h7dzsgz9n0 {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.metrics-block[b-h7dzsgz9n0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    min-width: 420px;
}

.metric-row[b-h7dzsgz9n0] {
    display: flex;
    gap: 36px;
}

.metric[b-h7dzsgz9n0] {
    width: 150px;
    white-space: nowrap;
}

    .metric strong[b-h7dzsgz9n0] {
        color: var(--text-primary);
        font-weight: 600;
    }

/* Plant-name filter in the header. Styles are duplicated from TableCommon.razor.css
   rather than shared: those are scoped to TableCommon and can't reach this component. */
.portfolio-filter[b-h7dzsgz9n0] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 10px;
    height: 34px;
}

.portfolio-filter-icon[b-h7dzsgz9n0] {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    filter: var(--icon-filter);
    flex: 0 0 auto;
}

.portfolio-filter-input[b-h7dzsgz9n0] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    width: 180px;
}

    .portfolio-filter-input[b-h7dzsgz9n0]::placeholder {
        color: var(--text-secondary);
        opacity: 0.8;
    }

/* Pagination bar, matching the one TableCommon renders under PlantStatus */
.pagination-container[b-h7dzsgz9n0] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    color: var(--text-secondary);
    background: var(--table-header-footer);
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    border-radius: 0 0 8px 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-content[b-h7dzsgz9n0] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-label[b-h7dzsgz9n0] {
    font-size: 14px;
    color: var(--text-secondary);
}

.pagination-page-size-select[b-h7dzsgz9n0] {
    width: 70px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 6px 8px;
    outline: none;
}

.page-range[b-h7dzsgz9n0] {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ::deep required: MudIconButton renders its own element, which never carries
   this component's scope attribute. */
.pagination-content[b-h7dzsgz9n0]  .nav-btn {
    color: var(--text-secondary);
}

/* Charts inline block: energy-flow diagram on the left, chart on the right */
.inline-selected-plant-charts[b-h7dzsgz9n0] {
    background: var(--bg-tertiary);
    padding: 12px 14px 16px;
    border-radius: 0 0 8px 8px;
    border-top: none;
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-top: 4px;
}

/* Left: EnergyFlowDiagram (SVG isometric scene + live readouts) above the eco row.
   Wider than the old GIF column — at the previous 36% the isometric detail and the
   value chips collided. All four live readouts now live inside the diagram itself. */
.plant-flow[b-h7dzsgz9n0] {
    flex: 0 0 41%;
    max-width: 45%;
    min-width: 420px;
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    /* Column: energy-flow stage on top, eco-equivalent row floating in the space below it.
       Column direction makes the HORIZONTAL axis the cross axis -> align-items centres. */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

/* Auto margins top AND bottom split the leftover height evenly, so the eco row sits in
   the MIDDLE of the gap under the diagram rather than glued to the bottom edge.
   (justify-content can't do this: it distributes space between all children, not around
   one of them. Auto margins win over justify-content, hence flex-start above.) */
.plant-flow .eco-row[b-h7dzsgz9n0] {
    margin-top: auto;
    margin-bottom: auto;
}

/* Eco equivalents derived from cumulative solar yield: coal saved, CO2 avoided, trees. */
.eco-row[b-h7dzsgz9n0] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding: 4px 4px 2px;
}

.eco-item[b-h7dzsgz9n0] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* ::deep is required here: MudIcon renders its own element, so it never carries
   this component's scope attribute (unlike elements authored in the .razor). */
.eco-item[b-h7dzsgz9n0]  .eco-icon {
    color: #34a853;
    font-size: 26px;
    flex: 0 0 auto;
}

.eco-text[b-h7dzsgz9n0] {
    min-width: 0;
}

.eco-value[b-h7dzsgz9n0] {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.eco-unit[b-h7dzsgz9n0] {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.eco-label[b-h7dzsgz9n0] {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Stack the two columns on narrow screens */
@media (max-width: 1100px) {
    .inline-selected-plant-charts[b-h7dzsgz9n0] {
        flex-direction: column;
    }

    .plant-flow[b-h7dzsgz9n0] {
        flex: 1 1 auto;
        width: 100%;
    }
}

.chart-range[b-h7dzsgz9n0] {
    background: #152835;
    color: #e7edf2;
    border: 1px solid #2f3f4b;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
}

/* Collapsible header arrow styles */
.portfolio-header[b-h7dzsgz9n0] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.portfolio-collapse-toggle[b-h7dzsgz9n0] {
    background: transparent;
    color: #ffbf01;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 24px;
    line-height: 1;
}

    .portfolio-collapse-toggle:hover[b-h7dzsgz9n0] {
        background: transparent;
    }

    .portfolio-collapse-toggle:focus[b-h7dzsgz9n0] {
        outline: none;
    }

.portfolio-arrow-icon[b-h7dzsgz9n0] {
    display: inline-block;
    transition: transform .2s ease;
    font-size: 32px;
    line-height: 1;
}
/* _content/SumoWeb/Components/Modules/GeneralLive/PortfolioSummary/PortfolioSummary.razor.rz.scp.css */
.summary-hero[b-ntwyictxx4] {
    /* Accent màu icon KPI - override cho light mode ở cuối file */
    --kpi-accent: #7fd0ff;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    padding: 24px 32px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0 16px;
}

.summary-col[b-ntwyictxx4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.col-header[b-ntwyictxx4] {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.summary-divider[b-ntwyictxx4] {
    width: 1px;
    background: var(--border-color);
}

/* ---------- Plant KPIs ---------- */
.kpi-grid[b-ntwyictxx4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    flex: 1;
    align-content: center;
}

.kpi-item[b-ntwyictxx4] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.kpi-icon[b-ntwyictxx4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--kpi-accent);
    flex-shrink: 0;
}

.kpi-icon[b-ntwyictxx4]  .mud-icon-root {
    font-size: 22px;
}

.kpi-text[b-ntwyictxx4] {
    min-width: 0;
}

.kpi-value[b-ntwyictxx4] {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    white-space: nowrap;
}

.kpi-unit[b-ntwyictxx4] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 2px;
}

.kpi-label[b-ntwyictxx4] {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Donut columns ---------- */
.donut-row[b-ntwyictxx4] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* Khối Active Alarms bấm được -> Alarm Center. */
.donut-row--link[b-ntwyictxx4] {
    cursor: pointer;
    border-radius: 10px;
    padding: 6px;
    margin: -6px;
    transition: background-color .15s;
}

    .donut-row--link:hover[b-ntwyictxx4],
    .donut-row--link:focus-visible[b-ntwyictxx4] {
        background: var(--bg-primary);
        outline: none;
    }

.donut-wrap[b-ntwyictxx4] {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.donut-svg[b-ntwyictxx4] {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.donut-track[b-ntwyictxx4] {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 14;
}

.donut-svg circle[b-ntwyictxx4] {
    transition: stroke-dasharray 0.4s ease, stroke-dashoffset 0.4s ease;
    stroke-linecap: butt;
}

.donut-center[b-ntwyictxx4] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.donut-total[b-ntwyictxx4] {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.donut-caption[b-ntwyictxx4] {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ---------- Legend ---------- */
.legend[b-ntwyictxx4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.legend-item[b-ntwyictxx4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
}

/* Ba mục của donut Plant Status là <button> để sắp xếp bảng bên dưới. Reset lại giao diện
   mặc định của button rồi thêm viền trong suốt — viền này chỉ đổi màu khi được chọn nên
   chữ không bị nhảy chỗ giữa hai trạng thái. */
.legend-item--action[b-ntwyictxx4] {
    appearance: none;
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 3px 8px;
    margin: -3px -8px;
    /* KHÔNG dùng shorthand `font: inherit` ở đây: nó nằm sau .legend-item nên sẽ ghi đè
       luôn `font-size: 13px` của .legend-item, làm chữ các mục này to hơn cột Active Alarms
       và số "10" phình quá min-width của .legend-count khiến nhãn lệch hàng. */
    font-family: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
    /* BẮT BUỘC: MudBlazor.min.css có rule `button { justify-content: center }`. .legend-item
       chỉ đặt display:flex chứ không đặt justify-content nên rule đó lọt vào, làm nội dung
       mỗi hàng bị căn giữa — các hàng dài ngắn khác nhau nên mép trái so le. */
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}

    .legend-item--action:hover[b-ntwyictxx4] {
        background: var(--bg-primary);
    }

    .legend-item--action.is-active[b-ntwyictxx4] {
        background: var(--bg-primary);
        border-color: var(--kpi-accent);
    }

        .legend-item--action.is-active .legend-label[b-ntwyictxx4] {
            color: var(--text-primary);
            font-weight: 600;
        }

.legend-dot[b-ntwyictxx4] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Cột số có bề rộng CỐ ĐỊNH chứ không phải min-width: có min-width thì "10" rộng hơn "0"
   vẫn đẩy nhãn sang phải, ba nhãn không thẳng hàng. tabular-nums cho mọi chữ số cùng bề
   rộng nên 2 chữ số vẫn vừa 22px. */
.legend-count[b-ntwyictxx4] {
    font-weight: 700;
    color: var(--text-primary);
    flex: 0 0 22px;
    font-variant-numeric: tabular-nums;
}

.legend-label[b-ntwyictxx4] {
    color: var(--text-secondary);
}

/* Light mode: accent xanh đậm hơn để đủ tương phản trên nền sáng */
body:not(.dark-mode) .summary-hero[b-ntwyictxx4] {
    --kpi-accent: #1565c0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .summary-hero[b-ntwyictxx4] {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .summary-divider[b-ntwyictxx4] {
        display: none;
    }

    .kpis-col[b-ntwyictxx4] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .summary-hero[b-ntwyictxx4] {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .kpi-grid[b-ntwyictxx4] {
        grid-template-columns: 1fr;
    }
}
/* _content/SumoWeb/Components/Modules/Hardware/SolarDeviceManagement/HardwareHeader.razor.rz.scp.css */
.device-management-header[b-alid7fhhma] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-alid7fhhma] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-alid7fhhma] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-alid7fhhma]{
  display: flex;
}
.header-hardware[b-alid7fhhma] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-device-management[b-alid7fhhma] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-alid7fhhma] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-alid7fhhma] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-alid7fhhma] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-alid7fhhma] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-alid7fhhma] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-alid7fhhma] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-alid7fhhma] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-alid7fhhma] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .device-management-header[b-alid7fhhma] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-alid7fhhma] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-alid7fhhma] {
    justify-content: center;
  }

  .header-filters[b-alid7fhhma] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-alid7fhhma] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-alid7fhhma] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Hardware/SolarDeviceManagement/Overview.razor.rz.scp.css */
.device-overview-page[b-ury90270m0] {
    background: var(--bg-primary);
    font-family: 'Poppins', sans-serif;
}

/* device-overview Card */
.device-overview-card[b-ury90270m0] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .device-overview-page[b-ury90270m0] {
        padding: 16px;
    }
    
    .device-overview-card[b-ury90270m0] {
        padding: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .device-overview-page[b-ury90270m0] {
        padding: 12px;
    }
    
    .device-overview-card[b-ury90270m0] {
        padding: 12px;
        border-radius: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Hardware/SolarDeviceManagement/SectionTitle.razor.rz.scp.css */
/* SectionTitle styles */
.section-title[b-mry3qja29b] {
  margin-bottom: 18px;
}
.section-title .title[b-mry3qja29b] {
  font-size: 28px;
  font-weight: 600;
  color: #ffbf01;
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
}
.section-title .subtitle[b-mry3qja29b] {
  font-size: 15px;
  color: #e5e7eb;
  font-family: "Poppins", sans-serif;
  margin-bottom: 2px;
}
/* _content/SumoWeb/Components/Modules/Hardware/SolarDeviceManagement/SolarInverter.razor.rz.scp.css */
.inverter-section[b-8syxv3knge] {
    background: var(--bg-primary);
    font-family: 'Poppins', sans-serif;
}

.inverter-table[b-8syxv3knge] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}


/* Responsive Design */
@media (max-width: 768px) {
    
    .inverter-table[b-8syxv3knge] {
        padding: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    
    .inverter-table[b-8syxv3knge] {
        padding: 12px;
        border-radius: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Hardware/SolarDeviceManagement/SolarModule.razor.rz.scp.css */
.module-section[b-cje407mkmd] {
    background: var(--bg-primary);
    font-family: 'Poppins', sans-serif;
}

.module-table[b-cje407mkmd] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}


/* Responsive Design */
@media (max-width: 768px) {
    
    .module-table[b-cje407mkmd] {
        padding: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    
    .module-table[b-cje407mkmd] {
        padding: 12px;
        border-radius: 12px;
    }
}
/* _content/SumoWeb/Components/Modules/Home/HomeCharts.razor.rz.scp.css */
/* 2x2 grid of chart cards, sitting under the Total Solar Plant panel on /home */
.home-charts[b-euaqt9lzzi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

/* Cột dọc để phần thân thẻ ăn hết chỗ còn thừa.
   Lưới 2x2 kéo mọi thẻ trong cùng một hàng cao bằng nhau (grid mặc định align:stretch).
   Thẻ trạng thái thấp hơn thẻ biểu đồ bên cạnh nên trước đây toàn bộ phần dư rơi xuống
   đáy, khối donut bị dính lên sát tiêu đề. */
.hc-card[b-euaqt9lzzi] {
    background: rgba(30, 34, 39, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 9px 12px;
    min-width: 0; /* let the canvas shrink inside a grid track */
    display: flex;
    flex-direction: column;
}

/* Tiêu đề và ô biểu đồ giữ nguyên chiều cao — flex-shrink mặc định là 1, để nguyên thì
   .hc-chart có thể bị bóp xuống dưới 160px và Chart.js mất chiều cao xác định. */
.hc-head[b-euaqt9lzzi],
.hc-chart[b-euaqt9lzzi],
.hc-empty[b-euaqt9lzzi] {
    flex: 0 0 auto;
}

.hc-head[b-euaqt9lzzi] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.hc-title[b-euaqt9lzzi] {
    font-size: 13px;
    font-weight: 600;
    color: #e8eaed;
}

.hc-value[b-euaqt9lzzi] {
    font-size: 14px;
    font-weight: 700;
    color: #8ee04e;
    white-space: nowrap;
}

/* All three chart components run Chart.js with maintainAspectRatio:false, which requires
   an ancestor with a DEFINITE height. Without one the canvas grows without bound on every
   resize pass. This wrapper is that ancestor. */
.hc-chart[b-euaqt9lzzi] {
    /* 160 thay vì 118: bỏ dòng mô tả trùng ở Total Solar Plant đã trả lại 36px, phần còn
       lại lấy từ khoảng dư sẵn có. Ngân sách chiều dọc: mỗi thẻ = 18 padding + 23 header
       + 160 biểu đồ = 201px; hai hàng + 10 gap = 412px, trong khi chỗ trống là
       73.5vh − 333px (≈460px ở màn hình cao 1080). */
    height: 160px;
    position: relative;
}

    /* ::deep: these containers are rendered by the chart components, so they don't carry
       this component's scope attribute. Their own CSS sets height:100% / min-height, which
       is what stretches the card — override it to fill the fixed wrapper instead. */
    .hc-chart[b-euaqt9lzzi]  .area-chart-container,
    .hc-chart[b-euaqt9lzzi]  .bar-chart-container {
        height: 100%;
        min-height: 0;
        padding-top: 0;
    }

        .hc-chart[b-euaqt9lzzi]  .area-chart-container canvas,
        .hc-chart[b-euaqt9lzzi]  .bar-chart-container canvas {
            height: 100%;
            min-height: 0;
            max-height: 100%;
        }

.hc-empty[b-euaqt9lzzi] {
    height: 160px;   /* bằng .hc-chart để thẻ không co lại khi chưa có dữ liệu */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9aa0a6;
}

/* Thẻ trạng thái: vòng tròn + chú giải đứng cạnh nhau và CẢ CỤM căn giữa thẻ, nên chừa
   lề trái/phải bằng nhau.
   Đã thử hai cách sai trước đó: margin-left:auto ở chú giải (vòng tròn dính mép trái, hở
   một khoảng lớn ở giữa) và flex-end (cả cụm dồn sang phải, hở hết bên trái). */
.hc-status[b-euaqt9lzzi] {
    display: flex;
    /* flex:1 cho khối này nuốt hết chỗ thừa của thẻ, align-items:center rồi canh giữa nó
       theo CHIỀU DỌC trong chỗ đó — khoảng hở trên và dưới bằng nhau. */
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 18px;
    /* Triệt tiêu margin-bottom:4px của .hc-head. Flex chia đôi chỗ thừa đều nhau, nhưng
       margin đó cộng thêm vào riêng khoảng hở phía TRÊN nên đo ra 20px trên / 16px dưới.
       Chỉ đặt ở đây, ba thẻ biểu đồ vẫn giữ nguyên khoảng cách dưới tiêu đề. */
    margin-top: -4px;
}

/* DoughnutChart's own CSS is height:100% and its comment says "parent should control
   height" — so the parent must state one.

   190px là mức lớn nhất còn an toàn: thẻ này cao 18 padding + 23 header + 190 = 231px,
   hàng dưới của lưới 2x2 sẽ cao theo nó, tổng hai hàng = 201 + 10 + 231 = 442px, vẫn nằm
   trong khoảng trống 73.5vh − 333px (≈460px ở màn hình cao 1080). To hơn nữa là cột biểu
   đồ bắt đầu phải cuộn. */
/* Chiều cao phải là px XÁC ĐỊNH, không dùng aspect-ratio.
   Đã thử `width: min(190px,48%)` + `aspect-ratio: 1/1` và HỎNG: kích thước tối thiểu tự
   động của flex item lấy theo nội dung, mà Chart.js đã đặt canvas cao 300px (mặc định khi
   container chưa có chiều cao xác định lúc khởi tạo) — kết quả đo được là 187 × 300px.
   Nên kích thước cố định theo breakpoint, đổi cả ba giá trị qua một biến duy nhất. */
.hc-donut[b-euaqt9lzzi] {
    /* 190 -> 155 -> 130: vòng tròn cũ chiếm quá nhiều so với ba thẻ còn lại. Ba giá trị ở
       các breakpoint bên dưới luôn thu theo cùng tỉ lệ — đổi một chỗ là phải đổi cả bốn. */
    --hc-donut-size: 130px;
    position: relative;
    flex: 0 0 var(--hc-donut-size);
    width: var(--hc-donut-size);
    height: var(--hc-donut-size);
}

/* Ngưỡng đo từ bề rộng thật: vòng tròn + 16 gap + chú giải phải lọt trong
   (44.2vw − 10) / 2 − 24 (lòng một thẻ của lưới 2 cột). */
@media (max-width: 1600px) {
    .hc-donut[b-euaqt9lzzi] {
        --hc-donut-size: 110px;
    }
}

@media (max-width: 1450px) {
    .hc-donut[b-euaqt9lzzi] {
        --hc-donut-size: 95px;
    }
}

/* Từ 1250px trở xuống lưới về MỘT cột nên thẻ rộng gấp đôi — trả lại kích thước lớn. */
@media (max-width: 1250px) {
    .hc-donut[b-euaqt9lzzi] {
        --hc-donut-size: 130px;
    }
}

/* Centre readout sits over the donut hole. */
.hc-donut-center[b-euaqt9lzzi] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hc-donut-total[b-euaqt9lzzi] {
    font-size: 19px;   /* thu theo vòng donut 130px */
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.hc-donut-caption[b-euaqt9lzzi] {
    font-size: 12px;
    color: #9aa0a6;
}

/* Không còn margin-left:auto — .hc-status đã dồn cả cụm về phải, chú giải chỉ cần đứng
   ngay sau vòng tròn.

   min-width:0 + cắt chữ ở dưới là LƯỚI AN TOÀN: bề rộng chú giải đổi theo ngôn ngữ
   ("Bình thường (9)" dài hơn "Normal (9)"), nên không thể chỉ trông vào breakpoint.
   Nếu tính sai thì chữ bị cắt bớt chứ không đẩy tràn ra ngoài thẻ. */
.hc-status-legend[b-euaqt9lzzi] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    font-size: 13px;
    color: #d7d9dc;
}

.hc-legend-row[b-euaqt9lzzi] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

    .hc-legend-row > span:last-child[b-euaqt9lzzi] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.hc-legend-dot[b-euaqt9lzzi] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    flex: 0 0 auto;
}

/* Stack on narrow screens so the cards keep a usable width.
   1250 chứ không phải 1000: hẹp hơn mức đó thì hai cột làm thẻ trạng thái không đủ chỗ
   cho vòng tròn + chú giải, dù đã thu vòng tròn xuống 120px. */
@media (max-width: 1250px) {
    .home-charts[b-euaqt9lzzi] {
        grid-template-columns: 1fr;
    }
}
/* _content/SumoWeb/Components/Modules/Inverter/Coefficient.razor.rz.scp.css */
.coefficient-analysis[b-0g2m2kr8lu] {
    background-color: var(--bg-primary);
    color: #e2e2e2;
    padding: 24px;
}

.page-header[b-0g2m2kr8lu] {
    margin-bottom: 2rem;
}

.page-title[b-0g2m2kr8lu] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-0g2m2kr8lu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-0g2m2kr8lu] {
    flex-shrink: 0;
}

.duration-info-content[b-0g2m2kr8lu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-0g2m2kr8lu] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-0g2m2kr8lu] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-0g2m2kr8lu] {
    font-size: 14px;
    color: var(--text-primary);
}


.chart-section[b-0g2m2kr8lu] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.chart-header[b-0g2m2kr8lu] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-title[b-0g2m2kr8lu] {
    color: #FFBF01;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.chart-caption[b-0g2m2kr8lu] {
    color: #B0B0B0;
    font-size: 12px;
    margin-bottom: 0.75rem;
}

.chart-container[b-0g2m2kr8lu] {
    background: var(--bg-tertiary);
    border-radius: 8px;
    height: 320px;
}



/* Responsive design */
@media (max-width: 768px) {
    .coefficient-analysis[b-0g2m2kr8lu] {
        padding: 16px;
    }
    
    .page-title[b-0g2m2kr8lu] {
        font-size: 1.5rem;
    }
    
    .chart-section[b-0g2m2kr8lu] {
        padding: 16px;
    }
    
    .chart-container[b-0g2m2kr8lu] {
        height: 280px;
    }
}

/* Chart info icon styling */
.chart-info-icon[b-0g2m2kr8lu] {
    color: #B0B0B0;
    font-size: 1rem;
}

.chart-info-icon:hover[b-0g2m2kr8lu] {
    color: #f8c343;
}

/* Ô chọn ngày + nút lùi/tiến một ngày — cùng hình thức với .pm-date-picker của PowerMeterCharts
   (CSS scoped không dùng chung được nên chép lại). */
.chart-actions[b-0g2m2kr8lu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-date-picker[b-0g2m2kr8lu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.co-date-picker img[b-0g2m2kr8lu] {
    width: 18px;
    height: 18px;
    filter: var(--icon-filter);
}

.co-date-picker input[b-0g2m2kr8lu] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.co-date-picker input[b-0g2m2kr8lu]::-webkit-calendar-picker-indicator {
    filter: var(--icon-filter);
    cursor: pointer;
}

.co-nav[b-0g2m2kr8lu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.co-nav:hover:not(:disabled)[b-0g2m2kr8lu] { background: var(--bg-hover); }

.co-nav:disabled[b-0g2m2kr8lu] {
    opacity: .35;
    cursor: default;
}
/* _content/SumoWeb/Components/Modules/Inverter/EfficiencyDailyMetricTrend.razor.rz.scp.css */
/* ========================================
   MetricsWithTemperature Component Styles
   Dark Theme with Modern Card Layout
   ======================================== */

.metrics-container[b-g51kxyyahu] {
    padding: 1.5rem;
    color: #E0E0E0;
}

/* Header Section */
.metrics-header[b-g51kxyyahu] {
    margin-bottom: 2rem;
}


.page-title[b-g51kxyyahu] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-g51kxyyahu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-g51kxyyahu] {
    flex-shrink: 0;
}

.duration-info-content[b-g51kxyyahu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-g51kxyyahu] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-g51kxyyahu] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-g51kxyyahu] {
    font-size: 14px;
    color: var(--text-primary);
}


/* Card Styling */
.metric-chart[b-g51kxyyahu] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.metric-chart:last-child[b-g51kxyyahu] {
    margin-bottom: 0;
}

/* Card Header */
.chart-header[b-g51kxyyahu] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.chart-header-top[b-g51kxyyahu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title[b-g51kxyyahu] {
    font-size: 14px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle[b-g51kxyyahu] {
    font-size: 12px;
    color: #B0B0B0;
    margin: 0;
    font-weight: 400;
}

.card-info-icon[b-g51kxyyahu] {
    margin-left: 0.5rem;
}

/* Card Content */
.card-content[b-g51kxyyahu] {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .metrics-container[b-g51kxyyahu] {
        padding: 1rem;
    }

    .metrics-title[b-g51kxyyahu] {
        font-size: 1.35rem;
    }

    .metrics-duration[b-g51kxyyahu] {
        font-size: 0.85rem;
    }

    .metric-chart[b-g51kxyyahu] {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .card-title[b-g51kxyyahu] {
        font-size: 1.1rem;
    }

    .card-subtitle[b-g51kxyyahu] {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .metrics-container[b-g51kxyyahu] {
        padding: 0.75rem;
    }

    .metrics-title[b-g51kxyyahu] {
        font-size: 1.2rem;
    }

    .chart-header-top[b-g51kxyyahu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .metric-chart[b-g51kxyyahu] {
        border-radius: 8px;
    }
}

/* Dark Mode Scrollbar (optional enhancement) */
.metrics-container[b-g51kxyyahu]::-webkit-scrollbar {
    width: 8px;
}

.metrics-container[b-g51kxyyahu]::-webkit-scrollbar-track {
    background: #1E1E1E;
}

.metrics-container[b-g51kxyyahu]::-webkit-scrollbar-thumb {
    background: #3A3A3A;
    border-radius: 4px;
}

.metrics-container[b-g51kxyyahu]::-webkit-scrollbar-thumb:hover {
    background: #4A4A4A;
}

/* _content/SumoWeb/Components/Modules/Inverter/EfficiencyMetricsHeatmap.razor.rz.scp.css */
.efficiency-analysis[b-o7h154qxpo] {
    background-color: var(--bg-primary);
    color: #e2e2e2;
    padding: 24px;
}

.page-header[b-o7h154qxpo] {
    margin-bottom: 2rem;
}

.page-title[b-o7h154qxpo] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-o7h154qxpo] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-o7h154qxpo] {
    flex-shrink: 0;
}

.duration-info-content[b-o7h154qxpo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-o7h154qxpo] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-o7h154qxpo] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-o7h154qxpo] {
    font-size: 14px;
    color: var(--text-primary);
}


.chart-section[b-o7h154qxpo] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.chart-header[b-o7h154qxpo] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-title[b-o7h154qxpo] {
    color: #FFBF01;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.chart-caption[b-o7h154qxpo] {
    color: #B0B0B0;
    font-size: 12px;
    margin-bottom: 0.75rem;
}

.chart-container[b-o7h154qxpo] {
    background: var(--bg-tertiary);
    border-radius: 8px;
    height: 320px;
}



/* Responsive design */
@media (max-width: 768px) {
    .efficiency-analysis[b-o7h154qxpo] {
        padding: 16px;
    }
    
    .page-title[b-o7h154qxpo] {
        font-size: 1.5rem;
    }
    
    .chart-section[b-o7h154qxpo] {
        padding: 16px;
    }
    
    .chart-container[b-o7h154qxpo] {
        height: 280px;
    }
}

/* Chart info icon styling */
.chart-info-icon[b-o7h154qxpo] {
    color: #B0B0B0;
    font-size: 1rem;
}

.chart-info-icon:hover[b-o7h154qxpo] {
    color: #f8c343;
}
/* _content/SumoWeb/Components/Modules/Inverter/MetricsWithTemperature.razor.rz.scp.css */
/* ========================================
   MetricsWithTemperature Component Styles
   Dark Theme with Modern Card Layout
   ======================================== */

.metrics-container[b-jlmgwka25b] {
    padding: 1.5rem;
    color: #E0E0E0;
}

/* Header Section */
.metrics-header[b-jlmgwka25b] {
    margin-bottom: 2rem;
}


.page-title[b-jlmgwka25b] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-jlmgwka25b] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-jlmgwka25b] {
    flex-shrink: 0;
}

.duration-info-content[b-jlmgwka25b] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-jlmgwka25b] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-jlmgwka25b] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-jlmgwka25b] {
    font-size: 14px;
    color: var(--text-primary);
}


/* Card Styling */
.metric-chart[b-jlmgwka25b] {
    background-color: var(--chart-container-bg);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.metric-chart:last-child[b-jlmgwka25b] {
    margin-bottom: 0;
}

/* Card Header */
.chart-header[b-jlmgwka25b] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.chart-header-top[b-jlmgwka25b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title[b-jlmgwka25b] {
    font-size: 14px;
    font-weight: 600;
    color: #FFBF01;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle[b-jlmgwka25b] {
    font-size: 12px;
    color: #B0B0B0;
    margin: 0;
    font-weight: 400;
}

.card-info-icon[b-jlmgwka25b] {
    margin-left: 0.5rem;
}

/* Card Content */
.card-content[b-jlmgwka25b] {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .metrics-container[b-jlmgwka25b] {
        padding: 1rem;
    }

    .metrics-title[b-jlmgwka25b] {
        font-size: 1.35rem;
    }

    .metrics-duration[b-jlmgwka25b] {
        font-size: 0.85rem;
    }

    .metric-chart[b-jlmgwka25b] {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .card-title[b-jlmgwka25b] {
        font-size: 1.1rem;
    }

    .card-subtitle[b-jlmgwka25b] {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .metrics-container[b-jlmgwka25b] {
        padding: 0.75rem;
    }

    .metrics-title[b-jlmgwka25b] {
        font-size: 1.2rem;
    }

    .chart-header-top[b-jlmgwka25b] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .metric-chart[b-jlmgwka25b] {
        border-radius: 8px;
    }
}

/* Dark Mode Scrollbar (optional enhancement) */
.metrics-container[b-jlmgwka25b]::-webkit-scrollbar {
    width: 8px;
}

.metrics-container[b-jlmgwka25b]::-webkit-scrollbar-track {
    background: #1E1E1E;
}

.metrics-container[b-jlmgwka25b]::-webkit-scrollbar-thumb {
    background: #3A3A3A;
    border-radius: 4px;
}

.metrics-container[b-jlmgwka25b]::-webkit-scrollbar-thumb:hover {
    background: #4A4A4A;
}

/* _content/SumoWeb/Components/Modules/Inverter/PerformanceMetrics.razor.rz.scp.css */
.performance-metrics-page[b-13ke42io0x] {
    background-color: var(--bg-primary);
    color: #e2e2e2;
    padding: 24px;
}

.page-header[b-13ke42io0x] {
    margin-bottom: 2rem;
}

.page-title[b-13ke42io0x] {
    font-size: 24px;
    font-weight: 600;
    color: #FFB400;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.duration-info[b-13ke42io0x] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.duration-info-icon[b-13ke42io0x] {
    flex-shrink: 0;
}

.duration-info-content[b-13ke42io0x] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-13ke42io0x] {
    color: var(--text-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.duration-text[b-13ke42io0x] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.duration-dates[b-13ke42io0x] {
    font-size: 14px;
    color: var(--text-primary);
}


.content-container[b-13ke42io0x] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-section[b-13ke42io0x] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
}

.metric-subtitle[b-13ke42io0x] {
    color: #EAEAEA;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.selected-metric[b-13ke42io0x] {
    color: #f8c343;
}

.metric-buttons[b-13ke42io0x] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.metric-button[b-13ke42io0x] {
    min-width: 140px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.metric-button.selected[b-13ke42io0x] {
    background-color: #00C851 !important;
    color: white !important;
}

.chart-section[b-13ke42io0x] {
    width: 100%;
}

.chart-card[b-13ke42io0x] {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header-container[b-13ke42io0x] {
    background: var(--bg-tertiary);
}

.chart-header[b-13ke42io0x] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-title[b-13ke42io0x] {
    color: #FFBF01;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.chart-caption[b-13ke42io0x] {
    color: #B0B0B0;
    font-size: 12px;
    margin-bottom: 1.5rem;
}


.table-section[b-13ke42io0x] {
    width: 100%;
}

.table-card[b-13ke42io0x] {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 24px;
}

/* Override TableCommon styles để giống RecoverableLosssTable */
.table-card .table-toolbar[b-13ke42io0x] {
    background: transparent;
    padding: 0 0 12px 0;
}

.table-card .toolbar-title[b-13ke42io0x] {
    color: #FFBF01;
    font-size: 14px;
    font-weight: medium;
}

.table-card .toolbar-subtitle[b-13ke42io0x] {
    color: #ffbf01;
    font-size: 12px;
}

.table-card .data-table[b-13ke42io0x] {
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .performance-metrics-page[b-13ke42io0x] {
        padding: 16px;
    }
    
    .page-title[b-13ke42io0x] {
        font-size: 1.5rem;
    }
    
    .chart-card[b-13ke42io0x],
    .table-card[b-13ke42io0x],
    .metric-section[b-13ke42io0x] {
        padding: 16px;
    }

    .metric-buttons[b-13ke42io0x] {
        gap: 8px;
    }

    .metric-button[b-13ke42io0x] {
        min-width: 120px;
        font-size: 0.9rem;
    }
}
/* _content/SumoWeb/Components/Modules/Performance/Comparison/PerformanceComparison.razor.rz.scp.css */
.comparison-page[b-ns5ppo85z6] { background: var(--bg-tertiary); padding: 20px; color: var(--text-primary); border-radius: 20px;}


/* Header Section */
.performance-comparison-header[b-ns5ppo85z6] {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.performance-comparison-header-section[b-ns5ppo85z6] {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.performance-comparison-title[b-ns5ppo85z6] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.duration-info-container[b-ns5ppo85z6] {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-label[b-ns5ppo85z6] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-ns5ppo85z6] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

.duration-text-container[b-ns5ppo85z6] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duration-dates[b-ns5ppo85z6] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-top: 4px;
}

.primary[b-ns5ppo85z6] { color: #00C4FF; }
.h6[b-ns5ppo85z6] { font-size: 20px; font-weight: 600; }
.subtitle[b-ns5ppo85z6] { opacity: 0.75; font-size: 14px; margin-top: 4px; }
.p-4[b-ns5ppo85z6] { padding: 16px; background: var(--bg-primary);}
.mt-3[b-ns5ppo85z6] { margin-top: 12px; }
.mt-4[b-ns5ppo85z6] { margin-top: 16px; background: var(--bg-primary);}

.header-card[b-ns5ppo85z6], .chart-card-wrapper[b-ns5ppo85z6] {
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.title[b-ns5ppo85z6] { color: #EDEDED; }
.chart-wrapper[b-ns5ppo85z6] { width: 100%; height: 360px; position: relative; border-radius: 20px; overflow: hidden; }
.loader[b-ns5ppo85z6] { width: 36px; height: 36px; border: 3px solid #3a3a3a; border-top-color: #00C4FF; border-radius: 50%; animation: spin-b-ns5ppo85z6 0.8s linear infinite; margin: 20px auto; }
@keyframes spin-b-ns5ppo85z6 { to { transform: rotate(360deg); } }

.tabs[b-ns5ppo85z6] { display: flex; gap: 8px; }
.tab-btn[b-ns5ppo85z6] { background: var(--bg-active); color: #EDEDED; border: 1px solid #3A3A3A; border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.tab-btn.active[b-ns5ppo85z6] { background: #00C4FF; color: #111; border-color: #00C4FF; }

.primary[b-ns5ppo85z6] { color: #00C4FF; }
.h6[b-ns5ppo85z6] { font-size: 20px; font-weight: 600; }
.subtitle[b-ns5ppo85z6] { opacity: 0.7; font-size: 14px; margin-top: 4px; }

.p-4[b-ns5ppo85z6] { padding: 16px; }
.mt-1[b-ns5ppo85z6] { margin-top: 4px; }
.mt-2[b-ns5ppo85z6] { margin-top: 8px; }
.mt-3[b-ns5ppo85z6] { margin-top: 12px; }
.mt-4[b-ns5ppo85z6] { margin-top: 16px; }
.ml-4[b-ns5ppo85z6] { margin-left: 16px; }

.title[b-ns5ppo85z6] { color: var(--text-primary); }

.line-chart[b-ns5ppo85z6] { width: 100%; height: auto; }

.grid line[b-ns5ppo85z6] { stroke: #333; stroke-width: 1; }
.axis-text[b-ns5ppo85z6] { fill: #BFBFBF; font-size: 12px; text-anchor: middle; }

.line[b-ns5ppo85z6] { fill: none; stroke-width: 3; }
.green[b-ns5ppo85z6] { stroke: #00FF66; }
.yellow[b-ns5ppo85z6] { stroke: #FFC300; }
.blue[b-ns5ppo85z6] { stroke: #00C4FF; }

.legend[b-ns5ppo85z6] { color: #CFCFCF; font-size: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.legend .dot[b-ns5ppo85z6] { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.legend .dot.green[b-ns5ppo85z6] { background: #00FF66; }
.legend .dot.yellow[b-ns5ppo85z6] { background: #FFC300; }
.legend .dot.blue[b-ns5ppo85z6] { background: #00C4FF; }

.tabs[b-ns5ppo85z6] { display: flex; gap: 8px; }
.tab-btn[b-ns5ppo85z6] {
  background: var(--bg-active);
  color: var(--text-primary);
  border: 1px solid #3A3A3A;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
}
.tab-btn.active[b-ns5ppo85z6] { background: #00C4FF; color: #111; border-color: #00C4FF; }

@media (max-width: 900px) {
  .axis-text[b-ns5ppo85z6] { font-size: 11px; }
}


/* _content/SumoWeb/Components/Modules/Performance/InverterAndPowermeterData/FrequencyAndEfficiency.razor.rz.scp.css */
.frequency-efficiency-container[b-ec79yoo3xw] {
    background: var(--chart-container-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25vw;
    margin-bottom: 1.67vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Header Section */
.frequency-efficiency-header[b-ec79yoo3xw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.frequency-efficiency-header-section[b-ec79yoo3xw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.frequency-efficiency-title[b-ec79yoo3xw] {
    font-size: 24px; /* Cỡ chữ 24px cố định */
    font-weight: 700;
    color: #ffbf01;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.frequency-efficiency-duration[b-ec79yoo3xw] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px; /* Cỡ chữ 16px cố định */
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
}

.frequency-efficiency-date-picker[b-ec79yoo3xw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .frequency-efficiency-date-picker img[b-ec79yoo3xw] {
        width: 20px;
        height: 20px;
    }

    .frequency-efficiency-date-picker input[type="date"][b-ec79yoo3xw] {
        padding: 8px 12px;
        border: 1px solid #3f3f3f;
        border-radius: 8px;
        background: var(--bg-active);
        color: var(--text-primary);
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

        .frequency-efficiency-date-picker input[type="date"]:hover[b-ec79yoo3xw] {
            border-color: #facc15;
        }

        .frequency-efficiency-date-picker input[type="date"]:focus[b-ec79yoo3xw] {
            outline: none;
            border-color: #facc15;
        }


/* Content Section - Full Width Chart */
.frequency-efficiency-content[b-ec79yoo3xw] {
    display: flex;
    flex-direction: column;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    overflow: hidden;
}

.chart-wrapper[b-ec79yoo3xw] {
    width: 100%;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Deep selectors for chart styling */
.frequency-efficiency-container[b-ec79yoo3xw]  .line-chart-section {
    background: transparent;
    padding: 0;
    height: 100% !important;
    max-height: 400px !important;
    overflow: hidden;
}

.frequency-efficiency-container[b-ec79yoo3xw]  .chart-container {
    background: transparent;
    padding: 0;
    border: none;
    height: 100% !important;
    max-height: 400px !important;
    overflow: hidden;
}

.frequency-efficiency-container[b-ec79yoo3xw]  .chart-wrapper {
    background: transparent;
    height: 100% !important;
    max-height: 400px !important;
    overflow: hidden;
}

.frequency-efficiency-container[b-ec79yoo3xw]  canvas {
    background-color: transparent !important;
}

.chart-loading[b-ec79yoo3xw] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #9CA3AF;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Left Column - StatCards */
.left-column[b-ec79yoo3xw] {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2%, 32px); /* Responsive gap */
    height: 100%; /* Chiếm toàn bộ chiều cao */
    justify-content: space-between; /* Phân bố đều không gian */
}

.stat-section[b-ec79yoo3xw] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1; /* Chia đều không gian cho 2 stat-section */
    min-height: 0; /* Cho phép flex shrink */
}

.stat-section-header[b-ec79yoo3xw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-section-title[b-ec79yoo3xw] {
    font-size: 16px; /* Cỡ chữ 14px cố định */
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.stat-info-icon[b-ec79yoo3xw] {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .stat-info-icon:hover[b-ec79yoo3xw] {
        opacity: 1;
    }

.stat-section-caption[b-ec79yoo3xw] {
    font-size: 12px; /* Cỡ chữ 12px cố định */
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
}

.stat-card-container[b-ec79yoo3xw] {
    height: 100%;
}
    /* StatCard Container - Ẩn header bên trong StatCard */
    .stat-card-container[b-ec79yoo3xw]  .stat-card {
        background: var(--bg-primary);
        border-radius: 16px;
        height: 100%;
    }

        .stat-card-container[b-ec79yoo3xw]  .stat-card .stat-main-value .stat-value {
            color: #02F300;
        }

        .stat-card-container[b-ec79yoo3xw]  .stat-card .stat-main-value .stat-unit {
            color: #02F300;
        }


    /* Chỉ hiển thị main value và trend */
    .stat-card-container .stat-card .stat-main-value[b-ec79yoo3xw] {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: clamp(1.8rem, 4vw, 3.5rem); /* Responsive font-size */
        color: var(--text-primary);
        line-height: 1.2;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(4px, 0.5%, 8px); /* Responsive gap */
        flex: 1;
        align-self: center;
        min-height: clamp(40px, 8vh, 80px); /* Responsive min-height */
    }

    .stat-card-container .stat-card .stat-trend[b-ec79yoo3xw] {
        display: flex;
        align-items: center;
        gap: clamp(4px, 0.5%, 8px); /* Responsive gap */
        font-size: clamp(0.8rem, 1.5vw, 1.2rem); /* Responsive font-size */
        font-weight: 500;
        padding: clamp(8px, 1%, 16px) clamp(10px, 1.2%, 20px); /* Responsive padding */
        border-radius: 8px;
        flex-shrink: 0;
        justify-content: center;
        margin-top: auto; /* Đẩy xuống dưới cùng */
        min-height: clamp(24px, 4vh, 48px); /* Responsive min-height */
    }

/* Right Column - Line Chart */
/* Đảm bảo right-column co giãn tốt, không bị cắt chart */
.right-column[b-ec79yoo3xw] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    align-self: stretch;
}


    /* Chart Section trong Performance - Ẩn header và caption của LineChart */
    .right-column .line-chart-section[b-ec79yoo3xw] {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 0px;
    }

    .right-column .chart-header[b-ec79yoo3xw] {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .right-column .chart-title[b-ec79yoo3xw] {
        font-size: 16px; /* Cỡ chữ 16px cố định */
        font-weight: 600;
        color: #ffbf01; /* Màu vàng như title khác */
        margin: 0;
        font-family: "Poppins", sans-serif;
    }

    .right-column .chart-info-icon[b-ec79yoo3xw] {
        font-size: clamp(12px, 1.5vw, 20px); /* Responsive font-size */
        color: var(--text-primary);
        cursor: pointer;
    }

    .right-column .chart-caption[b-ec79yoo3xw] {
        font-size: 16px; /* Cỡ chữ 16px cố định */
        color: var(--text-primary);
        font-family: "Poppins", sans-serif;
        line-height: 1.4;
    }

    .right-column .chart-canvas[b-ec79yoo3xw] {
        width: 100% !important;
        height: 100% !important;
    }

.duration-label[b-ec79yoo3xw] {
    font-size: 14px;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
}

.duration-icon[b-ec79yoo3xw] {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .frequency-efficiency-container[b-ec79yoo3xw] {
        padding: 20px;
        gap: 20px;
        max-width: 100% !important;
    }

    .frequency-efficiency-header[b-ec79yoo3xw] {
        margin-bottom: 20px;
    }

    .frequency-efficiency-content[b-ec79yoo3xw] {
        flex-direction: column;
        gap: 20px;
    }

    .left-column[b-ec79yoo3xw], .right-column[b-ec79yoo3xw] {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .left-column[b-ec79yoo3xw] {
        gap: 20px;
        height: 100%;
        justify-content: flex-start;
    }

    .stat-card-container .stat-card[b-ec79yoo3xw] {
        padding: 28px 20px;
        min-height: 140px;
    }

        .stat-card-container .stat-card .stat-main-value[b-ec79yoo3xw] {
            font-size: 2.2rem;
            min-height: 70px;
        }

        .stat-card-container .stat-card .stat-trend[b-ec79yoo3xw] {
            font-size: 0.95rem;
            padding: 10px 14px;
            min-height: 36px;
        }

    .right-column[b-ec79yoo3xw] {
        height: 100%;
        min-height: 300px;
    }

        .right-column .chart-container[b-ec79yoo3xw] {
            padding: 20px;
            min-height: 35vh;
            max-height: 50vh;
        }

        .right-column .chart-title[b-ec79yoo3xw] {
            font-size: 16px;
        }

        .right-column .chart-caption[b-ec79yoo3xw] {
            font-size: 16px;
        }

        .right-column .chart-wrapper[b-ec79yoo3xw] {
            min-height: 250px;
        }
}

@media (max-width: 768px) {
    .frequency-efficiency-container[b-ec79yoo3xw] {
        padding: 16px;
        gap: 16px;
        max-width: 100% !important; /* Đảm bảo không tràn trên mobile */
    }

    .frequency-efficiency-header[b-ec79yoo3xw] {
        margin-bottom: 18px; /* Giảm margin cho mobile */
    }

    .frequency-efficiency-title[b-ec79yoo3xw] {
        font-size: 24px; /* Giữ nguyên 24px cho tablet */
    }

    .frequency-efficiency-duration[b-ec79yoo3xw] {
        font-size: 16px; /* Giữ nguyên 16px cho tablet */
    }

    .frequency-efficiency-date-range[b-ec79yoo3xw] {
        font-size: 14px; /* Giữ nguyên 14px cho tablet */
        margin-left: 30px;
    }

    .stat-section-title[b-ec79yoo3xw] {
        font-size: 14px; /* Giữ nguyên 16px cho tablet */
    }

    .stat-section-caption[b-ec79yoo3xw] {
        font-size: 10px; /* Giữ nguyên 16px cho tablet */
    }

    .right-column[b-ec79yoo3xw] {
        height: 40vh;
        min-height: 20vh;
    }

        .right-column .chart-container[b-ec79yoo3xw] {
            min-height: 30vh;
            max-height: 45vh;
        }

        .right-column .chart-title[b-ec79yoo3xw] {
            font-size: 16px; /* Giữ nguyên 16px cho mobile */
        }

        .right-column .chart-caption[b-ec79yoo3xw] {
            font-size: 16px; /* Giữ nguyên 16px cho mobile */
        }

        .right-column .chart-wrapper[b-ec79yoo3xw] {
            min-height: 200px;
        }
}

@media (max-width: 480px) {
    .frequency-efficiency-container[b-ec79yoo3xw] {
        padding: 12px;
        gap: 12px;
        max-width: 100% !important; /* Đảm bảo không tràn trên mobile nhỏ */
    }

    .frequency-efficiency-header[b-ec79yoo3xw] {
        margin-bottom: 12px; /* Giảm margin cho mobile nhỏ */
    }

    .frequency-efficiency-title[b-ec79yoo3xw] {
        font-size: 24px; /* Giữ nguyên 24px cho mobile */
    }

    .frequency-efficiency-duration[b-ec79yoo3xw] {
        font-size: 16px; /* Giữ nguyên 16px cho mobile */
    }

    .frequency-efficiency-date-range[b-ec79yoo3xw] {
        font-size: 14px; /* Giữ nguyên 14px cho mobile */
        margin-left: 30px;
    }

    .left-column[b-ec79yoo3xw] {
        gap: 18px; /* Tăng gap cho mobile */
        height: auto;
        justify-content: flex-start; /* Reset justify-content cho mobile */
    }

    .stat-card-container .stat-card[b-ec79yoo3xw] {
        padding: 24px 16px; /* Giảm padding cho mobile */
        min-height: 120px;
    }

        .stat-card-container .stat-card .stat-main-value[b-ec79yoo3xw] {
            font-size: 2rem; /* Giảm font-size cho mobile */
            min-height: 60px;
        }

        .stat-card-container .stat-card .stat-trend[b-ec79yoo3xw] {
            font-size: 0.9rem;
            padding: 8px 12px;
            min-height: 32px;
        }

    .right-column[b-ec79yoo3xw] {
        height: 300px;
        min-height: 200px;
    }

        .right-column .chart-container[b-ec79yoo3xw] {
            padding: 12px;
            min-height: 25vh;
            max-height: 40vh;
        }

        .right-column .chart-title[b-ec79yoo3xw] {
            font-size: 16px; /* Giữ nguyên 16px cho mobile nhỏ */
        }

        .right-column .chart-caption[b-ec79yoo3xw] {
            font-size: 16px; /* Giữ nguyên 16px cho mobile nhỏ */
        }

        .right-column .chart-wrapper[b-ec79yoo3xw] {
            min-height: 150px;
        }
}
/* _content/SumoWeb/Components/Modules/Performance/InverterAndPowermeterData/GeneralHeader.razor.rz.scp.css */
.plant-overview-header[b-d5ziq1zs71] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1vw;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 4.7vw;
  min-height: 60px;
  max-height: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.header-left[b-d5ziq1zs71] {
  flex: 1;
}

.page-title[b-d5ziq1zs71] {
  font-size: 38px; /* Cỡ chữ 38px cố định */
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 0.5vw 0;
  font-family: "Poppins", sans-serif;
}

.header-subtitle[b-d5ziq1zs71] {
  display: flex;
  margin-bottom: 0.5vw;
}

.header-analysis[b-d5ziq1zs71] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #02F300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.breadcrumb-link[b-d5ziq1zs71] {
  color: #02F300 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

 .breadcrumb-link:hover[b-d5ziq1zs71] {
  color: #04ff04;
  text-decoration: underline;
}

.header-portfolio[b-d5ziq1zs71] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-d5ziq1zs71] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.action-buttons[b-d5ziq1zs71] {
  display: flex !important;
  gap: 0.75vw;
  align-items: center !important;
  justify-content: flex-end !important;
}

.action-icon-btn[b-d5ziq1zs71] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 0.5vw;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6vw;
  height: 3.6vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-d5ziq1zs71] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-d5ziq1zs71] {
  width: 1.25vw;
  height: 1.25vw;
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.documentation-btn[b-d5ziq1zs71] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 1.25vw;
  padding: 0.75vw 1.25vw;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 0.875vw, 16px);
  font-weight: 400;
  min-height: 2.5vw;
}

.documentation-btn:hover[b-d5ziq1zs71] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.btn-text[b-d5ziq1zs71] {
  white-space: nowrap;
}

/* Responsive cho màn hình nhỏ hơn 16:9 */
@media (max-width: 1200px) {
  .plant-overview-header[b-d5ziq1zs71] {
    padding: 1.25vw;
    height: 70px;
    margin-bottom: 24px;
  }
  
  .page-title[b-d5ziq1zs71] {
    font-size: 38px; /* Giữ nguyên 38px cho tablet */
  }
  
  .header-analysis[b-d5ziq1zs71],
  .header-portfolio[b-d5ziq1zs71] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }
  
  .action-icon-btn[b-d5ziq1zs71] {
    width: 56px;
    height: 56px;
  }
  
  .action-icon-btn img[b-d5ziq1zs71] {
    width: 20px;
    height: 20px;
  }
  
  .documentation-btn[b-d5ziq1zs71] {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .plant-overview-header[b-d5ziq1zs71] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    height: auto;
  }

  .header-actions[b-d5ziq1zs71] {
    justify-content: center;
  }

  .action-buttons[b-d5ziq1zs71] {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-title[b-d5ziq1zs71] {
    font-size: 38px; /* Giữ nguyên 38px cho mobile */
  }

  .header-subtitle[b-d5ziq1zs71] {
    justify-content: center;
  }

  .documentation-btn .btn-text[b-d5ziq1zs71] {
    display: none;
  }

  .documentation-btn[b-d5ziq1zs71] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-buttons[b-d5ziq1zs71] {
    gap: 8px;
  }

  .action-icon-btn[b-d5ziq1zs71],
  .documentation-btn[b-d5ziq1zs71] {
    width: 48px;
    height: 48px;
  }
}
/* _content/SumoWeb/Components/Modules/Performance/InverterAndPowermeterData/PerformanceGeneration.razor.rz.scp.css */
/* Degradation Rate Container */
.performance-generation[b-kk4xazk39t] {
    background: var(--chart-container-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25vw;
    margin-bottom: 1.67vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Header Section */
.performance-generation-header[b-kk4xazk39t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.performance-generation-header-section[b-kk4xazk39t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.performance-generation-title[b-kk4xazk39t] {
    font-size: 24px;
    font-weight: 700;
    color: #ffbf01;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.performance-generation-date-picker[b-kk4xazk39t] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .performance-generation-date-picker img[b-kk4xazk39t] {
        width: 20px;
        height: 20px;
    }

    .performance-generation-date-picker input[type="date"][b-kk4xazk39t] {
        padding: 8px 12px;
        border: 1px solid #3f3f3f;
        border-radius: 8px;
        background: var(--bg-active);
        color: var(--text-primary);
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        cursor: pointer;
        transition: border-color 0.2s ease;
    }

        .performance-generation-date-picker input[type="date"]:hover[b-kk4xazk39t] {
            border-color: #facc15;
        }

        .performance-generation-date-picker input[type="date"]:focus[b-kk4xazk39t] {
            outline: none;
            border-color: #facc15;
        }

.performance-generation-duration[b-kk4xazk39t] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
}


.performance-generation-date-range[b-kk4xazk39t] {
    font-size: 14px; /* Cỡ chữ 14px cố định */
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    margin-left: 30px; /* Căn chỉnh với icon + gap */
    margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
    margin-bottom: 20px;
}

.duration-label[b-kk4xazk39t] {
    font-size: 14px;
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
}

.duration-icon[b-kk4xazk39t] {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
}

.performance-generation-chart-container[b-kk4xazk39t] {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: var(--bg-primary);
    margin-bottom: 30px;
}

.DC-power-chart-header[b-kk4xazk39t] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.DC-power-title[b-kk4xazk39t] {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.DC-power-info-icon[b-kk4xazk39t] {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .DC-power-info-icon:hover[b-kk4xazk39t] {
        opacity: 1;
    }

.DC-power-caption[b-kk4xazk39t] {
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: "Poppins", sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .performance-generation[b-kk4xazk39t] {
        padding: 20px;
        max-width: 100%;
    }


    .performance-generation-chart-container[b-kk4xazk39t] {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .performance-generation[b-kk4xazk39t] {
        padding: 16px;
        max-width: 100%;
    }

    .performance-generation-header[b-kk4xazk39t] {
        margin-bottom: 12px;
    }

    .performance-generation-title[b-kk4xazk39t] {
        font-size: 1.8rem;
    }



    .performance-generation-chart-container[b-kk4xazk39t] {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .performance-generation[b-kk4xazk39t] {
        padding: 12px;
        max-width: 100%;
    }

    .performance-generation-title[b-kk4xazk39t] {
        font-size: 1.5rem;
    }



    .performance-generation-chart-container[b-kk4xazk39t] {
        height: 250px;
    }
}
/* _content/SumoWeb/Components/Modules/Performance/UltilityMonitoring/UltilityMonitoringOverview.razor.rz.scp.css */
.utility-monitoring-overview[b-nchil0dp2a] {
  background: transparent;
  padding: 0;
}

.umo-header[b-nchil0dp2a] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.umo-title[b-nchil0dp2a] {
  margin: 0;
  color: #f8c343;
  font-weight: 700;
}

.duration-info[b-nchil0dp2a] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duration-icon[b-nchil0dp2a] {
  width: 20px;
  height: 20px;
}

.duration-info-content[b-nchil0dp2a] {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.duration-text[b-nchil0dp2a] {
  color: var(--text-primary);
  font-size: 12px;
}

.duration-dates[b-nchil0dp2a] {
  color: var(--text-primary);
  font-size: 12px;
}

.umo-content[b-nchil0dp2a] {
  display: grid;
  grid-template-columns: 1fr 322px; /* sidebar width matches design */
  gap: 1.5rem;
}

.stats-grid[b-nchil0dp2a] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px; /* spacing between StatCards per design */
  min-width: 0;
}

/* Override StatCard size and look for this page (keep changes scoped) */
.utility-monitoring-overview[b-nchil0dp2a]  .stat-card {
  height: 227px;
  min-height: 227px;
  max-height: 227px;
  border-radius: 25px;
  background: var(--bg-tertiary);
  padding: 16px 20px;
}
.utility-monitoring-overview[b-nchil0dp2a]  .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #FFBF01;
}
.utility-monitoring-overview[b-nchil0dp2a]  .stat-main-value {
  font-size: 22px;
}

.umo-sidebar[b-nchil0dp2a] {
  position: sticky;
  top: 16px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 46px; /* vertical spacing between buttons */
  min-width: 0;
  width: 322px;
}

.side-btn[b-nchil0dp2a] {
  background: var(--bg-tertiary);
  color: #00DBC9;
  border: none;
  border-radius: 25px;
  padding: 0 18px;
  height: 67px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.08s ease;
  display: flex;
  align-items: center;
  justify-content: center; /* center text horizontally */
  text-align: center;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-btn:hover[b-nchil0dp2a] {
  background: #2B2F31;
  transform: translateX(2px);
}

.side-btn[b-nchil0dp2a]::after {
  content: none; /* remove trailing triangle */
}

.umo-table-section[b-nchil0dp2a] {
  margin-top: 24px;
}

/* Table card container - similar to Degradation.razor */
.umo-table-card[b-nchil0dp2a] {
  border-radius: 20px;
  padding: 24px;
  background: var(--bg-tertiary);
  margin-bottom: 32px;
}

.section-title[b-nchil0dp2a] {
  color: #f8c343;
  margin: 0 0 8px 0;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

/* Table border radius 20px - already handled by table-common */
.umo-table-card[b-nchil0dp2a]  .table-common {
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .umo-content[b-nchil0dp2a] { grid-template-columns: 1fr; }
  .umo-sidebar[b-nchil0dp2a] { position: static; }
  .stats-grid[b-nchil0dp2a] { grid-template-columns: 1fr; }
}


/* _content/SumoWeb/Components/Modules/PlantOverview/DegradationLoss.razor.rz.scp.css */
/* Degradation Loss Container */
.degradation-loss[b-3b9eb9ivmv] {
  background: var(--chart-container-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.25vw;
  margin-bottom: 1.67vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Header Section */
.degradation-loss_header[b-3b9eb9ivmv] {
  display: flex;
  flex-direction: column;
}

.degradation-loss-header-section[b-3b9eb9ivmv]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.degradation-loss_title[b-3b9eb9ivmv] {
  font-size: 24px;
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.degradation-loss_duration[b-3b9eb9ivmv] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.degradation-loss_date-range[b-3b9eb9ivmv] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px; /* Căn chỉnh với icon + gap */
  margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
  margin-bottom: 20px;
}

.duration-label[b-3b9eb9ivmv] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-3b9eb9ivmv] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* Chart Container */
.degradation-loss_chart-container[b-3b9eb9ivmv] {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .degradation-loss[b-3b9eb9ivmv] {
    padding: 20px;
    max-width: 100%;
  }

  .degradation-loss_chart-container[b-3b9eb9ivmv] {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .degradation-loss[b-3b9eb9ivmv] {
    padding: 16px;
    max-width: 100%;
  }

  .degradation-loss_header[b-3b9eb9ivmv] {
    margin-bottom: 12px;
  }

  .degradation-loss_title[b-3b9eb9ivmv] {
    font-size: 1.8rem;
  }

  .degradation-loss_chart-container[b-3b9eb9ivmv] {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .degradation-loss[b-3b9eb9ivmv] {
    padding: 12px;
    max-width: 100%;
  }

  .degradation-loss_title[b-3b9eb9ivmv] {
    font-size: 1.5rem;
  }

  .degradation-loss_chart-container[b-3b9eb9ivmv] {
    height: 250px;
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/DegradationRate.razor.rz.scp.css */
/* Degradation Rate Container */
.degradation-rate[b-zbhfaew3w1] {
  background: var(--chart-container-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.25vw;
  margin-bottom: 1.67vw;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Header Section */
.degradation-rate_header[b-zbhfaew3w1] {
  display: flex;
  flex-direction: column;
}

.degradation-rate-header-section[b-zbhfaew3w1]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.degradation-rate_title[b-zbhfaew3w1] {
  font-size: 24px;
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.degradation-rate_duration[b-zbhfaew3w1] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}


.degradation-rate_date-range[b-zbhfaew3w1] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px; /* Căn chỉnh với icon + gap */
  margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
  margin-bottom: 20px;
}

.duration-label[b-zbhfaew3w1] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-zbhfaew3w1] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

.degradation-rate_chart-container[b-zbhfaew3w1] {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: var(--bg-primary);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .degradation-rate[b-zbhfaew3w1] {
    padding: 20px;
    max-width: 100%;
  }


  .degradation-rate_chart-container[b-zbhfaew3w1] {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .degradation-rate[b-zbhfaew3w1] {
    padding: 16px;
    max-width: 100%;
  }

  .degradation-rate_header[b-zbhfaew3w1] {
    margin-bottom: 12px;
  }

  .degradation-rate_title[b-zbhfaew3w1] {
    font-size: 1.8rem;
  }



  .degradation-rate_chart-container[b-zbhfaew3w1] {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .degradation-rate[b-zbhfaew3w1] {
    padding: 12px;
    max-width: 100%;
  }

  .degradation-rate_title[b-zbhfaew3w1] {
    font-size: 1.5rem;
  }



  .degradation-rate_chart-container[b-zbhfaew3w1] {
    height: 250px;
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/GeneralHeader.razor.rz.scp.css */
.plant-overview-header[b-v6zr9am80e] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1vw;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 4.7vw;
  min-height: 60px;
  max-height: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.header-left[b-v6zr9am80e] {
  flex: 1;
}

.page-title[b-v6zr9am80e] {
  font-size: 38px; /* Cỡ chữ 38px cố định */
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 0.5vw 0;
  font-family: "Poppins", sans-serif;
}

.header-subtitle[b-v6zr9am80e] {
  display: flex;
  margin-bottom: 0.5vw;
}

.header-analysis[b-v6zr9am80e] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #02F300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.breadcrumb-link[b-v6zr9am80e] {
  color: #02F300 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

 .breadcrumb-link:hover[b-v6zr9am80e] {
  color: #04ff04;
  text-decoration: underline;
}

.header-portfolio[b-v6zr9am80e] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-v6zr9am80e] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.action-buttons[b-v6zr9am80e] {
  display: flex !important;
  gap: 0.75vw;
  align-items: center !important;
  justify-content: flex-end !important;
}

.action-icon-btn[b-v6zr9am80e] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 0.5vw;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6vw;
  height: 3.6vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-v6zr9am80e] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-v6zr9am80e] {
  width: 1.25vw;
  height: 1.25vw;
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.documentation-btn[b-v6zr9am80e] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 1.25vw;
  padding: 0.75vw 1.25vw;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 0.875vw, 16px);
  font-weight: 400;
  min-height: 2.5vw;
}

.documentation-btn:hover[b-v6zr9am80e] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.btn-text[b-v6zr9am80e] {
  white-space: nowrap;
}

/* Responsive cho màn hình nhỏ hơn 16:9 */
@media (max-width: 1200px) {
  .plant-overview-header[b-v6zr9am80e] {
    padding: 1.25vw;
    height: 70px;
    margin-bottom: 24px;
  }
  
  .page-title[b-v6zr9am80e] {
    font-size: 38px; /* Giữ nguyên 38px cho tablet */
  }
  
  .header-analysis[b-v6zr9am80e],
  .header-portfolio[b-v6zr9am80e] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }
  
  .action-icon-btn[b-v6zr9am80e] {
    width: 56px;
    height: 56px;
  }
  
  .action-icon-btn img[b-v6zr9am80e] {
    width: 20px;
    height: 20px;
  }
  
  .documentation-btn[b-v6zr9am80e] {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .plant-overview-header[b-v6zr9am80e] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    height: auto;
  }

  .header-actions[b-v6zr9am80e] {
    justify-content: center;
  }

  .action-buttons[b-v6zr9am80e] {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-title[b-v6zr9am80e] {
    font-size: 38px; /* Giữ nguyên 38px cho mobile */
  }

  .header-subtitle[b-v6zr9am80e] {
    justify-content: center;
  }

  .documentation-btn .btn-text[b-v6zr9am80e] {
    display: none;
  }

  .documentation-btn[b-v6zr9am80e] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-buttons[b-v6zr9am80e] {
    gap: 8px;
  }

  .action-icon-btn[b-v6zr9am80e],
  .documentation-btn[b-v6zr9am80e] {
    width: 48px;
    height: 48px;
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/GeneralInfo.razor.rz.scp.css */
/* Bộ lớp .actions-card / .action-* đã chuyển sang wwwroot/css/action-buttons.css.
   Để ở CSS scoped thì nút do component con render (ProjectPickerDropdown) không nhận
   được các rule thiếu ::deep — đó chính là lý do nút Project Overview từng lệch hàng. */

/* GeneralInfoCard Container */
.general-info-container[b-6x14jtykqn] {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.67vw;
}

/* PLANT INFO Section */
.plant-info-section[b-6x14jtykqn] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plant-name[b-6x14jtykqn] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.plant-location[b-6x14jtykqn] {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 14px; /* Cỡ chữ 14px cố định */
  opacity: 0.8;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.location-icon[b-6x14jtykqn] {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text-primary);
}

/* MAIN CONTENT (3 COLUMNS) */
.main-content[b-6x14jtykqn] {
  display: flex;
  gap: 2vw;
  width: 100%;
  height: 42vh;
}

/* Left Column - LOCATION CARD */
.location-card[b-6x14jtykqn] {
  flex: 1;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plant-image[b-6x14jtykqn] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Middle Column - DETAILS CARD */
/* Căn đều 4 info-row, mỗi row chiếm 1 phần bằng nhau, căn giữa nội dung */
.details-card[b-6x14jtykqn] {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5vw;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.details-card .info-row[b-6x14jtykqn] {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.info-row[b-6x14jtykqn] {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.info-row:last-child[b-6x14jtykqn] {
  border-bottom: none;
}

.info-label[b-6x14jtykqn] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.info-value[b-6x14jtykqn] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: #00FF66;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .general-info-container[b-6x14jtykqn] {
    padding: 2vw;
    gap: 2vw;
  }
  
  .main-content[b-6x14jtykqn] {
    flex-direction: column;
    gap: 2vw;
    height: auto;
  }
  
  .image-card[b-6x14jtykqn],
  .details-card[b-6x14jtykqn],
  
  .image-card[b-6x14jtykqn] {
    height: 35vh;
  }
  
  .details-card[b-6x14jtykqn] {
    height: auto;
    padding: 2vw;
    gap: 1.5vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  
  .plant-name[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .plant-location[b-6x14jtykqn] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
  }
  
  .info-row[b-6x14jtykqn] {
    padding: 1vw 0;
  }
  
  .info-label[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .info-value[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
}

@media (max-width: 768px) {
  .general-info-container[b-6x14jtykqn] {
    padding: 1.5vw;
    gap: 1.5vw;
  }
  
  .main-content[b-6x14jtykqn] {
    gap: 1.5vw;
  }
  
  .image-card[b-6x14jtykqn] {
    height: 30vh;
  }
  
  .plant-name[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .plant-location[b-6x14jtykqn] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile */
  }
  
  .details-card[b-6x14jtykqn] {
    padding: 1.5vw;
    gap: 1.2vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-6x14jtykqn] {
    padding: 0.8vw 0;
  }
  
  .info-label[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .info-value[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
}

@media (max-width: 480px) {
  .general-info-container[b-6x14jtykqn] {
    padding: 1vw;
    gap: 1vw;
  }
  
  .main-content[b-6x14jtykqn] {
    gap: 1vw;
  }
  
  .image-card[b-6x14jtykqn] {
    height: 25vh;
  }
  
  .plant-name[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .plant-location[b-6x14jtykqn] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile nhỏ */
  }
  
  .details-card[b-6x14jtykqn] {
    padding: 1vw;
    gap: 1vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-6x14jtykqn] {
    padding: 0.6vw 0;
  }
  
  .info-label[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .info-value[b-6x14jtykqn] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/Generation.razor.rz.scp.css */
/* ===== GENERATION COMPONENT STYLES ===== */

/* Main Container */
.generation-container[b-u6njnk12e7] {
  background: var(--chart-container-bg) !important; /* Màu nền giống Performance */
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important; /* 24px trên màn 1920px */
  margin-bottom: 1.67vw !important; /* 32px trên màn 1920px */
  width: 100% !important;
  max-height: 65vh !important; /* Tăng để chứa chart 485px + header + legend */
  height: 65vh !important;
  box-sizing: border-box !important;
  overflow: hidden !important; /* Giống Performance */
  opacity: 100%;
}

/* Header Section */
.generation-header[b-u6njnk12e7] {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.generation-title[b-u6njnk12e7] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.generation-duration[b-u6njnk12e7] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}


.generation-date-range[b-u6njnk12e7] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px;
  margin-top: 4px;
}

/* Content Section */
.generation-content[b-u6njnk12e7] {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 20px;
  max-height: 44.9vh; /* Tăng để chứa chart 485px + header + legend */
  height: 100%;
  overflow: visible;
}

/* Chart Section - Removed chart-section wrapper */

.chart-header[b-u6njnk12e7] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.generation-title-section[b-u6njnk12e7] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-title[b-u6njnk12e7] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-caption[b-u6njnk12e7] {
  font-size: 12px; /* Cỡ chữ 12px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

/* Chart container removed - AreaChart displays directly */

/* Chart Legend */
.chart-legend[b-u6njnk12e7] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; /* Bỏ margin vì đã có gap */
  width: 100%;
  flex-shrink: 0; /* Ngăn legend bị shrink */
  height: 24px; /* Chiều cao cố định cho legend */
}

.legend-item[b-u6njnk12e7] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot[b-u6njnk12e7] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #02F300; /* Khớp với màu chart mới */
  flex-shrink: 0;
}

.legend-text[b-u6njnk12e7] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

/* Area Chart */
.area-chart-container[b-u6njnk12e7] {
  width: 100%;
  flex-shrink: 0;
  margin: 0;
}

.area-chart-container canvas[b-u6njnk12e7] {
  width: 100% !important;
  height: 100% !important;
}

.duration-label[b-u6njnk12e7] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}
.duration-icon[b-u6njnk12e7] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .generation-container[b-u6njnk12e7] {
    padding: 20px;
    max-width: 100%;
  }

  .generation-content[b-u6njnk12e7] {
    min-height: 44.9vh;
    height: auto;
    padding: 16px;
    gap: 6px;
    background-color: #0F1419;
  }

  /* Chart container removed */

  .chart-title[b-u6njnk12e7] {
    font-size: 1rem;
  }

  .chart-caption[b-u6njnk12e7] {
    font-size: 0.85rem;
  }

  .area-chart-container[b-u6njnk12e7] {
    height: 420px; /* Chiều cao phù hợp cho tablet */
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .generation-container[b-u6njnk12e7] {
    padding: 16px;
    max-width: 100%;
  }

  .generation-header[b-u6njnk12e7] {
    margin-bottom: 18px;
  }

  .generation-title[b-u6njnk12e7] {
    font-size: 1.8rem;
  }

  .generation-duration[b-u6njnk12e7],
  .generation-date-range[b-u6njnk12e7] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
  }

  .generation-content[b-u6njnk12e7] {
    min-height: 400px;
    height: auto;
    padding: 12px;
    gap: 8px;
  }

  /* Chart container removed */

  .chart-title[b-u6njnk12e7] {
    font-size: 0.95rem;
  }

  .chart-caption[b-u6njnk12e7] {
    font-size: 0.8rem;
  }

  .area-chart-container[b-u6njnk12e7] {
    height: 350px; /* Chiều cao phù hợp cho mobile */
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .generation-container[b-u6njnk12e7] {
    padding: 12px;
    max-width: 100%;
  }

  .generation-header[b-u6njnk12e7] {
    margin-bottom: 16px;
  }

  .generation-title[b-u6njnk12e7] {
    font-size: 1.5rem;
  }

  .generation-duration[b-u6njnk12e7],
  .generation-date-range[b-u6njnk12e7] {
    font-size: 0.9rem;
  }

  .generation-content[b-u6njnk12e7] {
    min-height: 240px;
    height: auto;
    padding: 10px;
    gap: 6px;
  }

  /* Chart container removed */

  .chart-title[b-u6njnk12e7] {
    font-size: 0.9rem;
  }

  .chart-caption[b-u6njnk12e7] {
    font-size: 0.75rem;
  }

  .area-chart-container[b-u6njnk12e7] {
    height: 150px; /* Chiều cao phù hợp cho mobile nhỏ */
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/HourGenerationProfile.razor.rz.scp.css */
/* Hour Generation Profile Container */
.hour-generation-container[b-axd3yycoy5] {
  background: var(--chart-container-bg) !important; /* Màu nền giống Generation */
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important; /* 24px trên màn 1920px */
  margin-bottom: 1.67vw !important; /* 32px trên màn 1920px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important; /* Giống Generation */
  opacity: 100%;
}

/* Header Section */
.hour-generation-header[b-axd3yycoy5] {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.hour-generation-title[b-axd3yycoy5] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.duration-info-container[b-axd3yycoy5] {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-axd3yycoy5] {
  margin-top: 2px; /* Align with first line of text */
}

.duration-text-container[b-axd3yycoy5] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duration-dates[b-axd3yycoy5] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-top: 4px;
}

/* Content Section */
.hour-generation-content[b-axd3yycoy5] {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 20px;
  max-height: 44.9vh; /* Tăng để chứa chart + header + legend */
  height: auto;
  overflow: visible;
}

/* Chart Section */
.chart-section[b-axd3yycoy5] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.chart-header[b-axd3yycoy5] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hour-generation-header-section[b-axd3yycoy5]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title[b-axd3yycoy5] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-caption[b-axd3yycoy5] {
  font-size: 12px; /* Cỡ chữ 12px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

/* Chart Container - Apply to GroupBarChart directly */
.group-bar-chart-container[b-axd3yycoy5] {
  width: 100%;
  height: 14.58vw !important; /* 280px trên màn 1920px = 14.58vw */
  flex-shrink: 0;
  margin: 0;
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #404040;
}

/* Override canvas height - Force height for Chart.js */
.group-bar-chart-canvas[b-axd3yycoy5] {
  height: 14.58vw !important;
  max-height: 14.58vw !important;
  min-height: 14.58vw !important;
}

/* Force canvas container height */
.group-bar-chart-container canvas[b-axd3yycoy5] {
  height: 14.58vw !important;
  max-height: 14.58vw !important;
  min-height: 14.58vw !important;
}

/* Chart Legend */
.chart-legend[b-axd3yycoy5] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; /* Bỏ margin vì đã có gap */
  width: 100%;
  flex-shrink: 0; /* Ngăn legend bị shrink */
  height: 24px; /* Chiều cao cố định cho legend */
}

.legend-item[b-axd3yycoy5] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot[b-axd3yycoy5] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #F97316; /* Màu cam #F97316 */
  flex-shrink: 0;
}

.legend-text[b-axd3yycoy5] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-label[b-axd3yycoy5] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-axd3yycoy5] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .hour-generation-container[b-axd3yycoy5] {
    padding: 20px;
    max-width: 100%;
  }

  .hour-generation-content[b-axd3yycoy5] {
    min-height: 44.9vh;
    height: auto;
    padding: 16px;
    gap: 6px;
    background-color: #0F1419;
  }

  .group-bar-chart-container[b-axd3yycoy5] {
    height: 20.83vw !important; /* 200px trên màn 960px = 20.83vw */
  }
  
  .group-bar-chart-canvas[b-axd3yycoy5] {
    height: 20.83vw !important;
    max-height: 20.83vw !important;
    min-height: 20.83vw !important;
  }
  
  .group-bar-chart-container canvas[b-axd3yycoy5] {
    height: 20.83vw !important;
    max-height: 20.83vw !important;
    min-height: 20.83vw !important;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .hour-generation-container[b-axd3yycoy5] {
    padding: 16px;
    max-width: 100%;
  }

  .hour-generation-header[b-axd3yycoy5] {
    margin-bottom: 18px;
  }

  .hour-generation-title[b-axd3yycoy5] {
    font-size: 1.8rem;
  }

  .duration-info-container[b-axd3yycoy5] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }

  .hour-generation-content[b-axd3yycoy5] {
    min-height: 400px;
    height: auto;
    padding: 12px;
    gap: 8px;
  }

  .group-bar-chart-container[b-axd3yycoy5] {
    height: 23.44vw !important; /* 180px trên màn 768px = 23.44vw */
  }
  
  .group-bar-chart-canvas[b-axd3yycoy5] {
    height: 23.44vw !important;
    max-height: 23.44vw !important;
    min-height: 23.44vw !important;
  }
  
  .group-bar-chart-container canvas[b-axd3yycoy5] {
    height: 23.44vw !important;
    max-height: 23.44vw !important;
    min-height: 23.44vw !important;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .hour-generation-container[b-axd3yycoy5] {
    padding: 12px;
    max-width: 100%;
  }

  .hour-generation-header[b-axd3yycoy5] {
    margin-bottom: 16px;
  }

  .hour-generation-title[b-axd3yycoy5] {
    font-size: 1.5rem;
  }

  .duration-info-container[b-axd3yycoy5] {
    font-size: 0.9rem;
  }

  .hour-generation-content[b-axd3yycoy5] {
    min-height: 240px;
    height: auto;
    padding: 10px;
    gap: 6px;
  }

  .group-bar-chart-container[b-axd3yycoy5] {
    height: 33.33vw !important; /* 160px trên màn 480px = 33.33vw */
  }
  
  .group-bar-chart-canvas[b-axd3yycoy5] {
    height: 33.33vw !important;
    max-height: 33.33vw !important;
    min-height: 33.33vw !important;
  }
  
  .group-bar-chart-container canvas[b-axd3yycoy5] {
    height: 33.33vw !important;
    max-height: 33.33vw !important;
    min-height: 33.33vw !important;
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/LossSummary.razor.rz.scp.css */
.loss-summary[b-efphrso74v] {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--chart-container-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important;
  margin-bottom: 1.67vw !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.loss-summary_title[b-efphrso74v] {
  font-size: 24px;
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_duration[b-efphrso74v] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.loss-summary-header-section[b-efphrso74v]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loss-summary_date-range[b-efphrso74v] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px; /* Căn chỉnh với icon + gap */
  margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
  margin-bottom: 20px;
}

/* Second header section for Breakdown & Location */
.loss-summary_header--breakdown[b-efphrso74v] {
  margin-bottom: 16px;
}

.loss-summary_title--breakdown[b-efphrso74v] {
  font-size: 16px !important;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_subtitle[b-efphrso74v] {
  font-size: 12px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-top: 4px;
  opacity: 0.8;
}

.loss-summary_row--full[b-efphrso74v] {
  width: 100%;
}

.loss-summary-stacked-chart[b-efphrso74v] {
  width: 100%;
  padding: 20px;
  background-color: var(--chart-background);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.loss-summary-pie-chart[b-efphrso74v] {
  width: 100%;
  padding: 20px;
  background-color: var(--chart-background);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.loss-summary-header[b-efphrso74v] {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.loss-summary_chart-title[b-efphrso74v] {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_chart-subtitle[b-efphrso74v] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  opacity: 0.8;
}

.loss-summary_caption[b-efphrso74v] {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 6px;
}

.loss-summary_row--split[b-efphrso74v] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loss-summary_cards-row[b-efphrso74v] {
  display: grid;
  gap: 12px;
}
.loss-summary_cards-row--top[b-efphrso74v] { grid-template-columns: repeat(3, 1fr); }
.loss-summary_cards-row--bottom[b-efphrso74v] {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px; /* gap giữa hai hàng */
}
.loss-summary_spacer[b-efphrso74v] { visibility: hidden; }

.duration-label[b-efphrso74v] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-efphrso74v] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .loss-summary[b-efphrso74v] {
    padding: 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .loss-summary[b-efphrso74v] {
    padding: 16px;
    max-width: 100%;
  }
  
  .loss-summary_header[b-efphrso74v] {
    margin-bottom: 12px;
  }
  
  .loss-summary_title[b-efphrso74v] {
    font-size: 1.8rem;
  }
  
  .loss-summary_row--split[b-efphrso74v] {
    grid-template-columns: 1fr;
  }
  .loss-summary_cards-row--top[b-efphrso74v] { grid-template-columns: 1fr; }
  .loss-summary_cards-row--bottom[b-efphrso74v] { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .loss-summary[b-efphrso74v] {
    padding: 12px;
    max-width: 100%;
  }
  
  .loss-summary_title[b-efphrso74v] {
    font-size: 1.5rem;
  }
}



.loss-summary_actions[b-efphrso74v] {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Liên kết sang Loss Overview của dự án này (07/10/2026). */
.loss-summary_link[b-efphrso74v] {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: background .18s ease, color .18s ease;
}

.loss-summary_link:hover[b-efphrso74v] {
  color: var(--text-primary);
  background: var(--bg-hover);
}
/* _content/SumoWeb/Components/Modules/PlantOverview/Performance.razor.rz.scp.css */
.performance-container[b-sfr7urmyn9] {
  background: var(--chart-container-bg) !important; /* Màu nền theo hình mong muốn */
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important; /* Corner radius 20px */
  padding: 1.25vw !important; /* 24px trên màn 1920px */
  margin-bottom: 1.67vw !important; /* 32px trên màn 1920px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  height: 80vh !important; /* Responsive theo viewport height */
  min-height: 400px !important; /* Giảm min-height */
  box-sizing: border-box !important;
  overflow: hidden !important; /* Ngăn tràn ngoài */
  opacity: 100%;
}

/* Header Section */
.performance-header[b-sfr7urmyn9] {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px; /* Thêm margin-bottom để tạo khoảng cách với content */
}

.performance-header-section[b-sfr7urmyn9]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.performance-title[b-sfr7urmyn9] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.performance-duration[b-sfr7urmyn9] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}


.performance-date-range[b-sfr7urmyn9] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px; /* Căn chỉnh với icon + gap */
  margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
}

/* Content Section - 2 Columns Grid */
/* Tối ưu grid: dùng fr, cho phép co nhỏ tối đa, tránh cắt chart */
/* Chuyển sang flex, giữ layout 30-70, vẫn responsive */
/* Đảm bảo hai cột luôn cùng chiều cao */
.performance-content[b-sfr7urmyn9] {
  display: flex;
  flex-direction: row;
  gap: clamp(16px, 2%, 32px);
  height: 85%;
  min-height: clamp(300px, 40vh, 600px);
  align-items: stretch;
  overflow: hidden;
}

/* Luôn fill 100% chiều cao parent */
.left-column[b-sfr7urmyn9] {
  flex: 0 1 30%;
  min-width: 0;
  max-width: 40%;
  height: 100%;
}
/* Luôn fill 100% chiều cao parent */
.right-column[b-sfr7urmyn9] {
  flex: 1 1 70%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
}

.left-column[b-sfr7urmyn9], .right-column[b-sfr7urmyn9] {
  min-width: 0; /* Cho phép co nhỏ tối đa khi thu cửa sổ */
}

/* Left Column - StatCards */
.left-column[b-sfr7urmyn9] {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2%, 32px); /* Responsive gap */
  height: 100%; /* Chiếm toàn bộ chiều cao */
  justify-content: space-between; /* Phân bố đều không gian */
}

.stat-section[b-sfr7urmyn9] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1; /* Chia đều không gian cho 2 stat-section */
  min-height: 0; /* Cho phép flex shrink */
}

.stat-section-header[b-sfr7urmyn9] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-section-title[b-sfr7urmyn9] {
  font-size: 16px; /* Cỡ chữ 14px cố định */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.stat-info-icon[b-sfr7urmyn9] {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.stat-info-icon:hover[b-sfr7urmyn9] {
  opacity: 1;
}

.stat-section-caption[b-sfr7urmyn9] {
  font-size: 12px; /* Cỡ chữ 12px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

.stat-card-container[b-sfr7urmyn9]{
  height: 100%;
}
/* StatCard Container - Ẩn header bên trong StatCard */
.stat-card-container[b-sfr7urmyn9]  .stat-card {
  background: var(--bg-primary);
  border-radius: 16px;
  height: 100%;
}

/* Ẩn header bên trong StatCard */
.stat-card-container .stat-card .stat-header[b-sfr7urmyn9] {
  display: none;
}

/* Ẩn subtitle bên trong StatCard */
.stat-card-container .stat-card .stat-subtitle[b-sfr7urmyn9] {
  display: none;
}

/* Chỉ hiển thị main value và trend */
.stat-card-container .stat-card .stat-main-value[b-sfr7urmyn9] {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.5rem); /* Responsive font-size */
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.5%, 8px); /* Responsive gap */
  flex: 1;
  align-self: center;
  min-height: clamp(40px, 8vh, 80px); /* Responsive min-height */
}

.stat-card-container .stat-card .stat-trend[b-sfr7urmyn9] {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.5%, 8px); /* Responsive gap */
  font-size: clamp(0.8rem, 1.5vw, 1.2rem); /* Responsive font-size */
  font-weight: 500;
  padding: clamp(8px, 1%, 16px) clamp(10px, 1.2%, 20px); /* Responsive padding */
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  margin-top: auto; /* Đẩy xuống dưới cùng */
  min-height: clamp(24px, 4vh, 48px); /* Responsive min-height */
}

/* Right Column - Line Chart */
/* Đảm bảo right-column co giãn tốt, không bị cắt chart */
.right-column[b-sfr7urmyn9] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  align-self: stretch;
}


/* Chart Section trong Performance - Ẩn header và caption của LineChart */
.right-column .line-chart-section[b-sfr7urmyn9] {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0px;
}

.right-column .chart-header[b-sfr7urmyn9] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.right-column .chart-title[b-sfr7urmyn9] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  font-weight: 600;
  color: #ffbf01; /* Màu vàng như title khác */
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.right-column .chart-info-icon[b-sfr7urmyn9] {
  font-size: clamp(12px, 1.5vw, 20px); /* Responsive font-size */
  color: var(--text-primary);
  cursor: pointer;
}

.right-column .chart-caption[b-sfr7urmyn9] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

.right-column .chart-canvas[b-sfr7urmyn9] {
  width: 100% !important;
  height: 100% !important;
}

.duration-label[b-sfr7urmyn9] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-sfr7urmyn9] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .performance-container[b-sfr7urmyn9] {
    padding: 20px;
    gap: 20px;
    max-width: 100% !important;
  }
  .performance-header[b-sfr7urmyn9] {
    margin-bottom: 20px;
  }
  .performance-content[b-sfr7urmyn9] {
    flex-direction: column;
    gap: 20px;
  }
  .left-column[b-sfr7urmyn9], .right-column[b-sfr7urmyn9] {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .left-column[b-sfr7urmyn9] {
    gap: 20px;
    height: 100%;
    justify-content: flex-start;
  }
  .stat-card-container .stat-card[b-sfr7urmyn9] {
    padding: 28px 20px;
    min-height: 140px;
  }
  .stat-card-container .stat-card .stat-main-value[b-sfr7urmyn9] {
    font-size: 2.2rem;
    min-height: 70px;
  }
  .stat-card-container .stat-card .stat-trend[b-sfr7urmyn9] {
    font-size: 0.95rem;
    padding: 10px 14px;
    min-height: 36px;
  }
  .right-column[b-sfr7urmyn9] {
    height: 100%;
    min-height: 300px;
  }
  .right-column .chart-container[b-sfr7urmyn9] {
    padding: 20px;
    min-height: 35vh;
    max-height: 50vh;
  }
  .right-column .chart-title[b-sfr7urmyn9] {
    font-size: 16px;
  }
  .right-column .chart-caption[b-sfr7urmyn9] {
    font-size: 16px;
  }
  .right-column .chart-wrapper[b-sfr7urmyn9] {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .performance-container[b-sfr7urmyn9] {
    padding: 16px;
    gap: 16px;
    max-width: 100% !important; /* Đảm bảo không tràn trên mobile */
  }

  .performance-header[b-sfr7urmyn9] {
    margin-bottom: 18px; /* Giảm margin cho mobile */
  }

  .performance-title[b-sfr7urmyn9] {
    font-size: 24px; /* Giữ nguyên 24px cho tablet */
  }

  .performance-duration[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }

  .performance-date-range[b-sfr7urmyn9] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
    margin-left: 30px;
  }

  .stat-section-title[b-sfr7urmyn9] {
    font-size: 14px; /* Giữ nguyên 16px cho tablet */
  }

  .stat-section-caption[b-sfr7urmyn9] {
    font-size: 10px; /* Giữ nguyên 16px cho tablet */
  }

  .right-column[b-sfr7urmyn9] {
    height: 40vh;
    min-height: 20vh;
  }

  .right-column .chart-container[b-sfr7urmyn9] {
    min-height: 30vh;
    max-height: 45vh;
  }
  
  .right-column .chart-title[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho mobile */
  }
  
  .right-column .chart-caption[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho mobile */
  }
  
  .right-column .chart-wrapper[b-sfr7urmyn9] {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .performance-container[b-sfr7urmyn9] {
    padding: 12px;
    gap: 12px;
    max-width: 100% !important; /* Đảm bảo không tràn trên mobile nhỏ */
  }

  .performance-header[b-sfr7urmyn9] {
    margin-bottom: 12px; /* Giảm margin cho mobile nhỏ */
  }

  .performance-title[b-sfr7urmyn9] {
    font-size: 24px; /* Giữ nguyên 24px cho mobile */
  }

  .performance-duration[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho mobile */
  }

  .performance-date-range[b-sfr7urmyn9] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile */
    margin-left: 30px;
  }

  .left-column[b-sfr7urmyn9] {
    gap: 18px; /* Tăng gap cho mobile */
    height: auto;
    justify-content: flex-start; /* Reset justify-content cho mobile */
  }

  .stat-card-container .stat-card[b-sfr7urmyn9] {
    padding: 24px 16px; /* Giảm padding cho mobile */
    min-height: 120px;
  }

  .stat-card-container .stat-card .stat-main-value[b-sfr7urmyn9] {
    font-size: 2rem; /* Giảm font-size cho mobile */
    min-height: 60px;
  }

  .stat-card-container .stat-card .stat-trend[b-sfr7urmyn9] {
    font-size: 0.9rem;
    padding: 8px 12px;
    min-height: 32px;
  }

  .right-column[b-sfr7urmyn9] {
    height: 300px;
    min-height: 200px;
  }

  .right-column .chart-container[b-sfr7urmyn9] {
    padding: 12px;
    min-height: 25vh;
    max-height: 40vh;
  }
  
  .right-column .chart-title[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho mobile nhỏ */
  }
  
  .right-column .chart-caption[b-sfr7urmyn9] {
    font-size: 16px; /* Giữ nguyên 16px cho mobile nhỏ */
  }
  
  .right-column .chart-wrapper[b-sfr7urmyn9] {
    min-height: 150px;
  }
}
/* _content/SumoWeb/Components/Modules/PlantOverview/ProjectInfo.razor.rz.scp.css */
.section[b-bib4kvua55] {
    margin-bottom: 40px;
    border-radius: 16px;
    padding: 12px 24px 12px 24px;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
/* _content/SumoWeb/Components/Modules/ProjectOverview/ProjectGeneralHeader.razor.rz.scp.css */
.plant-overview-header[b-mgf5okb44a] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1vw;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 4.7vw;
  min-height: 60px;
  max-height: 100px;
  max-width: 100%;
  box-sizing: border-box;
}

.header-left[b-mgf5okb44a] {
  flex: 1;
}

.page-title[b-mgf5okb44a] {
  font-size: 38px; /* Cỡ chữ 38px cố định */
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 0.5vw 0;
  font-family: "Poppins", sans-serif;
}

.header-subtitle[b-mgf5okb44a] {
  display: flex;
  margin-bottom: 0.5vw;
}

.header-analysis[b-mgf5okb44a] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: #02F300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.breadcrumb-link[b-mgf5okb44a] {
  color: #02F300 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

 .breadcrumb-link:hover[b-mgf5okb44a] {
  color: #04ff04;
  text-decoration: underline;
}

.header-portfolio[b-mgf5okb44a] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-mgf5okb44a] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.action-buttons[b-mgf5okb44a] {
  display: flex !important;
  gap: 0.75vw;
  align-items: center !important;
  justify-content: flex-end !important;
}

.action-icon-btn[b-mgf5okb44a] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 0.5vw;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6vw;
  height: 3.6vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-mgf5okb44a] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-mgf5okb44a] {
  width: 1.25vw;
  height: 1.25vw;
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.documentation-btn[b-mgf5okb44a] {
  background: var(--bg-active);
  border: 1px solid var(--border-color);
  border-radius: 1.25vw;
  padding: 0.75vw 1.25vw;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: clamp(12px, 0.875vw, 16px);
  font-weight: 400;
  min-height: 2.5vw;
}

.documentation-btn:hover[b-mgf5okb44a] {
    background: #404040;
    border-color: #555;
    transform: translateY(-1px);
}

.btn-text[b-mgf5okb44a] {
  white-space: nowrap;
}

/* Responsive cho màn hình nhỏ hơn 16:9 */
@media (max-width: 1200px) {
  .plant-overview-header[b-mgf5okb44a] {
    padding: 1.25vw;
    height: 70px;
    margin-bottom: 24px;
  }
  
  .page-title[b-mgf5okb44a] {
    font-size: 38px; /* Giữ nguyên 38px cho tablet */
  }
  
  .header-analysis[b-mgf5okb44a],
  .header-portfolio[b-mgf5okb44a] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }
  
  .action-icon-btn[b-mgf5okb44a] {
    width: 56px;
    height: 56px;
  }
  
  .action-icon-btn img[b-mgf5okb44a] {
    width: 20px;
    height: 20px;
  }
  
  .documentation-btn[b-mgf5okb44a] {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .plant-overview-header[b-mgf5okb44a] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    height: auto;
  }

  .header-actions[b-mgf5okb44a] {
    justify-content: center;
  }

  .action-buttons[b-mgf5okb44a] {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-title[b-mgf5okb44a] {
    font-size: 38px; /* Giữ nguyên 38px cho mobile */
  }

  .header-subtitle[b-mgf5okb44a] {
    justify-content: center;
  }

  .documentation-btn .btn-text[b-mgf5okb44a] {
    display: none;
  }

  .documentation-btn[b-mgf5okb44a] {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .action-buttons[b-mgf5okb44a] {
    gap: 8px;
  }

  .action-icon-btn[b-mgf5okb44a],
  .documentation-btn[b-mgf5okb44a] {
    width: 48px;
    height: 48px;
  }
}
/* _content/SumoWeb/Components/Modules/ProjectOverview/ProjectGeneralInfo.razor.rz.scp.css */
/* Bộ lớp .actions-card / .action-* đã chuyển sang wwwroot/css/action-buttons.css.
   Để ở CSS scoped thì nút do component con render (ProjectPickerDropdown) không nhận
   được các rule thiếu ::deep — đó chính là lý do nút Project Overview từng lệch hàng. */

/* GeneralInfoCard Container */
.general-info-container[b-wubfb8phrs] {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.67vw;
}

/* PLANT INFO Section */
.plant-info-section[b-wubfb8phrs] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plant-name[b-wubfb8phrs] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.plant-location[b-wubfb8phrs] {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 14px; /* Cỡ chữ 14px cố định */
  opacity: 0.8;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.location-icon[b-wubfb8phrs] {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text-primary);
}

/* MAIN CONTENT (3 COLUMNS) */
.main-content[b-wubfb8phrs] {
  display: flex;
  gap: 1.5vw; /* reduce gap so cards can be wider */
  width: 100%;
  height: 45vh; /* increased height to allow taller stat cards */
}

/* Left Column - LOCATION CARD */
.location-card[b-wubfb8phrs] {
  flex: 1;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--chart-container-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plant-image[b-wubfb8phrs] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Middle Column - DETAILS CARD */
/* Căn đều 4 info-row, mỗi row chiếm 1 phần bằng nhau, căn giữa nội dung */
.details-card[b-wubfb8phrs] {
  flex: 1;
  background: var(--chart-container-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5vw;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.details-card .info-row[b-wubfb8phrs] {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.info-row[b-wubfb8phrs] {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.info-row:last-child[b-wubfb8phrs] {
  border-bottom: none;
}

.info-label[b-wubfb8phrs] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.info-value[b-wubfb8phrs] {
  font-size: 20px; /* Cỡ chữ 20px cố định */
  color: #00FF66;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* Mũi tên ▾ của dropdown, ăn theo màu chữ của nút. */

.stats-grid[b-wubfb8phrs] {
  flex: 3; /* allocate a bit more width than actions-card */
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1vw; /* slightly smaller gap to widen cards */
  min-width: 0;
  overflow: hidden;
}

/* Override StatCard size and look for this page (keep changes scoped) */
.main-content[b-wubfb8phrs]  .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 25px;
  background: var(--bg-tertiary);
  padding: 16px 20px;
  height: 100%; /* fill the grid cell */
  min-height: 240px; /* ensure increased card height */
  min-height: 0; /* allow shrinking if needed */
  box-sizing: border-box;
}
.main-content[b-wubfb8phrs]  .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #FFBF01;
}
.main-content[b-wubfb8phrs]  .stat-main-value {
  font-size: 22px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .general-info-container[b-wubfb8phrs] {
    padding: 2vw;
    gap: 2vw;
  }
  
  .main-content[b-wubfb8phrs] {
    flex-direction: column;
    gap: 2vw;
    height: auto;
  }
  
  .image-card[b-wubfb8phrs],
  .details-card[b-wubfb8phrs],
  
  .image-card[b-wubfb8phrs] {
    height: 35vh;
  }
  
  .details-card[b-wubfb8phrs] {
    height: auto;
    padding: 2vw;
    gap: 1.5vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  
  .plant-name[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .plant-location[b-wubfb8phrs] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
  }
  
  .info-row[b-wubfb8phrs] {
    padding: 1vw 0;
  }
  
  .info-label[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
  
  .info-value[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho tablet */
  }
}

@media (max-width: 768px) {
  .general-info-container[b-wubfb8phrs] {
    padding: 1.5vw;
    gap: 1.5vw;
  }
  
  .main-content[b-wubfb8phrs] {
    gap: 1.5vw;
  }
  
  .image-card[b-wubfb8phrs] {
    height: 30vh;
  }
  
  .plant-name[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .plant-location[b-wubfb8phrs] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile */
  }
  
  .details-card[b-wubfb8phrs] {
    padding: 1.5vw;
    gap: 1.2vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-wubfb8phrs] {
    padding: 0.8vw 0;
  }
  
  .info-label[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
  
  .info-value[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile */
  }
}

@media (max-width: 480px) {
  .general-info-container[b-wubfb8phrs] {
    padding: 1vw;
    gap: 1vw;
  }
  
  .main-content[b-wubfb8phrs] {
    gap: 1vw;
  }
  
  .image-card[b-wubfb8phrs] {
    height: 25vh;
  }
  
  .plant-name[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .plant-location[b-wubfb8phrs] {
    font-size: 14px; /* Giữ nguyên 14px cho mobile nhỏ */
  }
  
  .details-card[b-wubfb8phrs] {
    padding: 1vw;
    gap: 1vw;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .info-row[b-wubfb8phrs] {
    padding: 0.6vw 0;
  }
  
  .info-label[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
  
  .info-value[b-wubfb8phrs] {
    font-size: 20px; /* Giữ nguyên 20px cho mobile nhỏ */
  }
}
/* _content/SumoWeb/Components/Modules/ProjectOverview/ProjectGeneration.razor.rz.scp.css */
/* ===== GENERATION COMPONENT STYLES ===== */

/* Main Container */
.generation-container[b-mcd534to1a] {
  background: var(--chart-container-bg) !important; /* Màu nền giống Performance */
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important; /* 24px trên màn 1920px */
  margin-bottom: 1.67vw !important; /* 32px trên màn 1920px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  max-height: 65vh !important; /* Tăng để chứa chart 485px + header + legend */
  height: 65vh !important;
  box-sizing: border-box !important;
  overflow: hidden !important; /* Giống Performance */
  opacity: 100%;
}

/* Header Section */
.generation-header[b-mcd534to1a] {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.generation-title[b-mcd534to1a] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.generation-duration[b-mcd534to1a] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}


.generation-date-range[b-mcd534to1a] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px;
  margin-top: 4px;
}

/* Content Section */
.generation-content[b-mcd534to1a] {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 20px;
  max-height: 44.9vh; /* Tăng để chứa chart 485px + header + legend */
  height: 100%;
  overflow: visible;
}

/* Chart Section - Removed chart-section wrapper */

.chart-header[b-mcd534to1a] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.generation-title-section[b-mcd534to1a] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-title[b-mcd534to1a] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-caption[b-mcd534to1a] {
  font-size: 12px; /* Cỡ chữ 12px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

/* Chart container removed - AreaChart displays directly */

/* Chart Legend */
.chart-legend[b-mcd534to1a] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; /* Bỏ margin vì đã có gap */
  width: 100%;
  flex-shrink: 0; /* Ngăn legend bị shrink */
  height: 24px; /* Chiều cao cố định cho legend */
}

.legend-item[b-mcd534to1a] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot[b-mcd534to1a] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #02F300; /* Khớp với màu chart mới */
  flex-shrink: 0;
}

.legend-text[b-mcd534to1a] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

/* Area Chart */
.area-chart-container[b-mcd534to1a] {
  width: 100%;
  flex-shrink: 0;
  margin: 0;
}

.area-chart-container canvas[b-mcd534to1a] {
  width: 100% !important;
  height: 100% !important;
}

.duration-label[b-mcd534to1a] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}
.duration-icon[b-mcd534to1a] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .generation-container[b-mcd534to1a] {
    padding: 20px;
    max-width: 100%;
  }

  .generation-content[b-mcd534to1a] {
    min-height: 44.9vh;
    height: auto;
    padding: 16px;
    gap: 6px;
    background-color: var(--bg-primary);
  }

  /* Chart container removed */

  .chart-title[b-mcd534to1a] {
    font-size: 1rem;
  }

  .chart-caption[b-mcd534to1a] {
    font-size: 0.85rem;
  }

  .area-chart-container[b-mcd534to1a] {
    height: 420px; /* Chiều cao phù hợp cho tablet */
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .generation-container[b-mcd534to1a] {
    padding: 16px;
    max-width: 100%;
  }

  .generation-header[b-mcd534to1a] {
    margin-bottom: 18px;
  }

  .generation-title[b-mcd534to1a] {
    font-size: 1.8rem;
  }

  .generation-duration[b-mcd534to1a],
  .generation-date-range[b-mcd534to1a] {
    font-size: 14px; /* Giữ nguyên 14px cho tablet */
  }

  .generation-content[b-mcd534to1a] {
    min-height: 400px;
    height: auto;
    padding: 12px;
    gap: 8px;
  }

  /* Chart container removed */

  .chart-title[b-mcd534to1a] {
    font-size: 0.95rem;
  }

  .chart-caption[b-mcd534to1a] {
    font-size: 0.8rem;
  }

  .area-chart-container[b-mcd534to1a] {
    height: 350px; /* Chiều cao phù hợp cho mobile */
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .generation-container[b-mcd534to1a] {
    padding: 12px;
    max-width: 100%;
  }

  .generation-header[b-mcd534to1a] {
    margin-bottom: 16px;
  }

  .generation-title[b-mcd534to1a] {
    font-size: 1.5rem;
  }

  .generation-duration[b-mcd534to1a],
  .generation-date-range[b-mcd534to1a] {
    font-size: 0.9rem;
  }

  .generation-content[b-mcd534to1a] {
    min-height: 240px;
    height: auto;
    padding: 10px;
    gap: 6px;
  }

  /* Chart container removed */

  .chart-title[b-mcd534to1a] {
    font-size: 0.9rem;
  }

  .chart-caption[b-mcd534to1a] {
    font-size: 0.75rem;
  }

  .area-chart-container[b-mcd534to1a] {
    height: 150px; /* Chiều cao phù hợp cho mobile nhỏ */
  }
}
/* _content/SumoWeb/Components/Modules/ProjectOverview/ProjectHourGenerationProfile.razor.rz.scp.css */
/* Hour Generation Profile Container */
.hour-generation-container[b-87pywparme] {
  background: var(--chart-container-bg) !important; /* Màu nền giống Generation */
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important; /* 24px trên màn 1920px */
  margin-bottom: 1.67vw !important; /* 32px trên màn 1920px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important; /* Giống Generation */
  opacity: 100%;
}

/* Header Section */
.hour-generation-header[b-87pywparme] {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.hour-generation-title[b-87pywparme] {
  font-size: 24px; /* Cỡ chữ 24px cố định */
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.duration-info-container[b-87pywparme] {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-87pywparme] {
  margin-top: 2px; /* Align with first line of text */
}

.duration-text-container[b-87pywparme] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duration-dates[b-87pywparme] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-top: 4px;
}

/* Content Section */
.hour-generation-content[b-87pywparme] {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 20px;
  max-height: 44.9vh; /* Tăng để chứa chart + header + legend */
  height: auto;
  overflow: visible;
}

/* Chart Section */
.chart-section[b-87pywparme] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.chart-header[b-87pywparme] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hour-generation-header-section[b-87pywparme]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title[b-87pywparme] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.chart-caption[b-87pywparme] {
  font-size: 12px; /* Cỡ chữ 12px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

/* Chart Container - Apply to GroupBarChart directly */
.group-bar-chart-container[b-87pywparme] {
  width: 100%;
  height: 14.58vw !important; /* 280px trên màn 1920px = 14.58vw */
  flex-shrink: 0;
  margin: 0;
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--border-color);
}

/* Override canvas height - Force height for Chart.js */
.group-bar-chart-canvas[b-87pywparme] {
  height: 14.58vw !important;
  max-height: 14.58vw !important;
  min-height: 14.58vw !important;
}

/* Force canvas container height */
.group-bar-chart-container canvas[b-87pywparme] {
  height: 14.58vw !important;
  max-height: 14.58vw !important;
  min-height: 14.58vw !important;
}

/* Chart Legend */
.chart-legend[b-87pywparme] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; /* Bỏ margin vì đã có gap */
  width: 100%;
  flex-shrink: 0; /* Ngăn legend bị shrink */
  height: 24px; /* Chiều cao cố định cho legend */
}

.legend-item[b-87pywparme] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot[b-87pywparme] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #F97316; /* Màu cam #F97316 */
  flex-shrink: 0;
}

.legend-text[b-87pywparme] {
  font-size: 16px; /* Cỡ chữ 16px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-label[b-87pywparme] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-87pywparme] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .hour-generation-container[b-87pywparme] {
    padding: 20px;
    max-width: 100%;
  }

  .hour-generation-content[b-87pywparme] {
    min-height: 44.9vh;
    height: auto;
    padding: 16px;
    gap: 6px;
    background-color: var(--bg-primary);
  }

  .group-bar-chart-container[b-87pywparme] {
    height: 20.83vw !important; /* 200px trên màn 960px = 20.83vw */
  }
  
  .group-bar-chart-canvas[b-87pywparme] {
    height: 20.83vw !important;
    max-height: 20.83vw !important;
    min-height: 20.83vw !important;
  }
  
  .group-bar-chart-container canvas[b-87pywparme] {
    height: 20.83vw !important;
    max-height: 20.83vw !important;
    min-height: 20.83vw !important;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  .hour-generation-container[b-87pywparme] {
    padding: 16px;
    max-width: 100%;
  }

  .hour-generation-header[b-87pywparme] {
    margin-bottom: 18px;
  }

  .hour-generation-title[b-87pywparme] {
    font-size: 1.8rem;
  }

  .duration-info-container[b-87pywparme] {
    font-size: 16px; /* Giữ nguyên 16px cho tablet */
  }

  .hour-generation-content[b-87pywparme] {
    min-height: 400px;
    height: auto;
    padding: 12px;
    gap: 8px;
  }

  .group-bar-chart-container[b-87pywparme] {
    height: 23.44vw !important; /* 180px trên màn 768px = 23.44vw */
  }
  
  .group-bar-chart-canvas[b-87pywparme] {
    height: 23.44vw !important;
    max-height: 23.44vw !important;
    min-height: 23.44vw !important;
  }
  
  .group-bar-chart-container canvas[b-87pywparme] {
    height: 23.44vw !important;
    max-height: 23.44vw !important;
    min-height: 23.44vw !important;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .hour-generation-container[b-87pywparme] {
    padding: 12px;
    max-width: 100%;
  }

  .hour-generation-header[b-87pywparme] {
    margin-bottom: 16px;
  }

  .hour-generation-title[b-87pywparme] {
    font-size: 1.5rem;
  }

  .duration-info-container[b-87pywparme] {
    font-size: 0.9rem;
  }

  .hour-generation-content[b-87pywparme] {
    min-height: 240px;
    height: auto;
    padding: 10px;
    gap: 6px;
  }

  .group-bar-chart-container[b-87pywparme] {
    height: 33.33vw !important; /* 160px trên màn 480px = 33.33vw */
  }
  
  .group-bar-chart-canvas[b-87pywparme] {
    height: 33.33vw !important;
    max-height: 33.33vw !important;
    min-height: 33.33vw !important;
  }
  
  .group-bar-chart-container canvas[b-87pywparme] {
    height: 33.33vw !important;
    max-height: 33.33vw !important;
    min-height: 33.33vw !important;
  }
}
/* _content/SumoWeb/Components/Modules/ProjectOverview/ProjectLossSummary.razor.rz.scp.css */
.loss-summary[b-gc2zgkl8y2] {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--chart-container-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 1.25vw !important;
  margin-bottom: 1.67vw !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.loss-summary_title[b-gc2zgkl8y2] {
  font-size: 24px;
  font-weight: 700;
  color: #ffbf01;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_duration[b-gc2zgkl8y2] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.loss-summary-header-section[b-gc2zgkl8y2]{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loss-summary_date-range[b-gc2zgkl8y2] {
  font-size: 14px; /* Cỡ chữ 14px cố định */
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-left: 30px; /* Căn chỉnh với icon + gap */
  margin-top: 4px; /* Thêm khoảng cách nhỏ với duration */
  margin-bottom: 20px;
}

/* Second header section for Breakdown & Location */
.loss-summary_header--breakdown[b-gc2zgkl8y2] {
  margin-bottom: 16px;
}

.loss-summary_title--breakdown[b-gc2zgkl8y2] {
  font-size: 16px !important;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_subtitle[b-gc2zgkl8y2] {
  font-size: 12px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  margin-top: 4px;
  opacity: 0.8;
}

.loss-summary_row--full[b-gc2zgkl8y2] {
  width: 100%;
}

.loss-summary-stacked-chart[b-gc2zgkl8y2] {
  width: 100%;
  padding: 20px;
  background-color: var(--chart-background);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.loss-summary-pie-chart[b-gc2zgkl8y2] {
  width: 100%;
  padding: 20px;
  background-color: var(--chart-background);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.loss-summary-header[b-gc2zgkl8y2] {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.loss-summary_chart-title[b-gc2zgkl8y2] {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  font-family: "Poppins", sans-serif;
}

.loss-summary_chart-subtitle[b-gc2zgkl8y2] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  opacity: 0.8;
}

.loss-summary_caption[b-gc2zgkl8y2] {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 6px;
}

.loss-summary_row--split[b-gc2zgkl8y2] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loss-summary_cards-row[b-gc2zgkl8y2] {
  display: grid;
  gap: 12px;
}
.loss-summary_cards-row--top[b-gc2zgkl8y2] { grid-template-columns: repeat(3, 1fr); }
.loss-summary_cards-row--bottom[b-gc2zgkl8y2] {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px; /* gap giữa hai hàng */
}
.loss-summary_spacer[b-gc2zgkl8y2] { visibility: hidden; }

.duration-label[b-gc2zgkl8y2] {
  font-size: 14px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
}

.duration-icon[b-gc2zgkl8y2] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .loss-summary[b-gc2zgkl8y2] {
    padding: 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .loss-summary[b-gc2zgkl8y2] {
    padding: 16px;
    max-width: 100%;
  }
  
  .loss-summary_header[b-gc2zgkl8y2] {
    margin-bottom: 12px;
  }
  
  .loss-summary_title[b-gc2zgkl8y2] {
    font-size: 1.8rem;
  }
  
  .loss-summary_row--split[b-gc2zgkl8y2] {
    grid-template-columns: 1fr;
  }
  .loss-summary_cards-row--top[b-gc2zgkl8y2] { grid-template-columns: 1fr; }
  .loss-summary_cards-row--bottom[b-gc2zgkl8y2] { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .loss-summary[b-gc2zgkl8y2] {
    padding: 12px;
    max-width: 100%;
  }
  
  .loss-summary_title[b-gc2zgkl8y2] {
    font-size: 1.5rem;
  }
}


/* _content/SumoWeb/Components/Modules/Report/Billing/BillingHeader.razor.rz.scp.css */
.billing-header[b-i317mhsxqe] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  min-height: 75px;
}

.header-left[b-i317mhsxqe] {
  flex: 1 1 auto;
  min-width: 0;
}

.page-title[b-i317mhsxqe] {
  font-size: 38px;
  font-weight: bold;
  color: #ffbf01;
  margin: 0 0 8px 0;
  font-family: "Poppins", sans-serif;
}
.header-subtitle[b-i317mhsxqe]{
  display: flex;
}
.header-hardware[b-i317mhsxqe] {
  font-size: 16px;
  color: #02f300;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}
.header-billing[b-i317mhsxqe] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  margin-bottom: 8px;
}

.duration-info[b-i317mhsxqe] {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.header-actions[b-i317mhsxqe] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  margin-right: 0;
}

.action-icons[b-i317mhsxqe] {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.action-icon-btn[b-i317mhsxqe] {
  background: var(--bg-active);
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.action-icon-btn:hover[b-i317mhsxqe] {
  background: #404040;
  border-color: #555;
  transform: translateY(-1px);
}

.action-icon-btn img[b-i317mhsxqe] {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}

.header-filters[b-i317mhsxqe] {
  display: flex;
  gap: 16px;
  align-items: center;
}

.date-picker[b-i317mhsxqe] {
  min-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
  .billing-header[b-i317mhsxqe] {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
  }

  .header-actions[b-i317mhsxqe] {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .action-icons[b-i317mhsxqe] {
    justify-content: center;
  }

  .header-filters[b-i317mhsxqe] {
    flex-direction: column;
    width: 100%;
  }

  .date-picker[b-i317mhsxqe] {
    min-width: auto;
    width: 100%;
  }

  .page-title[b-i317mhsxqe] {
    font-size: 28px;
  }
}
/* _content/SumoWeb/Components/Modules/Report/Billing/BillingSite.razor.rz.scp.css */
.billing-section[b-l6s1ovh2q5] {
    background: var(--bg-primary);
    font-family: 'Poppins', sans-serif;
}

/* billing-section Card */
.billing-table-container[b-l6s1ovh2q5] {
    border-radius: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    margin-bottom: 32px;
}

/* Editable cell styling - áp dụng cho cả select và input */
.editable-cell[b-l6s1ovh2q5] {
    min-width: 160px;
    width: 100%;
}

/* Styling cho date input */
.billing-table-container[b-l6s1ovh2q5]  .date-input {
    padding: 6px 10px;
    /* Use the base row background color for default state; will be overridden on row hover */
    background-color: var(--table-bg);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.billing-table-container[b-l6s1ovh2q5]  .date-input:hover {
    background-color: var(--table-row-hover);
    transition: background 0.2s;
}

/* When hovering a table row, sync the date-input background unless the input itself is hovered */
.billing-table-container[b-l6s1ovh2q5]  tr:hover .date-input:not(:hover) {
    background-color: var(--table-row-hover);
    transition: background 0.2s;
}



/* Styling cho date input calendar icon */
.billing-table-container[b-l6s1ovh2q5]  .date-input::-webkit-calendar-picker-indicator {
    filter: invert(0);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dark-mode .billing-table-container[b-l6s1ovh2q5]  .date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.billing-table-container[b-l6s1ovh2q5]  .date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Overlay numeric MM/yyyy display while keeping native month picker */
.billing-table-container[b-l6s1ovh2q5]  .month-overlay-display {
    position: relative;
    color: transparent; /* hide native text */
}
.billing-table-container[b-l6s1ovh2q5]  .month-overlay-display::-webkit-datetime-edit { color: transparent; }
.billing-table-container[b-l6s1ovh2q5]  .month-overlay-display::-webkit-datetime-edit-month-field { color: transparent; }
.billing-table-container[b-l6s1ovh2q5]  .month-overlay-display::-webkit-datetime-edit-year-field { color: transparent; }
.billing-table-container[b-l6s1ovh2q5]  .month-overlay-display::after {
    content: attr(data-month);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .billing-section[b-l6s1ovh2q5] {
        padding: 16px;
    }
    
    .billing-table-container[b-l6s1ovh2q5] {
        padding: 16px;
        border-radius: 16px;
    }

    .editable-cell[b-l6s1ovh2q5] {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .billing-section[b-l6s1ovh2q5] {
        padding: 12px;
    }
    
    .billing-table-container[b-l6s1ovh2q5] {
        padding: 12px;
        border-radius: 12px;
    }
}
/* _content/SumoWeb/Components/Navigation/SideBarDashboard.razor.rz.scp.css */
/* Sidebar */
.sidebar[b-a7t87bnqfl] { 
  color: var(--text-primary); 
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 0;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #17968f var(--bg-hover);
  transition: width 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Collapsed state */
.sidebar.collapsed[b-a7t87bnqfl] {
  width: 40px;
  overflow-x: hidden;
}
.sidebar[b-a7t87bnqfl]::-webkit-scrollbar {
  width: 8px;
  background: var(--bg-primary);
}
.sidebar[b-a7t87bnqfl]::-webkit-scrollbar-thumb {
  background: #17968f;
  border-radius: 4px;
}
.sidebar[b-a7t87bnqfl]::-webkit-scrollbar-thumb:hover {
  background: #17968f;
}
.sidebar[b-a7t87bnqfl]::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 4px;
}
.sidebar-header[b-a7t87bnqfl] { display:none; }
.sidebar .logo[b-a7t87bnqfl] { width: 42px; height: 42px; border-radius:8px; object-fit:cover; }
.sidebar .brand-text[b-a7t87bnqfl] { font-weight:700; letter-spacing:1px; font-size:14px; }
.sidebar-menu[b-a7t87bnqfl] { 
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-menu .menu-group[b-a7t87bnqfl] { 
  display: flex;
  flex-direction: column;
}
.menu-item[b-a7t87bnqfl] { 
  width: 100%;
  height: auto;
  min-height: 48px;
  display:flex; 
  align-items:center; 
  justify-content: flex-start;
  gap:10px; 
  color: var(--text-tertiary); 
  background: var(--bg-primary); 
  border-radius:0;
  padding:10px 12px; 
  cursor:pointer; 
  font-size: 16px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  transition: all 0.2s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  outline: none;
  position: relative;
  padding: 0px 0px 0px 20px;
}

.sidebar.collapsed .menu-item[b-a7t87bnqfl] {
  justify-content: center;
  padding: 10px;
}
.menu-item:hover[b-a7t87bnqfl] { 
  background: var(--bg-hover); 
  border-color: var(--bg-hover);
}

.menu-item .icon[b-a7t87bnqfl] { 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0;
  color: var(--text-primary);
  fill: #ffffff;
  filter: var(--icon-filter);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.sidebar.collapsed .menu-item .icon[b-a7t87bnqfl] {
  opacity: 0;
  width: 0;
}
.menu-item span[b-a7t87bnqfl] {
  color: var(--text-primary) !important;
  flex: 1;
  text-align: left;
  white-space: nowrap;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.sidebar.collapsed .menu-item span[b-a7t87bnqfl] {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.menu-item .exp[b-a7t87bnqfl] {
  margin-left: 8px;
  padding-right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 20px;
}
.exp-arrow[b-a7t87bnqfl] {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}
.submenu[b-a7t87bnqfl] { 
  list-style:none;
  width: 100%;
  padding:0px; 
  color: var(--text-secondary); 
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
}

.sidebar.collapsed .submenu[b-a7t87bnqfl] {
  display: none;
}
.submenu li[b-a7t87bnqfl] { 
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px 0px 45px;
  min-height: 45px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, color 0.3s ease;
  background: transparent;
}

/* Sidebar footer */
.sidebar-footer[b-a7t87bnqfl] { 
  position: sticky; 
  bottom: 0; 
  display:flex; 
  align-items:center; 
  gap:10px; 
  padding: 12px; 
  margin-top: auto; 
  border-top:1px solid var(--border-light); 
  background: var(--bg-primary); 
  color: var(--text-tertiary); 
  cursor: pointer;
  width: 100%;
  height: auto;
  min-height: 44px;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.sidebar-footer:hover[b-a7t87bnqfl] {
  background: var(--bg-hover);
}
.sidebar-footer .footer-icon[b-a7t87bnqfl] { 
  opacity: .8; 
  font-size: 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: var(--icon-filter);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.sidebar.collapsed .sidebar-footer .footer-icon[b-a7t87bnqfl] {
  opacity: 1;
  width: 20px;
}
.sidebar-footer .footer-text[b-a7t87bnqfl] {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.sidebar.collapsed .sidebar-footer[b-a7t87bnqfl] {
  justify-content: center;
  padding: 12px 10px;
}

.sidebar.collapsed .sidebar-footer .footer-text[b-a7t87bnqfl] {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.submenu li[b-a7t87bnqfl],
.submenu li.active[b-a7t87bnqfl],
.submenu li.selected[b-a7t87bnqfl] {
  background: none !important;
}
.submenu li:hover[b-a7t87bnqfl],
.submenu li.active:hover[b-a7t87bnqfl],
.submenu li.selected:hover[b-a7t87bnqfl] {
  color: #0abbb2 !important;
  background: none !important;
}
.submenu li:hover[b-a7t87bnqfl],
.submenu li.active[b-a7t87bnqfl],
.submenu li.selected[b-a7t87bnqfl] {
  background: var(--bg-hover) !important;
  color: #0abbb2 !important;
}
/* _content/SumoWeb/Components/Navigation/TopBarDashboard.razor.rz.scp.css */
/* TopBarDashboard styles */
.topbar[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  height: 120px; 
  padding: 12px 20px; 
  background: var(--bg-primary); 
  border-bottom:2px solid var(--border-color); 
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2001;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.topbar-left[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  gap:16px; 
  height: 100%;
  align-items: center;
}
.brand[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  gap:10px; 
  height: 100%;
  align-items: center;
}
.brand-logo[b-744ebjtpub] {
  width: 150px;
  height: 110px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.brand-logo-button[b-744ebjtpub] {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.brand-logo img[b-744ebjtpub] {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.brand-text[b-744ebjtpub] { 
  font-weight:700; 
  letter-spacing:0.5px; 
  font-size:14px; 
  color: var(--text-primary); 
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.topbar-actions[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  gap:16px; 
  color: var(--text-primary); 
  transition: color 0.3s ease;
}
/* Theme toggle: 158x42, radius 10, fill #23282A, stroke #605D55 @70% */
.theme-toggle[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  width: 158px; 
  height: 42px; 
  background: var(--bg-tertiary); 
  border-radius: 10px; 
  overflow:hidden;  
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}
.mode-btn[b-744ebjtpub] { 
  flex:1 1 50%; 
  height:100%; 
  background:transparent; 
  color: var(--text-secondary); 
  padding:0; 
  border:none; 
  cursor:pointer; 
  font-family:'Poppins', sans-serif; 
  font-size: 14px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  transition: background-color 0.3s ease, color 0.3s ease;
}
.mode-btn.active[b-744ebjtpub], .mode-btn:hover[b-744ebjtpub] { 
  background: var(--bg-active); 
  color: var(--text-primary); 
}
.lang-selector[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  gap:8px; 
  background: var(--bg-primary); 
  padding: 8px 12px; 
  border-radius:10px; 
  height: 42px;
  width: 140px;
  min-width: 100px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .lang-selector[b-744ebjtpub] {
    border-color: var(--border-color);
}

.lang-selector:hover[b-744ebjtpub] {
  background: var(--bg-hover);
  border-color: var(--border-medium);
}

body:not(.dark-mode) .lang-selector:hover[b-744ebjtpub] {
    border-color: var(--border-medium);
}

.lang-dropdown-overlay[b-744ebjtpub] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: transparent;
}

.lang-dropdown-menu[b-744ebjtpub] {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-tertiary);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-option[b-744ebjtpub] {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.lang-option:hover[b-744ebjtpub] {
  background: var(--bg-active);
}

.lang-option.active[b-744ebjtpub] {
  background: var(--bg-active);
  color: var(--text-primary);
  font-weight: 600;
}

.lang-option:not(:last-child)[b-744ebjtpub] {
  border-bottom: 1px solid var(--border-color);
}
.user-info[b-744ebjtpub] { 
  display:flex; 
  align-items:center; 
  gap:8px; 
  background: var(--bg-primary); 
  padding: 8px 12px; 
  border-radius:10px; 
  height: 42px;
  width: 265px; 
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .user-info[b-744ebjtpub] {
    border-color: var(--border-color);
}
.lang-selector span[b-744ebjtpub] { 
  font-family:'Poppins',sans-serif; 
  font-weight:700; 
  font-size:16px; 
  width: 30px; 
  height: 19px; 
  line-height: 19px; 
}
.icon-20[b-744ebjtpub] { 
  width: 24px; 
  height: 24px; 
  filter: var(--icon-filter);
  transition: filter 0.3s ease;
}
.avatar-24[b-744ebjtpub] { 
  width: 42px; 
  height: 42px; 
  border-radius:50%; 
}
.user-name[b-744ebjtpub] { 
  color: var(--text-primary); 
  font-weight:500; 
  font-size: 16px; 
  transition: color 0.3s ease;
}
.topbar-dashboard .nav-icon[alt="language icon"][b-744ebjtpub] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-navigation-bar[b-744ebjtpub] {
        padding: 0 10px;
    }
    
    .action-buttons-container[b-744ebjtpub] {
        left: 10px;
    }
    
}

/* Lối vào trang quản lý — chỉ hiện với Admin/SuperAdmin (xem AuthorizeView trong .razor) */
.admin-link[b-744ebjtpub] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}

    .admin-link:hover[b-744ebjtpub] {
        background: var(--bg-hover);
        border-color: var(--text-secondary);
    }

/* ::deep bắt buộc: MudIcon tự render element của nó nên không mang scope attribute của file này. */
.admin-link[b-744ebjtpub]  .mud-icon-root {
    font-size: 19px;
}
/* _content/SumoWeb/Components/Navigation/TopNavigationBar.razor.rz.scp.css */

/* Search Bar */
.search-bar[b-1aa9eiwipx] {
    position: fixed;
    top: 5%;
    left: 3%;
    width: 44.2vw;
    height: 9vh;
    background: #373535;
    border-radius: 40px;
    z-index: 1000;
    box-shadow: 0 4px 70px 0 #000000 25%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    max-width: calc(100vw - 40px); /* Prevent overflow */
}

.search-icon-container[b-1aa9eiwipx] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

/* Vòng tròn đầu ô tìm kiếm — đồng thời là nút đưa bản đồ về khung nhìn gốc. */
.ellipse-icon[b-1aa9eiwipx] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #585353;
    border-radius: 50%;
    border: 5px solid #02F300;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.ellipse-icon:hover[b-1aa9eiwipx] {
    background: #4a6b4a;
    box-shadow: 0 0 10px rgba(2, 243, 0, 0.45);
}

.ellipse-icon:focus-visible[b-1aa9eiwipx] {
    outline: 2px solid #19b58f;
    outline-offset: 2px;
}

.ellipse-icon[b-1aa9eiwipx]  .mud-icon-root {
    color: #fff;
    font-size: 18px;
}

/* Search Wrapper - Container cho toàn bộ phần search */
.search-wrapper[b-1aa9eiwipx] {
    flex: 1;
    height: 100%; /* thêm dòng này */
    width: 44.2vw;
    position: relative;
    text-align: center;
    color: #FFFFFF !important;
}

/* Search Input Container - Chứa ô input */
.search-input-container[b-1aa9eiwipx] {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%; 
    cursor: text;
}

/* Search Input Styling */
.search-input[b-1aa9eiwipx] {
    width: 100%;
    height: 100%; 
    color: #FFFFFF !important;
}

.search-input[b-1aa9eiwipx]  {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    height: 100% !important; 
    min-height: auto !important;
}

.search-input[b-1aa9eiwipx]   {
    height: 100% !important; 
    display: flex !important;
    align-items: center !important;
}

.search-input[b-1aa9eiwipx]   input {
    height: 100% !important; 
    margin: 0 !important;
}

.search-input[b-1aa9eiwipx]   {
    color: #FFFFFF !important;
    background: transparent !important;
}

.search-input[b-1aa9eiwipx]  ::placeholder {
    color: #FFFFFF !important;
    opacity: 70% !important;
}

.search-input[b-1aa9eiwipx]   {
    outline: none !important;
    box-shadow: none !important;
}

.search-input[b-1aa9eiwipx]  {
    color: #FFFFFF !important;
}

/* Search Results Panel - Neo ngay dưới search input */
.search-wrapper[b-1aa9eiwipx]  .search-results-panel {
    position: absolute; 
    top: 100%;
    left: -13%;
    width: 116%;
    margin-top: 8px; /* Khoảng cách giữa search bar và dropdown */
    /* Giới hạn chiều cao theo viewport để xuất hiện scroll thay vì kéo dài vô hạn */
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    z-index: 2000;
    background: #373535 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px !important;
    box-sizing: border-box;
    animation: slideDown-b-1aa9eiwipx 0.2s ease-out;
    pointer-events: auto;
    overflow: hidden; /* Ẩn tràn; phần danh sách sẽ tự scroll */
}

.plant-list-container[b-1aa9eiwipx] {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    /* Chiều cao tối đa bên trong panel trừ padding trên/dưới */
    max-height: calc(60vh - 32px); /* đồng bộ với max-height panel */
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

/* Animation cho dropdown */
@keyframes slideDown-b-1aa9eiwipx {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item {
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item:last-child {
    margin-bottom: 0;
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item:hover {
    transform: translateY(-2px);
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item.highlighted {
    transform: translateY(-2px);
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item ::deep .solar-plant-card {
    background: #404040 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    padding: 12px !important;
    transition: all 0.2s ease !important;
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item:hover ::deep .solar-plant-card,
.search-wrapper[b-1aa9eiwipx]  .search-result-item.highlighted ::deep .solar-plant-card {
    background: #4a4a4a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.search-wrapper[b-1aa9eiwipx]  .search-result-item.highlighted ::deep .solar-plant-card {
    border: 2px solid #02F300 !important;
    box-shadow: 0 6px 20px rgba(2, 243, 0, 0.2) !important;
}

/* Loading State */
.search-loading[b-1aa9eiwipx] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

    .search-loading[b-1aa9eiwipx]  .mud-progress-circular {
        color: #02F300 !important;
    }

/* No Results State */
.no-results[b-1aa9eiwipx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 24px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

.no-results[b-1aa9eiwipx]  .mud-icon-root {
    color: #ffc107 !important;
    font-size: 48px !important;
}

/* Scrollbar for plant list container */
.plant-list-container[b-1aa9eiwipx]::-webkit-scrollbar {
    width: 8px;
}

.plant-list-container[b-1aa9eiwipx]::-webkit-scrollbar-track {
    background: #2f3030; /* gần giống nền panel */
    border-radius: 6px;
}

.plant-list-container[b-1aa9eiwipx]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,#3a3b3b,#2b2c2c);
    border-radius: 6px;
    border: 1px solid #454646;
}

.plant-list-container[b-1aa9eiwipx]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,#454646,#343535);
}

/* Firefox custom scrollbar */
.plant-list-container[b-1aa9eiwipx] {
    scrollbar-width: thin;
    scrollbar-color: #3a3b3b #2f3030;
}

/* Navigation Container
   Dồn các nút về mép PHẢI (flex-end) và cách mép 3% — đối xứng với .search-bar cách mép trái
   3%. Trước đây gap 5% của khung rộng 45% cộng nút cố định 159px làm cả cụm dồn về trái,
   để trống một dải bên phải. width 45% giữ nguyên để cụm nút không bao giờ đè lên ô tìm kiếm. */
.navigation-container[b-1aa9eiwipx] {
    width: 45%;
    position: fixed;
    top: 5%;
    right: 3%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    z-index: 1000;
}

.nav-button[b-1aa9eiwipx] {
    width: 159px;
    height: 58px;
    background: #373535 !important;
    border-radius: 10px;
    color: white !important;
    text-transform: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 16px 8px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-button span[b-1aa9eiwipx] {
    width: 71px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.nav-button:hover[b-1aa9eiwipx] {
    background: #404040 !important;
}

.nav-button .mud-icon-root[b-1aa9eiwipx] {
    font-size: 24px;
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8%;
    color: #FFFFFF !important;
}

/* Ép màu icon SVG bên trong theo currentColor = trắng */
.nav-button .mud-icon-root .mud-svg-icon[b-1aa9eiwipx] {
    color: #FFFFFF !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

.user-profile[b-1aa9eiwipx] {
    width: 159px;
    height: 58px;
    background: #373535;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffc107;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 16px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.user-profile:hover[b-1aa9eiwipx] {
    background: #404040;
}

.dropdown-arrow[b-1aa9eiwipx] {
    font-size: 16px !important;
    color: #ffc107 !important;
    transition: transform 0.2s ease;
}

.user-profile:hover .dropdown-arrow[b-1aa9eiwipx] {
    transform: rotate(180deg);
}

.profile-avatar[b-1aa9eiwipx] {
    width: 32px !important;
    height: 32px !important;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.navigation-container[b-1aa9eiwipx]  .nav-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1) !important;
}

.navigation-container[b-1aa9eiwipx]  .mud-button-root.nav-button {
    width: 159px;
    height: 58px;
    background: #373535 !important;
    border-radius: 10px;
    color: white !important;
    text-transform: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 16px 8px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.navigation-container[b-1aa9eiwipx]  .mud-button-root.nav-button span {
    width: 71px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.navigation-container[b-1aa9eiwipx]  .mud-button-root.nav-button:hover {
    background: #404040 !important;
}

.navigation-container[b-1aa9eiwipx]  .mud-button-root.nav-button .mud-icon-root {
    font-size: 18px;
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8%;
    color: #FFFFFF !important;
}

.navigation-container[b-1aa9eiwipx]  .mud-button-root.nav-button .mud-icon-root .mud-svg-icon {
    color: #FFFFFF !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Language Selector */
.lang-selector[b-1aa9eiwipx] {
    width: 159px;
    height: 58px;
    background: #373535 !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    gap: 8px;
}

.lang-selector:hover[b-1aa9eiwipx] {
    background: #404040 !important;
}

.lang-selector span[b-1aa9eiwipx] {
    width: auto;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    color: #FFFFFF;
}

.lang-selector .mud-icon-root[b-1aa9eiwipx] {
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.lang-selector .mud-icon-root .mud-svg-icon[b-1aa9eiwipx] {
    color: #FFFFFF !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Language Dropdown */
.lang-dropdown-overlay[b-1aa9eiwipx] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

.lang-dropdown-menu[b-1aa9eiwipx] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-tertiary);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid #484743;
}

.lang-option[b-1aa9eiwipx] {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #e6e6e6;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover[b-1aa9eiwipx] {
    background: #2A2F35;
}

.lang-option.active[b-1aa9eiwipx] {
    background: #3A3F45;
    color: #FFFFFF;
    font-weight: 600;
}

.lang-option:not(:last-child)[b-1aa9eiwipx] {
    border-bottom: 1px solid #484743;
}

/* User Dropdown */
.user-dropdown-overlay[b-1aa9eiwipx] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

.user-dropdown-menu[b-1aa9eiwipx] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    min-width: 180px;
}

.user-dropdown-item[b-1aa9eiwipx] {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #333333;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown-item:hover[b-1aa9eiwipx] {
    background: #F5F5F5;
}

.user-dropdown-item:active[b-1aa9eiwipx] {
    background: #E3F2FD;
}

.user-dropdown-item .mud-icon-root[b-1aa9eiwipx] {
    font-size: 18px !important;
    color: #666666 !important;
}

.user-dropdown-item:hover .mud-icon-root[b-1aa9eiwipx] {
    color: #1976D2 !important;
}

.user-dropdown-item span[b-1aa9eiwipx] {
    flex: 1;
}

.user-dropdown-item:not(:last-child)[b-1aa9eiwipx] {
    border-bottom: 1px solid #F0F0F0;
}
/* _content/SumoWeb/Components/Tables/TableCommon.razor.rz.scp.css */
/* Chỉ áp dụng hiệu ứng hover cho .total-row trong tfoot */
.data-table tfoot .total-row:hover td[b-btimnscr8l],
.data-table tfoot .total-row:hover th[b-btimnscr8l] {
    background: var(--table-hover-bg) !important;
    transition: background 0.3s ease;
}

/* Đảm bảo hiệu ứng hover cho từng cell khi hover dòng */
.data-table tbody tr:hover td[b-btimnscr8l],
.data-table tbody tr:hover th[b-btimnscr8l] {
    background: var(--table-hover-bg) !important;
    transition: background 0.3s ease;
}


/* Đổi màu nền các cột và dòng trong bảng */
.data-table th[b-btimnscr8l],
.data-table td[b-btimnscr8l] {
    background: var(--table-row-bg);
    transition: background-color 0.3s ease;
}

/* Table header background */
.data-table thead th[b-btimnscr8l] {
    background: var(--table-header-bg);
}

/* body:not(.dark-mode) .data-table thead th {
    background: var(--table-header-bg);
    border-bottom: 1px solid var(--border-color);
} */

/* Bo tròn 4 góc ngoài cùng bảng */
.data-table thead tr:first-child th:first-child[b-btimnscr8l] {
    border-top-left-radius: 12px !important;
}
.data-table thead tr:first-child th:last-child[b-btimnscr8l] {
    border-top-right-radius: 12px !important;
}
.data-table tbody tr:last-child td:first-child[b-btimnscr8l] {
    border-bottom-left-radius: 12px !important;
}
.data-table tbody tr:last-child td:last-child[b-btimnscr8l] {
    border-bottom-right-radius: 12px !important;
}

.data-table td:first-child[b-btimnscr8l] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.table-common[b-btimnscr8l] {
    background: var(--table-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--table-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* body:not(.dark-mode) .table-common {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
    background: #FFFFFF;
} */

.table-toolbar[b-btimnscr8l] {
    padding: 20px 0px;
    background: var(--table-header-footer);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* body:not(.dark-mode) .table-toolbar {
    background: #FFFFFF;
    border-bottom-color: var(--border-color);
} */

.toolbar-left[b-btimnscr8l] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toolbar-title[b-btimnscr8l] {
    font-size: 14px;
    font-weight: medium;
    color: #FFBF01; /* Giữ màu vàng cho title */
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.title-with-icon[b-btimnscr8l] {
    display: flex;
    gap: 8px;
}

.info-icon[b-btimnscr8l] {
    width: 18px;
    height: 18px;
    background: transparent 70%;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toolbar-subtitle[b-btimnscr8l] {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: medium;
    transition: color 0.3s ease;
}

.toolbar-right[b-btimnscr8l] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.items-selector[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-left: auto;
    transition: color 0.3s ease;
}

.pagination-page-size-select[b-btimnscr8l] {
    width: 70px;
    height: 36px;
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 6px 8px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 28px;
    position: relative;
    text-align: center;
    background-position: right 12px center;
    background-size: 16px;

    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.pagination-page-size-select[b-btimnscr8l]::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-color: #4a90e2;
    background-size: contain;
    pointer-events: none;
}

.pagination-page-size-select:focus[b-btimnscr8l] {
    border-color: rgba(255, 255, 255, 0.9) !important;
    outline: none;
}

.pagination-page-size-select:hover[b-btimnscr8l] {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.download-btn[b-btimnscr8l] {
    display: flex; /* enable flex to center child */
    align-items: center;
    justify-content: center;
    border: 1px solid #BBBDBE;
    border-radius: 10px;
    height: 40px;
    width: 40px;
    padding: 0; /* remove default padding */
}

/* Ensure the export icon centers nicely */
.download-btn img.export-btn[b-btimnscr8l] {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0 auto;
}
.download-btn[b-btimnscr8l]  .mud-button-root {
    /* Export button styling */
    background: var(--bg-tertiary);
    transition: background-color 0.3s ease;
}

.toolbar-right[b-btimnscr8l]  .table-search {
    width: 400px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

.toolbar-right[b-btimnscr8l]  .table-search::placeholder {
    color: var(--text-secondary);
}

.toolbar-right[b-btimnscr8l]  .table-search:focus {
    outline: none;
    border-color: #02F300;
    box-shadow: 0 0 0 3px rgba(2, 243, 0, 0.1);
}

.data-table[b-btimnscr8l] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    /* background: var(--bg-primary); */
    overflow: hidden;
}

/* ===== ScrollX: bảng thiết bị nhiều cột (Power Meter, Inverters) =====
   Bảng rộng tối thiểu bằng nội dung (không xuống dòng) nên tràn khung thì khung cuộn ngang;
   ít cột thì vẫn trải đủ 100%. Cột đầu (tên thiết bị) ghim trái để biết đang đọc dòng nào. */
.table-scroll[b-btimnscr8l] {
    width: 100%;
}

.table-scroll--x[b-btimnscr8l] {
    overflow-x: auto;
    scrollbar-width: thin;
}

.table-scroll--x .data-table[b-btimnscr8l] {
    min-width: max-content;
}

.table-scroll--x .data-table th[b-btimnscr8l],
.table-scroll--x .data-table td[b-btimnscr8l] {
    white-space: nowrap;
}

.table-scroll--x .data-table th:first-child[b-btimnscr8l],
.table-scroll--x .data-table td:first-child[b-btimnscr8l] {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 var(--border-color);
}

.table-header[b-btimnscr8l] {
    position: relative;
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-medium);
    transition: color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .table-header[b-btimnscr8l] {
    border-bottom-color: var(--border-color);
}

.header-content[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-content.column[b-btimnscr8l] {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Đơn vị nằm dưới tên cột, chữ nhỏ & nhạt hơn */
.header-unit[b-btimnscr8l] {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-secondary);
    white-space: nowrap;
}

.th-icon-group[b-btimnscr8l] {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-start;
    margin-top: 2px;
}


.th-icon-group[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 2px; /* Giảm từ 4px xuống 2px để icon gần nhau hơn */
    justify-content: center; /* Căn giữa các icon */
    position: relative; /* Đảm bảo vị trí tương đối */
}

.th-icon[b-btimnscr8l] {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    display: flex; /* Đảm bảo icon hiển thị đúng */
    align-items: center; /* Căn giữa icon theo chiều dọc */
    justify-content: center; /* Căn giữa icon theo chiều ngang */
    flex-shrink: 0; /* Không cho phép icon bị co lại */
    transition: color 0.3s ease;
}

.th-icon.active[b-btimnscr8l] {
    color: #22c55e;
}


.filter-editor[b-btimnscr8l] {
    margin-top: 6px;
}

.table-row[b-btimnscr8l] {
    transition: background 0.2s;
}

.table-row:hover[b-btimnscr8l] {
    background: var(--table-hover-bg) !important;
    transition: background 0.3s ease;
}

/* Chỉ bảng nào truyền RowHref mới có class này — xem TableCommon.razor. */
.table-row.clickable[b-btimnscr8l] {
    cursor: pointer;
}

.table-cell[b-btimnscr8l] {
    padding: 12px 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .table-cell[b-btimnscr8l] {
    border-bottom-color: var(--border-light);
    background: var(--table-bg);
}

body:not(.dark-mode) .data-table tbody tr:nth-child(even) td[b-btimnscr8l] {
    background: var(--table-row-bg);
}

body:not(.dark-mode) .data-table tbody tr:nth-child(odd) td[b-btimnscr8l] {
    background: var(--table-bg);
}

/* Total row styling */
.total-row[b-btimnscr8l] {
    background: var(--table-header-bg);
    transition: background-color 0.3s ease;
}
.total-row .total-cell[b-btimnscr8l] {
    font-weight: 700;
    background: var(--table-row-bg);
    border: none;
    padding-top: 14px;
    padding-bottom: 14px;
    transition: background-color 0.3s ease;
}

.total-row .data-table[b-btimnscr8l] {
    background: var(--table-header-bg);
    transition: background-color 0.3s ease;
}

.total-row .total-cell:first-child[b-btimnscr8l] {
    border-radius: 12px 0 0 12px;
}

.total-row .total-cell:last-child[b-btimnscr8l] {
    border-radius: 0 12px 12px 0;
}

.total-spacer td[b-btimnscr8l] {
    padding: 12px 0 0 0;
    border: none;
    background: var(--table-header-footer) !important;
    transition: background-color 0.3s ease;
}

.total-gap td[b-btimnscr8l] {
    padding: 8px 0;
    border: none;
    background: var(--table-header-footer) !important;
    transition: background-color 0.3s ease;
}

.pagination-container[b-btimnscr8l] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    color: var(--text-secondary);
    background: var(--table-header-footer);
    padding: 16px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-top: 1px solid var(--border-light);
}

/* body:not(.dark-mode) .pagination-container {
    background: #FFFFFF;
    border-top-color: var(--border-color);
} */

.pagination-content[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-label[b-btimnscr8l] {
    color: var(--text-secondary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.pagination-left[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.pagination-right[b-btimnscr8l] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.page-range[b-btimnscr8l] {
    color: var(--text-secondary);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.nav-btn[b-btimnscr8l] {
    color: var(--text-secondary) !important;
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
    border-radius: 4px !important;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-btn:hover[b-btimnscr8l] {
    background: var(--bg-active) !important;
    color: var(--text-primary) !important;
}

.nav-btn:disabled[b-btimnscr8l] {
    color: var(--text-secondary) !important;
    background: transparent !important;
    opacity: 0.5;
}


/* === CUSTOM SCROLLBAR === */
.table-common[b-btimnscr8l]::-webkit-scrollbar {
    width: 6px; /* Scrollbar dọc nhỏ hơn - từ 8px xuống 6px */
    height: 0px; /* Ẩn scrollbar ngang - loại bỏ scroll X */
}

.table-common[b-btimnscr8l]::-webkit-scrollbar-track {
    background: var(--scrollbar-bg); /* Track màu tối */
    border-radius: 3px; /* Bo góc nhỏ hơn */
    transition: background 0.3s ease;
}

.table-common[b-btimnscr8l]::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb); /* Thumb màu xám */
    border-radius: 3px; /* Bo góc nhỏ hơn */
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.table-common[b-btimnscr8l]::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover); /* Hover effect */
}


/* Responsive table */
@media (max-width: 1024px) {
    .table-common[b-btimnscr8l] {
        overflow-x: auto;
    }
    
    .data-table[b-btimnscr8l] {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .table-toolbar[b-btimnscr8l] {
        padding: 16px 20px;
    }
    
    .table-search[b-btimnscr8l] {
        width: 100%;
        max-width: 300px;
    }
    
    .table-header[b-btimnscr8l],
    .table-cell[b-btimnscr8l] {
        padding: 12px 16px;
        font-size: 13px;
    }
}
/* _content/SumoWeb/Layout/DashboardLayout.razor.rz.scp.css */
/* dashboard layout */
.dashboard-layout[b-fuxs0vyvz4] { 
  display: flex; 
  height: 100vh; 
  background: var(--bg-primary); 
  color: var(--text-primary); 
  padding-top: var(--topbar-h); 
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  min-height: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dashboard-sidebar[b-fuxs0vyvz4] { 
  position: fixed; 
  top: var(--topbar-h); 
  left: 0; 
  bottom: 0; 
  width: 260px; 
  background: var(--bg-primary);
  overflow-y:auto; 
  z-index: 1200; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 0;
  visibility: visible;
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.dashboard-layout.sidebar-collapsed .dashboard-sidebar[b-fuxs0vyvz4] {
  width: 40px;
}
.dashboard-main[b-fuxs0vyvz4] { 
  margin-left: 260px; 
  display:flex; 
  flex-direction:column; 
  height: calc(100vh - var(--topbar-h)); 
  box-sizing: border-box;
  position: relative;
  flex: 1;
  min-width: 0;
  transition: margin-left 0.3s ease;
}

.dashboard-layout.sidebar-collapsed .dashboard-main[b-fuxs0vyvz4] {
  margin-left: 40px;
}
.dashboard-topbar[b-fuxs0vyvz4] { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 2000; 
  background: transparent;
  border-bottom: none;
  box-sizing: border-box;
  display: block;
  height: var(--topbar-h);
}
.dashboard-content[b-fuxs0vyvz4] {
  overflow:auto; 
  height:100%; 
  background: var(--bg-primary);
  box-sizing: border-box;
  position: relative;
  flex: 1;
  min-height: 0;
  transition: background-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    
    /* Mobile sidebar adjustments */
    .dashboard-sidebar[b-fuxs0vyvz4] {
        width: 240px;
    }

    .dashboard-main[b-fuxs0vyvz4] {
        margin-left: 240px;
    }
}

@media (max-width: 480px) {
    .dashboard-sidebar[b-fuxs0vyvz4] {
        width: 100%;
        position: fixed;
        top: var(--topbar-h);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1500;
    }

    .dashboard-main[b-fuxs0vyvz4] {
        margin-left: 0;
    }
}
/* _content/SumoWeb/Layout/LoginLayout.razor.rz.scp.css */

.login-layout-bg[b-9hnbgz8a9c] {
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    inset: 0;
    background: url('/images/login_background.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    font-family: 'Poppins', sans-serif;
}

.login-overlay[b-9hnbgz8a9c] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.login-form-panel[b-9hnbgz8a9c] {
    width: 820px;
    height: 720px;
    margin: auto;
    background: #403E3E;
    opacity: 0.8;
    border-radius: 18px;
    padding: 2.5rem 2.25rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(8px) saturate(120%);
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
}

.login-form-title[b-9hnbgz8a9c] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem auto 1.2rem auto;
    letter-spacing: 1px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.login-input[b-9hnbgz8a9c] {
    width: 100%;
    height: 100%;
    padding: 0.85rem 2.8rem 0.85rem 1.1rem;
    font-size: 1.15rem;
    border-radius: 35px;
    border: 1.5px solid #d1d9e0;
    background: rgba(255,255,255,0.13);
    font-family: 'Poppins', sans-serif;
}

.login-input:focus[b-9hnbgz8a9c] {
    border-color: #fff !important;
    background: rgba(255,255,255,0.13);
    outline: none;
}

.login-form-group[b-9hnbgz8a9c] {
    height: 85px;
    width: 100%;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
}

.login-icon[b-9hnbgz8a9c] {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.login-icon img[b-9hnbgz8a9c] {
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.85;
}

.login-form-options[b-9hnbgz8a9c] {
    height: 30px;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    margin: 0 auto 0.2rem auto;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.login-remember[b-9hnbgz8a9c] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.25rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.login-remember input[type="checkbox"][b-9hnbgz8a9c] {
    accent-color: #3ec6ff;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.3rem;
}

.login-forgot[b-9hnbgz8a9c] {
    color: #3ec6ff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
}

.login-forgot:hover[b-9hnbgz8a9c] {
    color: #fff !important;
    text-decoration: underline;
}

.login-btn[b-9hnbgz8a9c] {
    height: 85px;
    width: 100%;
    max-width: 480px;
    padding: 0.95rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 35px;
    border: none;
    background: #fff !important;
    color: #222;
    box-shadow: 0 2px 8px -2px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.login-btn:hover[b-9hnbgz8a9c] {
    background: #3ec6ff;
    color: #fff !important;
}

@media (max-width: 600px) {
    .login-form-panel[b-9hnbgz8a9c] {
        min-width: 90vw;
        padding: 1.5rem 0.5rem;
    }
    .login-form-title[b-9hnbgz8a9c] {
        font-size: 2rem;
    }
}
/* _content/SumoWeb/Pages/Admin/AdminPage.razor.rz.scp.css */
/* Trang quản lý hệ thống. Chỉ dùng biến theme của app.css nên tự hợp cả dark lẫn light. */

.admin-wrapper[b-9o180rcg62] {
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* phần cuộn nằm trong .admin-body, không phải cả trang */
    transition: background-color .3s ease;
}

/* Cụm thanh trên cùng + tiêu đề, giống CreatePlant để hai trang nhìn cùng một hệ. */
.header-cluster[b-9o180rcg62] {
    flex: 0 0 auto;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

.dashboard-topbar[b-9o180rcg62] {
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.modal-header[b-9o180rcg62] {
    background: var(--bg-primary);
    padding: 10px 0 10px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-medium);
}

body:not(.dark-mode) .modal-header[b-9o180rcg62] {
    border-top-color: var(--border-color);
    border-bottom-color: var(--border-color);
}

.title-wrapper[b-9o180rcg62] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
}

/* ::deep bắt buộc: MudIcon tự render element của nó nên không mang scope attribute của file này. */
.title-wrapper[b-9o180rcg62]  .admin-title-icon {
    font-size: 34px;
    color: #ffc400;
}

.title[b-9o180rcg62] {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 6px 0;
}

.subtitle[b-9o180rcg62] {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 20px;
}

/* ---------------------------------------------------------------- thẻ tab */

.admin-tabs[b-9o180rcg62] {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 4px;
    padding: 10px 20px 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.admin-tab[b-9o180rcg62] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    /* Bù cho đường viền của .admin-tabs để tab đang chọn liền mạch với vùng nội dung. */
    margin-bottom: -1px;
    transition: background .18s, color .18s, border-color .18s;
}

    .admin-tab:hover:not(:disabled)[b-9o180rcg62] {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

    .admin-tab.is-active[b-9o180rcg62] {
        background: var(--bg-tertiary);
        border-color: var(--border-color);
        border-bottom: 1px solid var(--bg-tertiary);
        color: var(--text-primary);
    }

    .admin-tab:disabled[b-9o180rcg62] {
        opacity: .45;
        cursor: not-allowed;
    }

.admin-tab[b-9o180rcg62]  .admin-tab-icon {
    font-size: 19px;
}

.admin-tab-soon[b-9o180rcg62] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--bg-active);
    color: var(--text-secondary);
}

/* -------------------------------------------------------------- nội dung */

.admin-body[b-9o180rcg62] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 20px 28px;
}

.admin-placeholder[b-9o180rcg62] {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    background: var(--bg-tertiary);
}
/* _content/SumoWeb/Pages/Analysis/Clipping.razor.rz.scp.css */
.clipping-page[b-mj54kn4zj6] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-mj54kn4zj6] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/Curtailment.razor.rz.scp.css */
.curtailment-page[b-si74lq43od] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-si74lq43od] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/Derating.razor.rz.scp.css */
.derating-page[b-dl5dzx5wkg] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-dl5dzx5wkg] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/DowntimeLoss.razor.rz.scp.css */
/* DowntimeLoss page styles */
.downtime-loss-page[b-v3my6m7p3m] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-v3my6m7p3m] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/EnergyDistribution.razor.rz.scp.css */
/* LossOverview page styles */
.energy-distribution-page[b-s2sfvcpczj] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/Analysis/ExpectedNonRecoverable.razor.rz.scp.css */
.expected-non-recoverable-page[b-utaxm8k6p6] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-utaxm8k6p6] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/Inverters.razor.rz.scp.css */
.inverters-page[b-hprxaovgdl] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-hprxaovgdl] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/LossOverview.razor.rz.scp.css */
/* LossOverview page styles */
.loss-overview-page[b-gxkcwxxce6] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/Analysis/PortfolioOverview.razor.rz.scp.css */
.portfolio-overview-page[b-x3t2syx1ji] {
    padding: 24px;
    background: var(--bg-primary);
    min-height: calc(100vh - 80px); /* Subtract TopBar height */
    font-family: 'Poppins', sans-serif;
    margin-left: 0; /* Will be offset by DashboardLayout */
    transition: background-color 0.3s ease;
}

/* Portfolio Header */
.portfolio-header[b-x3t2syx1ji] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent; /* Giống màu bên ngoài */
    border-radius: 0; /* Bỏ border radius */
    margin-bottom: 32px;
    box-shadow: none; /* Bỏ shadow */
    border: none; /* Bỏ border */
}

.header-left[b-x3t2syx1ji] {
    flex: 1;
}

.page-title[b-x3t2syx1ji] {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700; /* Màu vàng như mockup */
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.header-actions[b-x3t2syx1ji] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-icon-btn[b-x3t2syx1ji] {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

body:not(.dark-mode) .action-icon-btn[b-x3t2syx1ji] {
    border-color: var(--border-color);
}

.action-icon-btn:hover[b-x3t2syx1ji] {
    background: var(--bg-hover);
    border-color: var(--border-dark);
    transform: translateY(-1px);
}

body:not(.dark-mode) .action-icon-btn:hover[b-x3t2syx1ji] {
    border-color: var(--border-medium);
}

.action-icon-btn img[b-x3t2syx1ji] {
    width: 20px;
    height: 20px;
    filter: var(--icon-filter);
    transition: filter 0.3s ease;
}

.section[b-x3t2syx1ji] {
    margin-bottom: 40px;
    border-radius: 16px;
    padding: 12px 24px 12px 24px;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .section[b-x3t2syx1ji] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.quick-glance-section[b-x3t2syx1ji] {
    margin-bottom: 40px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title[b-x3t2syx1ji] {
    font-size: 16px;
    font-weight: bold;
    color: #FFBF01;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    width: 155px;
    height: 24px;
    display: flex;
    align-items: center;
}

/* KPI Grid - Responsive 4-2-1 columns */
.kpi-grid[b-x3t2syx1ji] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

/* Two Column Layout */
.two-col[b-x3t2syx1ji] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.left-col[b-x3t2syx1ji] {
    min-width: 0; /* Prevent overflow */
}

.right-col[b-x3t2syx1ji] {
    min-width: 0; /* Prevent overflow */
}

.duration-info[b-x3t2syx1ji] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.duration-info-icon[b-x3t2syx1ji] {
    flex-shrink: 0;
}

.duration-info-content[b-x3t2syx1ji] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.duration-icon[b-x3t2syx1ji] {
    color: var(--text-secondary);
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: color 0.3s ease;
}

.duration-text[b-x3t2syx1ji] {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.duration-dates[b-x3t2syx1ji] {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.chart-container[b-x3t2syx1ji] {
    margin-bottom: 32px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kpi-grid[b-x3t2syx1ji] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .two-col[b-x3t2syx1ji] {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .portfolio-overview-page[b-x3t2syx1ji] {
        padding: 16px;
    }
    
    .portfolio-header[b-x3t2syx1ji] {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        padding: 20px;
    }
    
    .header-actions[b-x3t2syx1ji] {
        justify-content: center;
    }
    
    .page-title[b-x3t2syx1ji] {
        font-size: 24px;
        text-align: center;
    }
    
    .header-subtitle[b-x3t2syx1ji] {
        text-align: center;
    }
    
    .section[b-x3t2syx1ji] {
        margin-bottom: 32px;
    }
    
    .section-title[b-x3t2syx1ji] {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kpi-grid[b-x3t2syx1ji] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .two-col[b-x3t2syx1ji] {
        gap: 20px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .portfolio-overview-page[b-x3t2syx1ji] {
        padding: 12px;
    }
    
    .section[b-x3t2syx1ji] {
        margin-bottom: 24px;
    }
    
    .kpi-grid[b-x3t2syx1ji] {
        gap: 12px;
    }
    
    .two-col[b-x3t2syx1ji] {
        gap: 16px;
    }
}

/* === DASHBOARD CONTENT SCROLLBAR - NHỎ GỌN VÀ ĐẸP === */
.dashboard-content[b-x3t2syx1ji]::-webkit-scrollbar {
    width: 4px; /* Giảm từ 6px xuống 4px để nhỏ hơn */
    height: 0px; /* Ẩn scrollbar ngang */
}

.dashboard-content[b-x3t2syx1ji]::-webkit-scrollbar-track {
    background: transparent; /* Track trong suốt */
    border-radius: 2px;
}

.dashboard-content[b-x3t2syx1ji]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); /* Thumb mờ, ít nổi bật */
    border-radius: 2px;
    border: none; /* Bỏ border */
}

.dashboard-content[b-x3t2syx1ji]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4); /* Hover mờ hơn */
}

/* Firefox scrollbar cho dashboard-content */
.dashboard-content[b-x3t2syx1ji] {
    scrollbar-width: thin; /* Scrollbar mỏng */
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent; /* Thumb mờ, track trong suốt */
    overflow-x: hidden; /* Ẩn scroll ngang */
    overflow-y: auto; /* Chỉ hiển thị scroll dọc */
}

/* === GLOBAL SCROLLBAR STYLING - ÁP DỤNG CHO TẤT CẢ === */
*[b-x3t2syx1ji]::-webkit-scrollbar {
    width: 4px; /* Scrollbar toàn cục nhỏ gọn */
    height: 4px;
}

*[b-x3t2syx1ji]::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

*[b-x3t2syx1ji]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15); /* Màu mờ, ít nổi bật */
    border-radius: 2px;
}

*[b-x3t2syx1ji]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox global scrollbar */
*[b-x3t2syx1ji] {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
/* _content/SumoWeb/Pages/Analysis/SoilingLoss.razor.rz.scp.css */
/* SoilingLoss page styles */
.soiling-loss-page[b-2p2bdg6dzd] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/Analysis/StringManagement.razor.rz.scp.css */

.page-container[b-ifl15b0ydt] {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
}



.viewer[b-ifl15b0ydt]{
    width: 100%;
    height: auto;
}


.tab-control[b-ifl15b0ydt] {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

    .tab-control button[b-ifl15b0ydt] {
        min-width: 120px;
        padding: 10px 18px;
        border: 1px solid #3b3b3b;
        border-radius: 999px;
        color: #e5e7eb;
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        font-family: 'Poppins', sans-serif;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

        .tab-control button.active[b-ifl15b0ydt] {
            background-color: #facc15;
            border-color: #facc15;
            color: #1a1a1a;
            font-weight: 600;
        }


.dc-container[b-ifl15b0ydt] {
    display: flex;
    width: 100%;
    gap: 16px;
    max-width: none;
    height: 700px;
}
.dc-viewer[b-ifl15b0ydt] {
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    z-index: 9999;
}

.dc-string-panel[b-ifl15b0ydt] {
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background-color: #23282a;
    padding: 16px;
}

.ac-container[b-ifl15b0ydt] {
    display: flex;
    width: 100%;
    gap: 16px;
    max-width: none;
    height: 700px;
}

.chart-container[b-ifl15b0ydt]{
    height: 600px;
}
.right-controls[b-ifl15b0ydt] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.datetime-container[b-ifl15b0ydt] {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* _content/SumoWeb/Pages/Analysis/Thermal.razor.rz.scp.css */
.thermal-page[b-nasrz6jd6u] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-nasrz6jd6u] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/TotalNonRecoverable.razor.rz.scp.css */
.total-non-recoverable-page[b-11n251ijjv] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-11n251ijjv] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/UnexpectedRecoverable.razor.rz.scp.css */
/* UnexpectedRecoverable page styles */
.unexpected-recoverable-page[b-iabjgvxmgo] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-iabjgvxmgo] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Analysis/WiringLoss.razor.rz.scp.css */
/* ShadingLoss page styles */
.shading-loss-page[b-a1r9230y51] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

.section[b-a1r9230y51] {
  margin-bottom: 32px;
}

/* _content/SumoWeb/Pages/Cases/AlarmCenter.razor.rz.scp.css */
/* Alarm Center. Dùng biến theme của app.css để chạy được cả dark lẫn light mode —
   xem quy ước ở wwwroot/css/app.css trước khi thêm bất kỳ màu cứng nào. */

.alarm-center-page[b-plsfa1qusq] {
    padding: 24px;
}

.ac-title[b-plsfa1qusq] {
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 18px;
}

/* ---------- Thanh công cụ ---------- */

.ac-toolbar[b-plsfa1qusq] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.ac-field[b-plsfa1qusq] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.ac-field--search[b-plsfa1qusq] {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 380px;
}

.ac-field-icon[b-plsfa1qusq] {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    opacity: .7;
}

.ac-field-label[b-plsfa1qusq] {
    color: var(--text-secondary);
    font-size: 13px;
    white-space: nowrap;
}

/* Input trần: nền/viền đã nằm ở .ac-field bọc ngoài. */
.ac-input[b-plsfa1qusq] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
}

.ac-date[b-plsfa1qusq] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    /* color-scheme cho trình duyệt vẽ icon lịch theo nền tối, không thì ra ô trắng chói. */
    color-scheme: dark;
}

body:not(.dark-mode) .ac-date[b-plsfa1qusq] {
    color-scheme: light;
}

.ac-date-sep[b-plsfa1qusq] {
    color: var(--text-secondary);
    font-size: 13px;
}

.ac-btn[b-plsfa1qusq] {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 38px;
    width: 38px;
}

/* ---------- Tab All / Occurring / Recovered ---------- */

.ac-tabs[b-plsfa1qusq] {
    display: flex;
    align-items: center;
    gap: 22px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

/* MudBlazor đặt `button { justify-content: center }` toàn cục nên phải tự khai báo,
   nếu không nội dung tab bị canh giữa và gạch chân lệch. */
.ac-tab[b-plsfa1qusq] {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 2px;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    justify-content: flex-start;
    transition: color .15s, border-color .15s;
}

    .ac-tab:hover[b-plsfa1qusq] {
        color: var(--text-primary);
    }

    .ac-tab.is-active[b-plsfa1qusq] {
        color: #ef4444;
        border-bottom-color: #ef4444;
        font-weight: 600;
    }

.ac-tab-count[b-plsfa1qusq] {
    opacity: .85;
}

/* ---------- Trạng thái rỗng / đang tải / lỗi ---------- */

.ac-state[b-plsfa1qusq] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 160px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.ac-state--error[b-plsfa1qusq] {
    color: #ef4444;
}

/* ---------- Bảng ---------- */

.ac-table-wrapper[b-plsfa1qusq] {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

/* Ô trạng thái do TableCommon render nên không mang scope của file này -> cần ::deep. */
[b-plsfa1qusq] .ac-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

[b-plsfa1qusq] .ac-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}

[b-plsfa1qusq] .ac-pill--occurring {
    color: #ef4444;
    background: rgba(239, 68, 68, .14);
}

[b-plsfa1qusq] .ac-pill--recovered {
    color: #22c55e;
    background: rgba(34, 197, 94, .14);
}

/* Ô chọn mức: danh sách thả xuống do trình duyệt vẽ, không kế thừa nền trong suốt của
   .ac-input — phải tô nền cho <option> thì theme tối mới đọc được. */
.ac-select[b-plsfa1qusq] {
    flex: 0 0 auto;
    cursor: pointer;
}

.ac-select option[b-plsfa1qusq] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Badge mức độ theo priority của gateway (Critical/High/Medium/Low). Màu phải khớp
   AlarmPriorityDisplay.Color — donut general-live và dashboard lấy màu từ đó. */
[b-plsfa1qusq] .ac-level {
    display: inline-block;
    min-width: 62px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: #10151c; /* chữ tối trên nền badge sáng, đọc rõ ở cả hai theme */
    white-space: nowrap;
}

[b-plsfa1qusq] .ac-level--critical {
    background: #ef4444;
    color: #fff;
}

[b-plsfa1qusq] .ac-level--high {
    background: #f97316;
}

[b-plsfa1qusq] .ac-level--medium {
    background: #eab308;
}

[b-plsfa1qusq] .ac-level--low {
    background: #3b82f6;
    color: #fff;
}

/* Alarm ghi trước khi gateway gửi priority: không tô màu mức nào, chỉ là dấu "—". */
[b-plsfa1qusq] .ac-level--none {
    background: transparent;
    color: var(--text-secondary, #9ca3af);
    font-weight: 400;
}

/* Nút thao tác (dấu tick). MudBlazor đặt `button { justify-content: center }` toàn cục —
   ở đây căn giữa lại đúng ý nên không cần ghi đè, nhưng nền/viền mặc định thì phải reset. */
[b-plsfa1qusq] .ac-op-btn {
    appearance: none;
    background: none;
    border: none;
    padding: 4px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: color .15s, background-color .15s;
}

    [b-plsfa1qusq] .ac-op-btn:hover {
        color: #22c55e;
        background: rgba(34, 197, 94, .12);
    }

    [b-plsfa1qusq] .ac-op-btn:active {
        transform: scale(.92);
    }

/* ---------- Ô Phạm vi (PlantPicker) ---------- */

/* PlantPicker vốn là ô cỡ form (/report: padding 14px, viền riêng). Ở đây nó nằm trong một
   .ac-field cao 38px đã có nền/viền, nên bỏ khung riêng của nó đi. ::deep vì input do
   component con render. */
.ac-field--scope[b-plsfa1qusq] {
    flex: 0 1 280px;
    min-width: 220px;
}

.ac-field--scope[b-plsfa1qusq]  .plant-picker {
    flex: 1;
    min-width: 0;
}

.ac-field--scope[b-plsfa1qusq]  .plant-picker-input {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
    height: 36px;
    padding: 0 26px 0 0;
    font-size: 13px;
    font-family: inherit;
}

.ac-field--scope[b-plsfa1qusq]  .pp-clear {
    right: 0;
}

/* ---------- Chuyển chế độ xem Nhật ký | Thống kê ---------- */

.ac-view-switch[b-plsfa1qusq] {
    margin-left: auto;
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* Đứng trong .ac-tabs nhưng không được ăn gạch chân của tab. */
    margin-bottom: 6px;
}

.ac-view-btn[b-plsfa1qusq] {
    appearance: none;
    background: none;
    border: none;
    border-radius: 6px;
    padding: 5px 14px;
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color .15s, background-color .15s;
}

    .ac-view-btn:hover[b-plsfa1qusq] {
        color: var(--text-primary);
    }

    .ac-view-btn.is-active[b-plsfa1qusq] {
        color: #fff;
        background: #ef4444;
        font-weight: 600;
    }
/* _content/SumoWeb/Pages/Cases/SetAlarm.razor.rz.scp.css */
/* SolarDeviceManagement page styles */
.set-alarm-page[b-o94qa1i189] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}
/* _content/SumoWeb/Pages/Cases/TicketDetail.razor.rz.scp.css */
/* Chi tiết ticket. Cùng quy ước theming với Tickets.razor.css: chỉ dùng biến theme. */

.td-page[b-x2o7yi9lw5] {
    max-width: 900px;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-primary);
}

.td-head[b-x2o7yi9lw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.td-back[b-x2o7yi9lw5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-secondary);
    font: inherit;
    font-size: 13px;
    justify-content: flex-start;
    cursor: pointer;
}

    .td-back:hover[b-x2o7yi9lw5] {
        color: var(--text-primary);
    }

.td-code[b-x2o7yi9lw5] {
    color: var(--text-secondary);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

/* ---------- Ô nhập tiêu đề ----------
   Có KHUNG hẳn hoi chứ không còn là chữ trơn: bản cũ (viền trong suốt, nền trong suốt) trông
   y hệt một dòng tiêu đề tĩnh nên người dùng không biết bấm vào gõ. */
.td-title-field[b-x2o7yi9lw5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.td-title-label[b-x2o7yi9lw5] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.td-title-req[b-x2o7yi9lw5] {
    margin-left: 4px;
    color: #ef4444;
}

.td-title-input[b-x2o7yi9lw5] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    /* 26px chứ không phải 30px như bản không khung: trong một ô có viền, cỡ cũ cao lệch hẳn
       so với các .td-control ngay bên dưới. */
    font-size: 26px;
    font-weight: 700;
    padding: 10px 14px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

    .td-title-input[b-x2o7yi9lw5]::placeholder {
        color: var(--text-secondary);
        font-weight: 500;
    }

    .td-title-input:focus[b-x2o7yi9lw5] {
        border-color: #6aa9ff;
        box-shadow: 0 0 0 3px rgba(106, 169, 255, .18);
    }

    /* Còn trống thì phải đập vào mắt — đây là trường bắt buộc duy nhất của ticket. */
    .td-title-input.is-empty[b-x2o7yi9lw5] {
        border-color: #f59e0b;
        background: rgba(245, 158, 11, .07);
    }

        .td-title-input.is-empty:focus[b-x2o7yi9lw5] {
            border-color: #f59e0b;
            box-shadow: 0 0 0 3px rgba(245, 158, 11, .18);
        }

/* ---------- Danh sách thuộc tính ---------- */

.td-props[b-x2o7yi9lw5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.td-prop[b-x2o7yi9lw5] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
}

.td-prop-name[b-x2o7yi9lw5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 150px;
    flex: 0 0 150px;
    color: var(--text-secondary);
    font-size: 13px;
}

.td-control[b-x2o7yi9lw5] {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
}

/* Hai ô ngày của khoảng thực hiện. Bọc trong một khối riêng để .td-control bên trong
   chia đôi chỗ trống thay vì mỗi ô tự lấy max-width 420px. */
.td-daterange[b-x2o7yi9lw5] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 420px;
}

.td-daterange .td-control[b-x2o7yi9lw5] {
    max-width: none;
}

.td-daterange-sep[b-x2o7yi9lw5] {
    color: var(--text-secondary);
    font-size: 13px;
}

.td-link[b-x2o7yi9lw5] {
    color: #6aa9ff;
    font-size: 13px;
}

.td-chips[b-x2o7yi9lw5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.td-chip[b-x2o7yi9lw5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 12px;
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

    .td-chip:hover[b-x2o7yi9lw5] {
        border-color: var(--chip);
    }

    /* Chỉ mục ĐANG CHỌN mới tô màu — bốn chip cùng sáng thì không đọc ra trạng thái hiện tại. */
    .td-chip.is-active[b-x2o7yi9lw5] {
        background: color-mix(in srgb, var(--chip) 18%, transparent);
        border-color: var(--chip);
        color: var(--chip);
        font-weight: 600;
    }

.td-dot[b-x2o7yi9lw5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* ---------- Mô tả & bình luận ---------- */

.td-section[b-x2o7yi9lw5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.td-section-title[b-x2o7yi9lw5] {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.td-textarea[b-x2o7yi9lw5] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.td-comment[b-x2o7yi9lw5] {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
}

.td-comment-head[b-x2o7yi9lw5] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.td-comment-author[b-x2o7yi9lw5] {
    font-weight: 600;
    font-size: 13px;
}

.td-comment-time[b-x2o7yi9lw5] {
    color: var(--text-secondary);
    font-size: 11px;
}

.td-comment-body[b-x2o7yi9lw5] {
    font-size: 13px;
    line-height: 1.5;
    /* Bình luận do người dùng gõ: giữ nguyên xuống dòng và bẻ được từ dài (đường dẫn tag). */
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.td-comment-new[b-x2o7yi9lw5] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* ---------- Nút ---------- */

.td-actions[b-x2o7yi9lw5] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.td-save[b-x2o7yi9lw5],
.td-btn[b-x2o7yi9lw5],
.td-delete[b-x2o7yi9lw5] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.td-save[b-x2o7yi9lw5] {
    border-color: transparent;
    background: #2563eb;
    color: #fff;
}

    .td-save:disabled[b-x2o7yi9lw5] {
        opacity: .5;
        cursor: default;
    }

.td-delete[b-x2o7yi9lw5] {
    color: #ef4444;
}

.td-btn:disabled[b-x2o7yi9lw5] {
    opacity: .5;
    cursor: default;
}

.td-saved[b-x2o7yi9lw5] {
    color: var(--text-secondary);
    font-size: 12px;
}

.td-error[b-x2o7yi9lw5] {
    color: #ef4444;
    font-size: 12px;
}

.td-state[b-x2o7yi9lw5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 4px;
    color: var(--text-secondary);
}

.td-state--error[b-x2o7yi9lw5] {
    color: #ef4444;
}
/* _content/SumoWeb/Pages/Cases/Tickets.razor.rz.scp.css */
/* Trang Ticket Management.
   Màu lấy từ biến theme trong wwwroot/css/app.css để chạy đúng ở cả nền sáng và nền tối —
   tuyệt đối không đặt màu cứng cho nền/chữ (xem ghi chú chung của dự án về theming). */

.tk-page[b-8t6ayjc0xl] {
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--text-primary);
}

.tk-head[b-8t6ayjc0xl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tk-title[b-8t6ayjc0xl] {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.tk-new[b-8t6ayjc0xl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .15s;
}

    .tk-new:hover[b-8t6ayjc0xl] {
        background: #1d4ed8;
    }

/* ---------- Tabs trạng thái ---------- */

.tk-tabs[b-8t6ayjc0xl] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tk-tab[b-8t6ayjc0xl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 13px;
    /* MudBlazor.min.css có rule `button { justify-content: center }` — cùng cái bẫy đã gặp ở
       chú giải donut PortfolioSummary; không đặt lại thì nội dung các chip bị dồn giữa. */
    justify-content: flex-start;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

    .tk-tab:hover[b-8t6ayjc0xl] {
        background: var(--bg-primary);
    }

    .tk-tab.is-active[b-8t6ayjc0xl] {
        border-color: #2563eb;
        color: var(--text-primary);
        font-weight: 600;
    }

.tk-tab-count[b-8t6ayjc0xl] {
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Nút lọc quá hạn: đỏ như chữ Due quá hạn (.tk-due--late) để người dùng nối được hai thứ. */
.tk-tab--overdue[b-8t6ayjc0xl] {
    color: #ef4444;
}

    .tk-tab--overdue.is-active[b-8t6ayjc0xl] {
        border-color: #ef4444;
        background: rgba(239, 68, 68, .12);
        color: #ef4444;
    }

    .tk-tab--overdue .tk-tab-count[b-8t6ayjc0xl] {
        color: inherit;
    }

/* ---------- Thanh công cụ ---------- */

.tk-toolbar[b-8t6ayjc0xl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tk-field[b-8t6ayjc0xl] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
}

.tk-field--search[b-8t6ayjc0xl] {
    flex: 1 1 260px;
    max-width: 420px;
}

.tk-field--plant[b-8t6ayjc0xl] {
    flex: 0 1 200px;
}

.tk-field-icon[b-8t6ayjc0xl] {
    color: var(--text-secondary);
}

.tk-input[b-8t6ayjc0xl] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
}

.tk-select[b-8t6ayjc0xl] {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.tk-btn[b-8t6ayjc0xl] {
    color: var(--text-secondary);
}

/* ---------- Trạng thái rỗng / lỗi ---------- */

.tk-state[b-8t6ayjc0xl] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 4px;
    color: var(--text-secondary);
    font-size: 14px;
}

.tk-state--error[b-8t6ayjc0xl] {
    color: #ef4444;
}

/* ---------- Ô trong bảng ----------
   Bảng do TableCommon render nên các phần tử này là con của component khác: phải dùng
   ::deep, nếu không thuộc tính scope của trang không chạm tới được. */

[b-8t6ayjc0xl] .tk-link {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-primary);
    font: inherit;
    text-align: left;
    justify-content: flex-start;
    cursor: pointer;
}

    [b-8t6ayjc0xl] .tk-link:hover .tk-link-text {
        text-decoration: underline;
    }

[b-8t6ayjc0xl] .tk-code {
    color: var(--text-secondary);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

[b-8t6ayjc0xl] .tk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    /* Nền mờ theo chính màu của chip: color-mix giữ được một bảng màu cho cả hai theme
       mà không phải khai báo hai bộ mã màu. */
    background: color-mix(in srgb, var(--chip) 18%, transparent);
    color: var(--chip);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

[b-8t6ayjc0xl] .tk-chip--solid {
    background: color-mix(in srgb, var(--chip) 22%, transparent);
}

[b-8t6ayjc0xl] .tk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.tk-dot[b-8t6ayjc0xl] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

[b-8t6ayjc0xl] .tk-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

[b-8t6ayjc0xl] .tk-tag {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 11px;
}

[b-8t6ayjc0xl] .tk-due--late {
    color: #ef4444;
    font-weight: 600;
}

[b-8t6ayjc0xl] .tk-muted {
    color: var(--text-secondary);
}

.tk-table-wrapper[b-8t6ayjc0xl] {
    /* Nhiều cột nên bảng có thể rộng hơn khung: cho cuộn ngang trong chính khối này thay vì
       đẩy cả trang trượt ngang. */
    overflow-x: auto;
}

/* table-layout:fixed biến ColumnDef.Width thành con số THẬT. Để mặc định (auto) thì trình
   duyệt tự chia theo nội dung: một tiêu đề dài chiếm hết chỗ, cột Tags rỗng vẫn rộng.
   min-width giữ bảng đọc được; hẹp hơn thì cuộn ngang trong .tk-table-wrapper ở trên. */
.tk-table-wrapper[b-8t6ayjc0xl]  .data-table {
    table-layout: fixed;
    min-width: 1100px;
}

/* Cột hẹp không được xuống dòng, nếu không mỗi dòng một chiều cao khác nhau. */
.tk-table-wrapper[b-8t6ayjc0xl]  .table-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Riêng cột đầu (tiêu đề ticket) cho phép hai dòng — đây là chỗ duy nhất chữ thật sự dài. */
.tk-table-wrapper[b-8t6ayjc0xl]  .table-cell:first-child {
    white-space: normal;
}

[b-8t6ayjc0xl] .tk-link-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* _content/SumoWeb/Pages/CreateNewAccount.razor.rz.scp.css */
.create-account-page[b-mfbwfxqh14] { 
    position:relative; 
    height:100%; 
    width:100%; 
    overflow:hidden; 
}

.user-avatar[b-mfbwfxqh14] { 
    width:60px; 
    height:60px; 
    border-radius:20%; 
    object-fit:cover; 
    margin-bottom:12px; 
    border:2px solid #ffc400; 
}
.create-account-body[b-mfbwfxqh14] { 
    padding:0 20px 40px; 
    height:100%;
    background-color: var(--bg-primary);
}
/* Ensure TopNavigationBar renders ABOVE the create modal on this page */
.create-account-page .navigation-container[b-mfbwfxqh14],
.create-account-page .search-bar[b-mfbwfxqh14],
.create-account-page .nav-button[b-mfbwfxqh14],
.create-account-page .lang-selector[b-mfbwfxqh14],
.create-account-page .user-create[b-mfbwfxqh14] { z-index: 10001 !important; }
/* Also lift the dropdown menus above the modal */
.create-account-page .lang-dropdown-menu[b-mfbwfxqh14],
.create-account-page .user-dropdown-menu[b-mfbwfxqh14] { z-index: 10002 !important; }

.create-account-header[b-mfbwfxqh14] { 
    display:flex; 
    align-items:center; 
    margin-bottom:14px;
    gap:12px; 
    margin-top: 32px;
}
.create-account-page .create-account-header .title[b-mfbwfxqh14] { font-size:20px; font-weight:600; color:#ffc400; margin:0; }
.create-account-page .grid[b-mfbwfxqh14] { display:grid; grid-template-columns:repeat(3,1fr); gap:28px 40px; }
.grid.second[b-mfbwfxqh14] { margin-top:26px; grid-template-columns:repeat(3,1fr); }
.field[b-mfbwfxqh14] { display:flex; flex-direction:column; gap:6px; }
.field label[b-mfbwfxqh14] { font-size:12px; letter-spacing:.5px; text-transform:none; font-weight:500; color:var(--text-primary); }
.field select[b-mfbwfxqh14], .field input[type=date][b-mfbwfxqh14], .field input[type=text][b-mfbwfxqh14], .field textarea[b-mfbwfxqh14] { background:var(--bg-tertiary); border:1px solid var(--border-color); color:var(--text-primary); border-radius:10px; padding:10px 12px; font-size:14px; resize:vertical; min-height:42px; transition: border-color .18s, background .18s, box-shadow .18s; }
.field textarea[b-mfbwfxqh14] { min-height:120px; }
.field select:focus[b-mfbwfxqh14], .field input[type=date]:focus[b-mfbwfxqh14], .field input[type=text]:focus[b-mfbwfxqh14], .field textarea:focus[b-mfbwfxqh14] { outline:none; border-color:#18a37f; box-shadow:0 0 0 2px rgba(24,163,127,.35); background:var(--bg-tertiary); }

/* Radio button styling */
.radio-group[b-mfbwfxqh14] { display:flex; gap:20px; margin-top:4px; }
.radio-label[b-mfbwfxqh14] { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:14px; color:#e2e2e2; }
.radio-label input[type=radio][b-mfbwfxqh14] { width:16px; height:16px; accent-color:#18a37f; cursor:pointer; }
.radio-label span[b-mfbwfxqh14] { user-select:none; }

.create-account-actions[b-mfbwfxqh14] { margin-top:30px; display:flex; justify-content:flex-end; }
.save-btn[b-mfbwfxqh14] { background:#026b54; border:none; color:#fff; font-weight:600; padding:10px 34px; border-radius:22px; font-size:14px; cursor:pointer; letter-spacing:.5px; transition:.18s ease; }
.save-btn:hover:not([disabled])[b-mfbwfxqh14] { background:#069c88; box-shadow:0 6px 18px -2px rgba(9, 180, 172, 0.55); }
.save-btn:active:not([disabled])[b-mfbwfxqh14] { transform:translateY(1px); }
.save-btn[disabled][b-mfbwfxqh14] { opacity:.35; cursor:not-allowed; box-shadow:none; }


@media (max-width:1400px){ .plant-modal[b-mfbwfxqh14] { width:90%; } }
@media (max-width:1100px){ .grid[b-mfbwfxqh14], .grid.second[b-mfbwfxqh14] { grid-template-columns:repeat(2,1fr); } }
@media (max-width:800px){ .grid[b-mfbwfxqh14], .grid.second[b-mfbwfxqh14] { grid-template-columns:1fr; } .plant-modal[b-mfbwfxqh14] { top:30px; padding:22px 22px 28px; } .radio-group[b-mfbwfxqh14] { flex-direction:column; gap:12px; } }

/* _content/SumoWeb/Pages/CreatePlant.razor.rz.scp.css */
/* Wrapper handles its own scroll */
.create-plant-wrapper[b-i0tz3e9bdn] { position:relative; height:100vh; width:100%; background-color: var(--bg-primary); display:flex; flex-direction:column; overflow-y:auto; transition: background-color 0.3s ease; }
/* Form grows and leaves space for sticky actions */
.create-plant-wrapper form[b-i0tz3e9bdn] { padding:0 6px 60px 0; flex:1 1 auto; }
.mandatory-info[b-i0tz3e9bdn] { padding-left: 20px; padding-right: 20px;}
.optional-info[b-i0tz3e9bdn] { padding-left: 20px; padding-right: 20px;}
/* Cluster (topbar + page title) sticks as a single block */
.header-cluster[b-i0tz3e9bdn] { position:sticky; top:0; z-index:40; background: var(--bg-primary); display:flex; flex-direction:column; transition: background-color 0.3s ease; }
.dashboard-topbar[b-i0tz3e9bdn] { background: var(--bg-primary); display:flex; align-items:center; padding:6px 0 6px; transition: background-color 0.3s ease; }
.modal-header[b-i0tz3e9bdn] { background: var(--bg-primary); padding:12px 0 10px; border-top:1px solid var(--border-light); border-bottom:1px solid var(--border-medium); margin-bottom:14px; display:block; transition: background-color 0.3s ease, border-color 0.3s ease; }

body:not(.dark-mode) .modal-header[b-i0tz3e9bdn] {
    border-top-color: var(--border-color);
    border-bottom-color: var(--border-color);
}
.section-header[b-i0tz3e9bdn] { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.title-wrapper[b-i0tz3e9bdn]{ display: flex; align-items: center; gap: 12px; padding-left: 20px; }
.title[b-i0tz3e9bdn] { font-size:32px; font-weight:600; color: var(--text-primary); margin-bottom:10px;  margin-top:10px; transition: color 0.3s ease; }
.subtitle[b-i0tz3e9bdn] { font-size:14px; font-weight:400; color: var(--text-secondary); margin:0 0 4px; padding-left:20px; line-height:1.3; display:block; transition: color 0.3s ease; }
.section-title[b-i0tz3e9bdn] { font-size: 24px; font-weight:600; color:#ffc400; }
.section-label[b-i0tz3e9bdn] { margin-bottom: 12px; margin-top: 20px;}
.label-title[b-i0tz3e9bdn] { font-size: 16px; font-weight:600; color:#09cebd;}
.grid[b-i0tz3e9bdn] { display:grid; grid-template-columns:repeat(3,1fr); gap:28px 40px; margin-bottom: 12px;}
.grid.second[b-i0tz3e9bdn] { margin-top:26px; grid-template-columns:repeat(3,1fr); }
.field[b-i0tz3e9bdn] { display:flex; flex-direction:column; gap:6px; }
.field label[b-i0tz3e9bdn] { font-size:12px; letter-spacing:.5px; text-transform:none; font-weight:500; color: var(--text-primary); transition: color 0.3s ease; }
.field select[b-i0tz3e9bdn], .field input[type=date][b-i0tz3e9bdn], .field textarea[b-i0tz3e9bdn] { background: var(--bg-secondary); border:1px solid var(--border-medium); color: var(--text-primary); border-radius:10px; padding:6px 10px; font-size:14px; resize:vertical; min-height:34px; line-height:1.25; transition: border-color .18s, background .18s, box-shadow .18s, color 0.3s ease; }

body:not(.dark-mode) .field select[b-i0tz3e9bdn], 
body:not(.dark-mode) .field input[type=date][b-i0tz3e9bdn], 
body:not(.dark-mode) .field textarea[b-i0tz3e9bdn] {
    border-color: var(--border-color);
}
/* Reduced default textarea height */
.field textarea[b-i0tz3e9bdn] { min-height:60px; }
/* Optional utility class if you want even more compact single-line textareas/inputs */
.field.compact select[b-i0tz3e9bdn], .field.compact input[type=date][b-i0tz3e9bdn], .field.compact textarea[b-i0tz3e9bdn] { padding:4px 8px; min-height:30px; font-size:13px; }
.field select:focus[b-i0tz3e9bdn], .field input[type=date]:focus[b-i0tz3e9bdn], .field textarea:focus[b-i0tz3e9bdn] { outline:none; border-color:#18a37f; background: var(--bg-tertiary); }

.actions[b-i0tz3e9bdn] { display:flex; justify-content:flex-end; padding:10px 16px 12px; gap:12px; margin-bottom: 50px; }
.create-btn[b-i0tz3e9bdn] { background:#25c278; color:#fff; border:none; border-radius:22px; padding:10px 34px; font-size:14px; font-weight:500; cursor:pointer; box-shadow:0 4px 16px -4px rgba(19,189,116,0.5); transition:.18s ease; }
.create-btn:hover:not([disabled])[b-i0tz3e9bdn] { background:#1fb06b; }
.create-btn[disabled][b-i0tz3e9bdn] { opacity:.45; cursor:not-allowed; }
.mandatory-info[b-i0tz3e9bdn]{ margin-bottom: 16px;}

@media (max-width:1400px){ }
@media (max-width:1100px){ .grid[b-i0tz3e9bdn], .grid.second[b-i0tz3e9bdn] { grid-template-columns:repeat(2,1fr); } }
/* _content/SumoWeb/Pages/Dashboard/DashboardOverview.razor.rz.scp.css */
/* Bố cục trang Overview: năm hàng, ba hàng nội dung chia theo tỷ lệ fr.
 *
 * TỪNG "vừa đúng một màn hình 16:9", 2026-08-14 đã BỎ ràng buộc đó — đừng khôi phục.
 * Lý do: trên màn 1080p chạy Chrome cửa sổ thường, vùng nội dung chỉ còn ~735px
 * (1080 − ~106 khung trình duyệt − 120 topbar). Ba mức tối thiểu cũ (216/209/179) cộng
 * phần cố định đã là 783px, nên thực tế các hàng LUÔN nằm ở mức tối thiểu VÀ trang vẫn
 * phải cuộn. Tức là chật mà chẳng đổi lại được gì: bản đồ bé xíu, bảng Plant Status chỉ
 * thấy hai dòng.
 *
 * Nay các mức tối thiểu là "chiều cao đọc được tối thiểu", KHÔNG phải hạn mức để nhét vừa
 * màn hình. Cứ thoải mái chỉnh khi một khối cần thêm chỗ.
 */
.dash-page[b-kx7qffwgfb] {
    height: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    display: grid;
    /* Trang được thiết kế để CUỘN, đó là chủ ý — xem chú thích ở trên.
       Giữ `fr` chính là để màn cao hơn tự lấp đầy chứ không bỏ trống nửa dưới. */
    grid-template-rows:
        auto                       /* tiêu đề trang */
        auto                       /* hàng thẻ KPI */
        minmax(430px, 1.45fr)      /* fleet health | fleet map | plant status */
        minmax(380px, 1.15fr)      /* portfolio detail | live trend | AC digital twin */
        minmax(250px, 1fr);        /* alarm | maintenance | AI | weather */
    gap: 8px;
    /* KHÔNG đặt overflow ở đây. Chỉ cần một trục là hidden thì trục kia thành auto, biến
       chính .dash-page thành vùng cuộn và CẮT CỤT hàng cuối một cách lặng lẽ trên màn hình
       thấp hơn dự tính. Cứ để nó tràn ra và .dashboard-content (overflow:auto) lo việc cuộn.
       Cuộn ngang đã được chặn bằng min-width:0 ở các ô lưới bên dưới. */
    max-width: 100%;
}

.dash-head[b-kx7qffwgfb] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.dash-title[b-kx7qffwgfb] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.dash-subtitle[b-kx7qffwgfb] {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ---- Các hàng nội dung ---- */
.dash-row[b-kx7qffwgfb] {
    display: grid;
    gap: 10px;
    align-items: stretch;
    /* min-height:0 là BẮT BUỘC với grid item: mặc định min-height:auto khiến hàng phình ra
       theo nội dung và phá vỡ tỷ lệ fr của lưới trang. */
    min-height: 0;
    min-width: 0;
}

/* MỘT bộ track dùng chung cho cả ba hàng, 2026-09-07.
 *
 * Trước đây mỗi hàng có bộ track riêng (1fr 1.15fr 2fr / clamp 1.2fr 1fr / 1.15fr 1.25fr
 * 0.9fr 1.1fr) nên các cột KHÔNG hề thẳng nhau theo chiều dọc. Chủ dự án yêu cầu AC Digital
 * Twin thẳng cột với Fleet Map ở trên và Maintenance Summary ở dưới, mà cách duy nhất để ba
 * lưới rời nhau thẳng hàng chính xác là cho chúng cùng track list VÀ cùng gap.
 *
 * Hàng main và mid chỉ có ba thẻ, nên thẻ thứ ba chiếm hai track cuối (grid-column: span 2).
 * Quy tắc span đó nằm ở wwwroot/css/dashboard.css chứ KHÔNG phải ở đây — xem chú thích tại
 * chỗ nó, CSS isolation của trang không với tới root element của component con.
 *
 * Track 1 cố ý KHÔNG dùng `fr` — đừng "chuẩn hoá" nó lại. Sơ đồ năng lượng trong
 * PortfolioDetailCard co theo cạnh CHẬT HƠN giữa rộng và cao (xem PortfolioDetailCard.razor.css),
 * nên cấp thừa bề ngang chỉ là bỏ trống hai bên hình. Chặn trên 380px là có tính.
 *
 * Track 2-4 lấy nguyên từ .dash-row--bottom cũ, nhưng ĐÃ CHỈNH LẠI 2026-09-09 — xem dưới.
 *
 * 2026-09-09: bộ track 09-07 (24% / 1.25fr / 0.9fr / 1.1fr) làm Plant Status hụt mất 20px so
 * với bản trước đó. Nghe thì nhỏ, nhưng bảng bảy cột cần 714px: đo trên trang thật ở cửa sổ
 * 1920 thì hàng rộng 1506px, thẻ Plant Status chỉ còn 696px -> bảng tràn, sinh cuộn ngang và
 * cột Cosφ Grid bị cắt cụt. (Bản 08-19 dùng 1fr 1.15fr 2fr cho ra 716px, vừa đủ không cuộn.)
 *
 * Nay lấy lại ~44px cho hai track cuối: track 1 từ 24% xuống 23% (-15px, sơ đồ năng lượng
 * gần như không đổi) và track 2 nhường phần còn lại (Fleet Map/AC twin 429 -> 400px). Plant
 * Status và Live Trend về 740px. Vẫn CÙNG một bộ track cho cả ba hàng, nên các cột vẫn thẳng
 * dọc suốt trang như yêu cầu 09-07. */
.dash-row--main[b-kx7qffwgfb],
.dash-row--mid[b-kx7qffwgfb],
.dash-row--bottom[b-kx7qffwgfb] {
    grid-template-columns: clamp(280px, 23%, 380px) 1.15fr 0.95fr 1.15fr;
}

/* Màn hình thấp hoặc hẹp: bỏ ràng buộc "vừa một màn hình", quay về xếp chồng và cho cuộn. */
@media (max-width: 1500px) {
    .dash-row--main[b-kx7qffwgfb] { grid-template-columns: 1fr 1.4fr; }
    /* Ba ô trên một hàng ở bề ngang này thì ô hẹp nhất chỉ còn ~200px — không đọc được gì.
       Cho ô thứ ba xuống hàng dưới, chiếm trọn bề ngang (quy tắc grid-column nằm ở
       wwwroot/css/dashboard.css).

       grid-auto-rows là BẮT BUỘC ở đây: ô thứ ba rơi xuống một hàng NGẦM, mà hàng ngầm mặc
       định là `auto` -> cao đúng bằng nội dung tối thiểu. Cả sơ đồ AC (.atc-body) lẫn biểu đồ
       Live Trend (.lt-body) đều là flex:1 + min-height:0 nên chúng co về 0 và thẻ chỉ còn
       phần tiêu đề ~45px. Đo trên trang thật ở bề ngang 1400px, 2026-09-06.

       2026-09-07 đảo thứ tự hàng giữa (AC Digital Twin lên giữa) nên ô rơi xuống giờ là Live
       Trend chứ không phải sơ đồ AC — mức 380px vẫn giữ, biểu đồ cần chiều cao y hệt. */
    .dash-row--mid[b-kx7qffwgfb] {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(380px, auto);
    }
    .dash-row--bottom[b-kx7qffwgfb] { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1500px), (max-height: 760px) {
    .dash-page[b-kx7qffwgfb] {
        height: auto;
        grid-template-rows: none;
    }
}

@media (max-width: 1100px) {
    .dash-row--main[b-kx7qffwgfb],
    .dash-row--mid[b-kx7qffwgfb],
    .dash-row--bottom[b-kx7qffwgfb] { grid-template-columns: 1fr; }
}
/* _content/SumoWeb/Pages/GeneralLive/GeneralLive.razor.rz.scp.css */
.general-live-page[b-3nbmemlc7k] {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-primary);
    /* Let parent .dashboard-content handle scrolling */
    min-height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
}

.section[b-3nbmemlc7k] {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .general-live-page[b-3nbmemlc7k] {
        padding: 16px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .general-live-page[b-3nbmemlc7k] {
        padding: 12px;
        gap: 16px;
    }
}

/* _content/SumoWeb/Pages/Hardware/SolarDeviceManagement.razor.rz.scp.css */
/* SolarDeviceManagement page styles */
.solar-device-management-page[b-saot470c2w] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}
/* _content/SumoWeb/Pages/Home.razor.rz.scp.css */
.main-dashboard[b-sl5iwx18bj] {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	font-family: 'Poppins', sans-serif;
}

/* Aligned to .solar-plant-panel (fixed at top 26.5% / left 3% / width 44.2vw,
   height 309px) so the charts read as one column with it.
   Nếu đổi chiều cao panel thì phải đổi cả hai phép calc bên dưới. */
.home-charts-slot[b-sl5iwx18bj] {
	position: fixed;
	top: calc(26.5% + 309px + 8px);
	left: 3%;
	width: 44.2vw;
	max-width: calc(100vw - 40px);
	/* Never run off the bottom of the viewport on short screens. */
	max-height: calc(100vh - 26.5% - 309px - 24px);
	overflow-y: auto;
	z-index: 999;
}
/* _content/SumoWeb/Pages/Login.razor.rz.scp.css */

.login-layout-bg[b-wcyphr6dkh] {
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    inset: 0;
    background: url('/images/login_background.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    font-family: 'Poppins', sans-serif;
}

.login-overlay[b-wcyphr6dkh] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.login-form-panel[b-wcyphr6dkh] {
    width: 820px;
    height: 720px;
    margin: auto;
    background: #403E3E;
    opacity: 0.8;
    border-radius: 18px;
    padding: 2.5rem 2.25rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(8px) saturate(120%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.login-form-title[b-wcyphr6dkh] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem auto 1.2rem auto;
    letter-spacing: 1px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF !important;
}

.login-input[b-wcyphr6dkh] {
    width: 100%;
    height: 100%;
    padding: 0.85rem 2.8rem 0.85rem 1.1rem;
    font-size: 1.15rem;
    border-radius: 35px;
    border: 1.5px solid #d1d9e0;
    background: rgba(255,255,255,0.13);
    font-family: 'Poppins', sans-serif;
}

.login-input:focus[b-wcyphr6dkh] {
    border-color: #fff;
    background: rgba(255,255,255,0.13);
    outline: none;
}

.login-form-group[b-wcyphr6dkh] {
    height: 85px;
    width: 100%;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
}

.login-icon[b-wcyphr6dkh] {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.login-icon img[b-wcyphr6dkh] {
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.85;
}

.login-form-options[b-wcyphr6dkh] {
    height: 30px;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    margin: 0 auto 0.2rem auto;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.login-remember[b-wcyphr6dkh] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.25rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.login-remember input[type="checkbox"][b-wcyphr6dkh] {
    accent-color: #3ec6ff;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.3rem;
}

.login-forgot[b-wcyphr6dkh] {
    color: #3ec6ff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
}

.login-forgot:hover[b-wcyphr6dkh] {
    color: #fff;
    text-decoration: underline;
}

.login-btn[b-wcyphr6dkh] {
    height: 85px;
    width: 50%;
    max-width: 480px;
    padding: 0.95rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 35px;
    border: none;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 8px -2px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.login-btn:hover[b-wcyphr6dkh] {
    background: #3ec6ff;
    color: #fff;
}

@media (max-width: 600px) {
    .login-form-panel[b-wcyphr6dkh] {
        min-width: 90vw;
        padding: 1.5rem 0.5rem;
    }
    .login-form-title[b-wcyphr6dkh] {
        font-size: 2rem;
    }
}
/* _content/SumoWeb/Pages/MyProfile.razor.rz.scp.css */
.profile-page[b-q5b6dbn6pk] { 
    position:relative; 
    height:100%; 
    width:100%; 
    overflow:hidden; 
}

.user-avatar[b-q5b6dbn6pk] { 
    width:60px; 
    height:60px; 
    border-radius:20%; 
    object-fit:cover; 
    margin-bottom:12px; 
    border:2px solid #ffc400; 
}
.profile-body[b-q5b6dbn6pk] { 
    padding:0 20px 40px; 
    height:100%;
    background-color: var(--bg-primary);
}
/* Ensure TopNavigationBar renders ABOVE the profile modal on this page */
.profile-page .navigation-container[b-q5b6dbn6pk],
.profile-page .search-bar[b-q5b6dbn6pk],
.profile-page .nav-button[b-q5b6dbn6pk],
.profile-page .lang-selector[b-q5b6dbn6pk],
.profile-page .user-profile[b-q5b6dbn6pk] { z-index: 10001 !important; }
/* Also lift the dropdown menus above the modal */
.profile-page .lang-dropdown-menu[b-q5b6dbn6pk],
.profile-page .user-dropdown-menu[b-q5b6dbn6pk] { z-index: 10002 !important; }

.profile-header[b-q5b6dbn6pk] { 
    display:flex; 
    align-items:center; 
    margin-bottom:14px;
    gap:12px; 
    margin-top: 32px;
}
.profile-page .profile-header .title[b-q5b6dbn6pk] { font-size:20px; font-weight:600; color:#ffc400; margin:0; }
.profile-page .grid[b-q5b6dbn6pk] { display:grid; grid-template-columns:repeat(3,1fr); gap:28px 40px; }
.grid.second[b-q5b6dbn6pk] { margin-top:26px; grid-template-columns:repeat(3,1fr); }
.field[b-q5b6dbn6pk] { display:flex; flex-direction:column; gap:6px; }
.field label[b-q5b6dbn6pk] { font-size:12px; letter-spacing:.5px; text-transform:none; font-weight:500; color:var(--text-primary); }
.field select[b-q5b6dbn6pk], .field input[type=date][b-q5b6dbn6pk], .field input[type=text][b-q5b6dbn6pk], .field textarea[b-q5b6dbn6pk] { background: var(--bg-tertiary); border:1px solid var(--border-color); color:var(--text-primary); border-radius:10px; padding:10px 12px; font-size:14px; resize:vertical; min-height:42px; transition: border-color .18s, background .18s, box-shadow .18s; }
.field textarea[b-q5b6dbn6pk] { min-height:120px; }
.field select:focus[b-q5b6dbn6pk], .field input[type=date]:focus[b-q5b6dbn6pk], .field input[type=text]:focus[b-q5b6dbn6pk], .field textarea:focus[b-q5b6dbn6pk] { outline:none; border-color:#18a37f; box-shadow:0 0 0 2px rgba(24,163,127,.35); background:var(--bg-tertiary); }

/* Radio button styling */
.radio-group[b-q5b6dbn6pk] { display:flex; gap:20px; margin-top:4px; }
.radio-label[b-q5b6dbn6pk] { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:14px; color:#e2e2e2; }
.radio-label input[type=radio][b-q5b6dbn6pk] { width:16px; height:16px; accent-color:#18a37f; cursor:pointer; }
.radio-label span[b-q5b6dbn6pk] { user-select:none; }

.profile-actions[b-q5b6dbn6pk] { margin-top:30px; display:flex; justify-content:flex-end; }
.save-btn[b-q5b6dbn6pk] { background:#026b54; border:none; color:#fff; font-weight:600; padding:10px 34px; border-radius:22px; font-size:14px; cursor:pointer; letter-spacing:.5px; transition:.18s ease; }
.save-btn:hover:not([disabled])[b-q5b6dbn6pk] { background:#069c88; box-shadow:0 6px 18px -2px rgba(9, 180, 172, 0.55); }
.save-btn:active:not([disabled])[b-q5b6dbn6pk] { transform:translateY(1px); }
.save-btn[disabled][b-q5b6dbn6pk] { opacity:.35; cursor:not-allowed; box-shadow:none; }


@media (max-width:1400px){ .plant-modal[b-q5b6dbn6pk] { width:90%; } }
@media (max-width:1100px){ .grid[b-q5b6dbn6pk], .grid.second[b-q5b6dbn6pk] { grid-template-columns:repeat(2,1fr); } }
@media (max-width:800px){ .grid[b-q5b6dbn6pk], .grid.second[b-q5b6dbn6pk] { grid-template-columns:1fr; } .plant-modal[b-q5b6dbn6pk] { top:30px; padding:22px 22px 28px; } .radio-group[b-q5b6dbn6pk] { flex-direction:column; gap:12px; } }

/* _content/SumoWeb/Pages/Performance/Comparison/SolarPerformanceComparison.razor.rz.scp.css */
.page-container[b-phg7duealz] { padding: 16px; }
.content-wrapper[b-phg7duealz] { margin-top: 16px; }



/* _content/SumoWeb/Pages/Performance/InverterAndPowermeterData.razor.rz.scp.css */
/* Page styles */
.inverter-powermeter-data-page[b-vpb4xxwlr0] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}


/* Khung cho hai khối mới (Inverter Details, Daily trend). KHÔNG tô nền: ở trang Inverters hai
   khối này nằm thẳng trên nền trang, chỉ các ô số liệu / thẻ biểu đồ bên trong mới mang nền
   --chart-container-bg. Tô thêm --bg-tertiary ở đây (bản trước) làm cả mảng sáng hơn trang
   Inverters và các ô bên trong chìm mất vì trùng màu với khung (09/10/2026). */
.ipd-card[b-vpb4xxwlr0] {
  margin-bottom: 24px;
  min-width: 0;
}
/* _content/SumoWeb/Pages/Performance/UltilityMonitoring/UltilityMonitoring.razor.rz.scp.css */
.page-container[b-w9i16hnmpk] {
    padding: 16px;
}

.content-wrapper[b-w9i16hnmpk] {
    margin-top: 16px;
}

/* _content/SumoWeb/Pages/PlantOverview/Camera.razor.rz.scp.css */
.camera-page[b-8jgkh8gyux] {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
}

.camera-title[b-8jgkh8gyux] {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.camera-placeholder[b-8jgkh8gyux] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
}

.camera-placeholder-text[b-8jgkh8gyux] {
    font-size: 14px;
    color: var(--text-secondary);
}
/* _content/SumoWeb/Pages/PlantOverview/PlantOverview.razor.rz.scp.css */
/* Page styles */
.plant-overview-page[b-cvckyd1vbx] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/PlantOverview/ProjectOverview.razor.rz.scp.css */
/* Page styles */
.project-overview-page[b-fd5gfzwc18] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/ProjectManagement.razor.rz.scp.css */
/* Wrapper handles its own scroll */
.project-management-wrapper[b-yfkz7zrqb5] { position:relative; height:100vh; width:100%; background-color: var(--bg-primary); display:flex; flex-direction:column; overflow-y:auto; transition: background-color 0.3s ease; }
/* Form grows and leaves space for sticky actions */
.project-management-wrapper form[b-yfkz7zrqb5] { padding:0 6px 60px 0; flex:1 1 auto; }
/* Cluster (topbar + page title) sticks as a single block */
.header-cluster[b-yfkz7zrqb5] { position:sticky; top:0; z-index:40; background: var(--bg-primary); display:flex; flex-direction:column; transition: background-color 0.3s ease; }
.dashboard-topbar[b-yfkz7zrqb5] { background: var(--bg-primary); display:flex; align-items:center; padding:6px 0 6px; transition: background-color 0.3s ease; }
.modal-header[b-yfkz7zrqb5] { background: var(--bg-primary); padding:12px 0 10px; border-top:1px solid var(--border-light); border-bottom:1px solid var(--border-color); margin-bottom:14px; display:block; transition: background-color 0.3s ease, border-color 0.3s ease; }

.title-wrapper[b-yfkz7zrqb5]{ display: flex; align-items: center; gap: 12px; padding-left: 20px; }
.title[b-yfkz7zrqb5] { font-size:32px; font-weight:600; color: var(--text-primary); margin-bottom:10px;  margin-top:10px; transition: color 0.3s ease; }
.subtitle[b-yfkz7zrqb5] { font-size:14px; font-weight:400; color: var(--text-secondary); margin:0 0 4px; padding-left:20px; line-height:1.3; display:block; transition: color 0.3s ease; }

.actions-bar[b-yfkz7zrqb5] { display:flex; align-items:center; justify-content:flex-start; padding:12px 20px; gap:12px; margin-bottom:50px; position:sticky; top:0; z-index:35; background: var(--bg-primary); backdrop-filter:saturate(180%) blur(6px); transition: background-color 0.3s ease; }

/* Base button styling for actions bar */
.actions-bar .btn[b-yfkz7zrqb5] { height:36px; padding:0 14px; border-radius:8px; border:1px solid #273037; background:#151b20; color: var(--text-primary); font-size:14px; font-weight:600; letter-spacing:0.2px; display:inline-flex; align-items:center; gap:8px; cursor:pointer; transition:background .15s ease, border-color .15s ease, transform .06s ease; }
.actions-bar .btn:focus[b-yfkz7zrqb5] { outline:none; box-shadow:none; }
.actions-bar .btn:focus-visible[b-yfkz7zrqb5] { outline:none; box-shadow:none; }
.actions-bar .btn[b-yfkz7zrqb5]::-moz-focus-inner { border:0; }
.actions-bar .btn[b-yfkz7zrqb5] { -webkit-tap-highlight-color:transparent; }
.actions-bar .btn:hover[b-yfkz7zrqb5] { background:#1a2127; border-color:#324048; }
.actions-bar .btn:active[b-yfkz7zrqb5] { transform:translateY(1px); }
.actions-bar .btn:disabled[b-yfkz7zrqb5] { opacity:.6; cursor:not-allowed; }

/* Specific variants */
.actions-bar .add-project-btn[b-yfkz7zrqb5] { background:linear-gradient(180deg, #1a7f39 0%, #156a31 100%); border-color:#1a7f39; color:#ffffff; }
.actions-bar .add-project-btn:hover[b-yfkz7zrqb5] { background:linear-gradient(180deg, #1e8c40 0%, #177438 100%); border-color:#1e8c40; }

.actions-bar .refresh-project-btn[b-yfkz7zrqb5] { background:#151b20; border-color:#2b353c; color:#cfe3ff; }
.actions-bar .refresh-project-btn:hover[b-yfkz7zrqb5] { background:#192027; border-color:#36424a; }

/* Projects list and item styling */
.projects-list[b-yfkz7zrqb5] { display:flex; flex-direction:column; gap:12px; padding:0 20px 20px; }
.project-item[b-yfkz7zrqb5] { display:grid; grid-template-columns: minmax(120px, 1fr) minmax(420px, 2fr) auto; align-items:center; gap:16px; padding:14px 16px; border-radius:10px; background: var(--bg-tertiary); border: 1px solid var(--border-light); transition: background-color 0.3s ease, border-color 0.3s ease; }

body:not(.dark-mode) .project-item[b-yfkz7zrqb5] {
    border-color: var(--border-color);
}
.project-name[b-yfkz7zrqb5] { font-size:16px; font-weight:600; color: var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition: color 0.3s ease; }
.stats[b-yfkz7zrqb5] { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.stat[b-yfkz7zrqb5] { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; border:1px solid var(--border-medium); border-radius:8px; background: var(--bg-secondary); min-width:160px; cursor:pointer; transition:background .15s ease, border-color .15s ease, transform .06s ease, background-color 0.3s ease; overflow:hidden; }

body:not(.dark-mode) .stat[b-yfkz7zrqb5] {
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

.stat .label[b-yfkz7zrqb5] { font-size:12px; color: var(--text-secondary); transition: color 0.3s ease; }
.stat .value[b-yfkz7zrqb5] { font-size:14px; font-weight:700; color: var(--text-primary); transition: color 0.3s ease; }

/* Constrain Blazor inputs inside stat to prevent overflow */
.project-edit[b-yfkz7zrqb5] {display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px;}
.field[b-yfkz7zrqb5] {display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; border:1px solid #20262b; border-radius:8px; background:#13181d; min-width:450px; cursor:pointer; transition:background .15s ease, border-color .15s ease, transform .06s ease; overflow:hidden;}

body:not(.dark-mode) .field[b-yfkz7zrqb5] {
	border-color: var(--border-color);
	background: var(--bg-secondary);
}

.field[b-yfkz7zrqb5]  input,
.field[b-yfkz7zrqb5]  .input,
.field[b-yfkz7zrqb5]  input[type="number"],
.field[b-yfkz7zrqb5]  input[type="text"],
.field[b-yfkz7zrqb5]  .mud-input,
.field[b-yfkz7zrqb5]  .mud-input-root,
.field[b-yfkz7zrqb5]  .mud-input-slot,
.field[b-yfkz7zrqb5]  .mud-input-control,
.project-edit .input[b-yfkz7zrqb5] {
	width: 240px;
	max-width: 240px;
	box-sizing: border-box;
	padding: 6px 8px;
	border-radius: 8px;
	background: #2a2e31;
	color: var(--text-primary);
	flex: 0 0 auto;
}

body:not(.dark-mode) .field[b-yfkz7zrqb5]  input {
	background: #f0f0f0;
	color: #1f1e1e;
}

.stat[b-yfkz7zrqb5]  input,
.stat[b-yfkz7zrqb5]  .input,
.stat[b-yfkz7zrqb5]  input[type="number"],
.stat[b-yfkz7zrqb5]  input[type="text"],
.stat[b-yfkz7zrqb5]  .mud-input,
.stat[b-yfkz7zrqb5]  .mud-input-root,
.stat[b-yfkz7zrqb5]  .mud-input-slot,
.stat[b-yfkz7zrqb5]  .mud-input-control,
.project-edit .input[b-yfkz7zrqb5] {
	width: 45px;
	max-width: 45px;
	box-sizing: border-box;
	padding: 6px 8px;
	border-radius: 8px;
	background: #2a2e31;
	color: var(--text-primary);
	flex: 0 0 auto;
}

body:not(.dark-mode) .stat[b-yfkz7zrqb5]  input {
	background: #f0f0f0;
	color: #1f1e1e;
}

.stat[b-yfkz7zrqb5]  input[type=number]::-webkit-inner-spin-button,
.stat[b-yfkz7zrqb5]  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.project-edit .field .input[b-yfkz7zrqb5] { width: 240px; }

.stat .label[b-yfkz7zrqb5] { white-space: nowrap; margin-right: 8px; }
.stat *[b-yfkz7zrqb5] { margin: 0; }

/* Right-side delete button */
.actions[b-yfkz7zrqb5] { display:flex; gap:10px; justify-self:end; }
.actions .btn[b-yfkz7zrqb5] { height:32px; padding:0 12px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:background .15s ease, border-color .15s ease, transform .06s ease; }
.delete-project-btn[b-yfkz7zrqb5] { color:#c72222 }
.delete-project-btn:hover[b-yfkz7zrqb5] { background: var(--bg-primary); }
.delete-project-btn:active[b-yfkz7zrqb5] { transform:translateY(1px); }
.delete-project-btn:focus[b-yfkz7zrqb5] { outline:none; box-shadow:none; }

/* Right-side edit button */
.edit-project-btn[b-yfkz7zrqb5] { color:#0fbac0 }
.edit-project-btn:hover[b-yfkz7zrqb5] { background: var(--bg-primary); }
.edit-project-btn:active[b-yfkz7zrqb5] { transform:translateY(1px); }
.edit-project-btn:focus[b-yfkz7zrqb5] { outline:none; box-shadow:none; }

.save-project-btn[b-yfkz7zrqb5] { background:#25c278; color:#fff; border:none; border-radius:22px; padding:10px 34px; font-size:14px; font-weight:500; cursor:pointer; box-shadow:0 4px 16px -4px rgba(19,189,116,0.5); transition:.18s ease; }
.save-project-btn:hover:not([disabled])[b-yfkz7zrqb5] { background:#1fb06b; }
.save-project-btn[disabled][b-yfkz7zrqb5] { opacity:.45; cursor:not-allowed; }

.cancel-project-btn[b-yfkz7zrqb5] { background:#ffffff; color:#1f1e1e; border:none; border-radius:22px; padding:10px 34px; font-size:14px; font-weight:500; cursor:pointer; box-shadow:0 4px 16px -4px rgba(19,189,116,0.5); transition:.18s ease; }
.cancel-project-btn:hover:not([disabled])[b-yfkz7zrqb5] { background:#f8f8f8; }
.cancel-project-btn[disabled][b-yfkz7zrqb5] { opacity:.45; cursor:not-allowed; }

.projects-actions-footer[b-yfkz7zrqb5] {  margin-left: 20px; }

@media (max-width: 768px) {
	.project-item[b-yfkz7zrqb5] { grid-template-columns: 1fr; }
	.stats[b-yfkz7zrqb5] { width:100%; grid-template-columns: 1fr; }
	.stat[b-yfkz7zrqb5] { min-width:140px; }
	.actions[b-yfkz7zrqb5] { justify-self:start; }
}

/* Small screen adjustments */
@media (max-width: 640px) {
	.actions-bar[b-yfkz7zrqb5] { padding:10px 12px; gap:10px; }
	.actions-bar .btn[b-yfkz7zrqb5] { flex:1 1 auto; justify-content:center; }
}
/* _content/SumoWeb/Pages/Reports.razor.rz.scp.css */
.report-page[b-gk5yvvckk6] {
    padding: 24px;
    background-color: var(--bg-primary);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

/* Remove old header styles since we're using CommonGeneralHeader now */
.header-section[b-gk5yvvckk6] {
    margin-bottom: 30px;
}

.page-title[b-gk5yvvckk6] {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.duration-info[b-gk5yvvckk6] {
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
    border: 1px solid var(--border-light);
}

.duration-info-icon[b-gk5yvvckk6] {
    margin-right: 15px;
}

.duration-icon[b-gk5yvvckk6] {
    width: 24px;
    height: 24px;
    filter: var(--icon-filter);
}

.duration-info-content[b-gk5yvvckk6] {
    display: flex;
    flex-direction: column;
}

.duration-text[b-gk5yvvckk6] {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.duration-dates[b-gk5yvvckk6] {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2px;
}

.reports-grid-section[b-gk5yvvckk6] {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    border: none;
}

.section[b-gk5yvvckk6] {
/*    background-color: var(--bg-secondary);*/
    border-radius: 12px;
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/
    padding: 25px;
    margin-bottom: 30px;
/*    border: 1px solid var(--border-light);*/
}

.section-title[b-gk5yvvckk6] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}


.reports-grid[b-gk5yvvckk6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .report-page[b-gk5yvvckk6] {
        padding: 15px;
    }

    .page-title[b-gk5yvvckk6] {
        font-size: 2rem;
    }

    .section[b-gk5yvvckk6] {
        padding: 20px;
        margin-bottom: 20px;
    }

    .reports-grid[b-gk5yvvckk6] {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* _content/SumoWeb/Pages/Report/Billing.razor.rz.scp.css */
/* Page styles */
.billing-page[b-mrlnz68cvl] {
  width: 100%;
  min-height: 100vh;
  padding: 24px;
}

/* _content/SumoWeb/Pages/SolarPlant/SolarPlantList.razor.rz.scp.css */
/* Solar Plant List Page Styles - Same as Home page */
.solar-plant-list-wrapper[b-q9kp8eabgy] { 
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    font-family: 'Poppins', sans-serif;
}

.background-layer[b-q9kp8eabgy] { 
    position: fixed; 
    inset: 0; 
    z-index: 0; 
}

.solar-plant-list-wrapper .modal-overlay[b-q9kp8eabgy] { 
    position: fixed; 
    inset: 0; 
    background: transparent; 
    z-index: 10; 
    pointer-events: none; 
}

/* Ensure SolarPlantListPanel is hidden when Visible="false" */
.solar-plant-list-wrapper[b-q9kp8eabgy]  .list-panel-overlay {
    display: none;
}

.solar-plant-list-wrapper[b-q9kp8eabgy]  .list-panel-overlay.visible {
    display: flex;
}
/* _content/SumoWeb/Pages/SolarPlant/SolarPlantOverview.razor.rz.scp.css */
/* Solar Plant Overview Page Styles */
.solar-plant-over-view-wrapper[b-npy0mfvgb4] {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    font-family: 'Poppins', sans-serif;
}

.background-layer[b-npy0mfvgb4] {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* Left Panel - Plant Details */
.plant-details-panel[b-npy0mfvgb4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 45%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    border-right: 1px solid #5F6E70;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Panel Header */
.panel-header[b-npy0mfvgb4] {
    padding: 24px 32px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-header[b-npy0mfvgb4] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-icon-btn[b-npy0mfvgb4] {
    background: transparent;
    border: none;
    padding: 4px 8px 4px 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    outline: none;
}
.back-icon-btn:hover[b-npy0mfvgb4] {
    background: rgba(255,255,255,0.08);
}
.back-icon-btn:focus-visible[b-npy0mfvgb4] {
    outline: 2px solid #19b58f;
    box-shadow: 0 0 0 2px #19b58f33;
}


.back-icon[b-npy0mfvgb4] {
    color: #ffc400;
    font-size: 20px;
    cursor: pointer;
}

.location-label[b-npy0mfvgb4] {
    color: #ffc400;
    font-size: 28px;
    font-weight: 600;
}

.header-actions[b-npy0mfvgb4] {
    width: 100%;
    min-width: 0;
}

.icon-btn[b-npy0mfvgb4] {
    background: rgba(24,27,32,0.92);
    border: 1.5px solid #232b2e;
    box-shadow: 0 2px 8px -4px rgba(0,0,0,0.35);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
    outline: none;
    height: 44px; /* fixed height ensures box not affected by font size */
    width: 44px;
    box-sizing: border-box;
}

.icon-btn:hover[b-npy0mfvgb4] {
    background: rgba(40,44,50,0.95);
    border-color: #2d3639;
}

.icon-btn:active[b-npy0mfvgb4] {
    transform: translateY(1px);
}

.icon-btn:focus-visible[b-npy0mfvgb4] {
    outline: 2px solid #19b58f;
    box-shadow: 0 0 0 2px #19b58f33;
}

.action-icon[b-npy0mfvgb4] {
    color: #ccc;
    font-size: 20px;
    height: 28px;
    width: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    filter: invert(0);
}

.action-icon:hover[b-npy0mfvgb4] {
    color: #fff;
}

/* Ảnh dự án — dải riêng giữa panel-header và thẻ "At a Glance".
 *
 * margin/border-radius/box-shadow lấy đúng của .plant-info-card bên dưới để hai khối trông
 * như một chồng thẻ, không phải hai kiểu khác nhau dính vào nhau.
 *
 * Khối này chỉ được render khi CÓ file ảnh (xem SolarPlantOverview.razor), nên không cần
 * trạng thái rỗng: thiếu ảnh là không có gì trên trang, không phải một khung xám. */
.plant-photo-strip[b-npy0mfvgb4] {
    /* flex-shrink:0 là BẮT BUỘC. .plant-details-panel là flex column và nội dung của nó cao
       hơn khung, nên mọi flex item đều bị co lại trước khi panel chịu cuộn. Khối này lại có
       overflow:hidden -> min-height tự động của nó là 0 (không phải chiều cao nội dung), nên
       nó co thẳng về 0px: ảnh nằm trong DOM, đã tải xong, mà trên màn hình không thấy gì.
       Đo trên trang thật 2026-09-07. */
    flex: 0 0 auto;
    margin: 8px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 28px -6px rgba(0,0,0,0.35), 0 2px 4px -1px rgba(0,0,0,0.25);
}

/* display:block để bỏ khoảng trắng dưới ảnh mà inline-baseline sinh ra — nếu không sẽ có một
   vệt nền vài pixel lộ ra dưới đáy dải, thấy rõ trên nền tối.
   Chiều cao cố định + cover: ảnh do người vận hành tự chép vào, tỷ lệ mỗi cái một khác, để
   tự do thì mỗi nhà máy đẩy nội dung xuống một mức.

   180px ban đầu cho ra khung 4.65:1 — dẹt như một dải băng, nhìn mất cân.

   Dùng aspect-ratio thay cho chiều cao cố định: panel này rộng 45% màn hình, nên một con số
   px cố định cho ra tỷ lệ khác hẳn nhau tuỳ máy — 280px là 3:1 trên màn 1920 (panel 837px)
   nhưng thành 2.09:1 trên màn 1366 (panel 586px), tức ảnh phình vuông lại. Khoá theo tỷ lệ thì
   khung trông y như nhau ở mọi bề ngang. Sửa 3/1 nếu muốn ảnh cao/thấp hơn.

   min/max-height là hai chặn an toàn cho màn quá hẹp hoặc quá rộng. */
.plant-photo-strip img[b-npy0mfvgb4] {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 170px;
    max-height: 300px;
    object-fit: cover;
}

/* Plant Info Section */
.plant-info-section[b-npy0mfvgb4] {
    background-color: transparent;
}
.plant-info-card[b-npy0mfvgb4] {
    background: transparent;
    border-radius: 28px;
    position: relative;
    box-shadow: 0 8px 28px -6px rgba(0,0,0,0.35), 0 2px 4px -1px rgba(0,0,0,0.25);
    overflow: hidden;
    margin: 8px;
}

.plant-info-title[b-npy0mfvgb4] {
    font-size: 24px;
    font-weight: 700;
    margin-top: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Khoảng cách trong thẻ này đã được siết lại một lượt (2026-09-07): padding 44/52, tiêu đề
   32px, gap hàng 56px và margin-bottom 54px cộng lại cho một khối cao 516px mà quá nửa là
   nền trắng trống. Các số dưới đây giữ nguyên bố cục, chỉ bỏ phần thừa. */
.plant-overview-block[b-npy0mfvgb4] {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px 32px 32px;
    box-shadow: inset 0 0 0 1px #e3e7ea;
}

.overview-heading[b-npy0mfvgb4] {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #22292b;
    letter-spacing: -0.6px;
}

/* Khoảng cách CỘT vẫn rộng hơn hàng khá nhiều: hai cột là hai nhóm số không liên quan, cần
   tách bạch; còn nhãn và giá trị trong cùng một ô thì phải nằm gần nhau. */
.overview-metrics-grid[b-npy0mfvgb4] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 48px;
    margin-bottom: 26px;
}



.metric-label[b-npy0mfvgb4] {
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    color: #2f3d43;
    letter-spacing: 0.2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-sub[b-npy0mfvgb4] {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.65;
    letter-spacing: 0.3px;
}

/* 34px là cỡ chữ của một thẻ KPI đứng riêng, ở đây có bốn ô cạnh nhau nên nó chỉ tổ đẩy
   khối cao lên. 26px vẫn to hơn nhãn gấp đôi, thừa sức nổi bật. */
.metric-value[b-npy0mfvgb4] {
    margin-top: 8px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.8px;
    color: #121517;
    line-height: 1.1;
    word-break: break-word;
}

/* Ô "Location" chứa địa chỉ đầy đủ, không phải một con số ngắn. Để nguyên 26px thì một
   địa chỉ cấp xã/huyện tràn xuống bốn năm dòng và đẩy vỡ lưới. Chọn cỡ chữ của nhãn phụ,
   giới hạn 3 dòng rồi cắt bằng "…".

   Dùng .metric-value.metric-value--text (hai class) là CỐ Ý: các @media bên dưới có ghi đè
   font-size cho .metric-value, một class đơn ở đây sẽ thua chúng. */
.metric-value.metric-value--text[b-npy0mfvgb4] {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.metric-unit[b-npy0mfvgb4] {
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
    letter-spacing: 0.5px;
    color: #304448;
}

.overview-link[b-npy0mfvgb4] {
    background: transparent;
    border: none;
    color: #5a7580;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    padding: 4px 2px;
    border-radius: 6px;
    transition: color .18s, background .18s;
}
.overview-link:hover[b-npy0mfvgb4] {
    color: #1f2e33;
}
.overview-link:focus-visible[b-npy0mfvgb4] {
    outline: 2px solid #19b58f;
    background: #e0f7f1;
}

@media (max-width: 1400px) {
    .overview-metrics-grid[b-npy0mfvgb4] {
        gap: 44px 48px;
    }
    .metric-value[b-npy0mfvgb4] { font-size: 30px; }
}
@media (max-width: 1100px) {
    .plant-info-card[b-npy0mfvgb4] { padding: 32px 36px 44px; }
    .plant-overview-block[b-npy0mfvgb4] { padding: 40px 40px 48px; }
    .overview-metrics-grid[b-npy0mfvgb4] { gap: 40px 48px; }
    .overview-heading[b-npy0mfvgb4] { font-size: 28px; }
}
@media (max-width: 920px) {
    .overview-metrics-grid[b-npy0mfvgb4] { grid-template-columns: 1fr; gap: 40px; }
    .metric-value[b-npy0mfvgb4] { font-size: 32px; }
}

/* Performance Section */
.performance-section[b-npy0mfvgb4] {
    padding: 32px;
    margin: 5px;
    border: 2px solid rgba(15, 224, 179, 0.5);
    border-radius: 20px;
}

.section-title[b-npy0mfvgb4] {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.tab-container[b-npy0mfvgb4] {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tab-button[b-npy0mfvgb4] {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tab-button.active[b-npy0mfvgb4] {
    background: #25c278 !important;
    color: #fff !important;
}

.tab-button:not(.active)[b-npy0mfvgb4] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ccc !important;
}

.chart-container[b-npy0mfvgb4] {
    background: rgba(0, 0, 0, 0.3);
    height: 400px;
}

.chart-container[b-npy0mfvgb4]  .line-chart-section {
    border-radius: 20px;
}

/* Energy Generation Section */
.energy-section[b-npy0mfvgb4] {
    padding: 32px;
    margin: 5px;
    border: 2px solid rgba(15, 224, 179, 0.5);
    border-radius: 20px;
}

.energy-section .chart-container[b-npy0mfvgb4] {
    background: var(--table-bg);
    border-radius: 12px;
    height: 400px;
    padding: 12px;
    padding-top: 32px;
}

.energy-loss-section[b-npy0mfvgb4] {
    padding: 32px;
    margin: 5px;
    border: 2px solid rgba(15, 224, 179, 0.5);
    border-radius: 20px;
}

.energy-loss-section .chart-container[b-npy0mfvgb4] {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    height: 320px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .plant-details-panel[b-npy0mfvgb4] {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .plant-details-panel[b-npy0mfvgb4] {
        width: 100%;
    }
    
    .energy-metrics[b-npy0mfvgb4] {
        grid-template-columns: 1fr;
    }
    
    .panel-header[b-npy0mfvgb4],
    .performance-section[b-npy0mfvgb4],
    .energy-section[b-npy0mfvgb4] {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .panel-header[b-npy0mfvgb4],
    .performance-section[b-npy0mfvgb4],
    .energy-section[b-npy0mfvgb4] {
        padding: 16px;
    }
    
    .section-title[b-npy0mfvgb4] {
        font-size: 20px;
    }
    
    .metric-value[b-npy0mfvgb4] {
        font-size: 20px;
    }
}

/* --- Inline Performance Metrics (Added for Performance section) --- */
.performance-metrics-inline[b-npy0mfvgb4] {
    display: flex; /* flex container */
    justify-content: flex-start;
    gap: 15rem;
    margin: 12px 4px 20px 4px;
    flex-wrap: wrap;
    align-items: flex-end; /* align numbers nicely on a baseline */
}
.perf-metric-block[b-npy0mfvgb4] { display:flex; flex-direction:column; min-width:140px; }
.perf-metric-title[b-npy0mfvgb4] { font-size:14px; font-weight:600; color:#fff; font-family:'Poppins',sans-serif; }
.perf-metric-sub[b-npy0mfvgb4] { font-size:11px; font-weight:400; color:#bbbbbb; margin-top:2px; letter-spacing:.5px; }
.perf-metric-value[b-npy0mfvgb4] { font-size:40px; font-weight:600; color:#25C278; margin-top:4px; line-height:1; font-family:'Poppins',sans-serif; }
.perf-metric-unit[b-npy0mfvgb4] { font-size:16px; font-weight:400; color: var(--text-secondary); margin-left:4px; }
@media (max-width: 1200px){ .perf-metric-value[b-npy0mfvgb4]{ font-size:34px; } }
@media (max-width: 992px){ .performance-metrics-inline[b-npy0mfvgb4]{ gap:2rem; } .perf-metric-value[b-npy0mfvgb4]{ font-size:30px; } }
