/* /Layout/MainLayout.razor.rz.scp.css */
.top-bar[b-fozwhjazaw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #404E88;
    padding: 0 2rem;
    height: 56px;
    color: #fff;
}

.top-bar-brand[b-fozwhjazaw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text[b-fozwhjazaw] {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-bar-nav[b-fozwhjazaw] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link[b-fozwhjazaw] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover[b-fozwhjazaw] {
    color: #fff;
}

main[b-fozwhjazaw] {
    background: #EEEDF8;
    min-height: calc(100vh - 56px);
}

@media (max-width: 768px) {
    .top-bar[b-fozwhjazaw] { padding: 0 1rem; }
    .top-bar-nav[b-fozwhjazaw] { gap: 0.75rem; }
    .nav-link span[b-fozwhjazaw] { display: none; }
}
/* /Pages/Dashboard.razor.rz.scp.css */
.dashboard-container[b-vz3g57id4j] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}

.dashboard-grid[b-vz3g57id4j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.room-card[b-vz3g57id4j] {
    display: block;
    background: #FAF7FD;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.room-card:hover[b-vz3g57id4j] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.room-name[b-vz3g57id4j] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
}

.room-metrics[b-vz3g57id4j] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-co2[b-vz3g57id4j] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.metric-value[b-vz3g57id4j] {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d6a4f;
    line-height: 1.1;
}

.metric-unit[b-vz3g57id4j] {
    font-size: 1.2rem;
    font-weight: 500;
    color: #64748b;
}

.metric-row[b-vz3g57id4j] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-small[b-vz3g57id4j] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.temp-value[b-vz3g57id4j] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
}

.humidity-value[b-vz3g57id4j] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
}

.status-icon[b-vz3g57id4j] {
    margin-left: auto;
}

@@media (max-width: 1024px) {
    .dashboard-grid[b-vz3g57id4j] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@@media (max-width: 600px) {
    .dashboard-container[b-vz3g57id4j] {
        padding: 1rem;
    }

    .dashboard-grid[b-vz3g57id4j] {
        grid-template-columns: 1fr;
    }

    .metric-value[b-vz3g57id4j] {
        font-size: 2rem;
    }
}
/* /Pages/Detail.razor.rz.scp.css */
.detail-page[b-cxmp5dca7h] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
}

.card[b-cxmp5dca7h] {
    background: #FAF7FD;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* ?? Top row ?? */
.cards-row[b-cxmp5dca7h] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card-co2[b-cxmp5dca7h] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
}

.co2-value[b-cxmp5dca7h] {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2d6a4f;
    line-height: 1.1;
}

.co2-unit[b-cxmp5dca7h] {
    font-size: 1.4rem;
    font-weight: 500;
}

.card-metric[b-cxmp5dca7h] {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.card-metric .card-title[b-cxmp5dca7h] {
    padding: 1.5rem 1.5rem 0.75rem;
    border-bottom: 1px solid #ECEAF6;
    margin-bottom: 0;
}

.card-metric .card-body[b-cxmp5dca7h] {
    padding: 0.75rem 1.5rem;
    justify-content: center;
}

.card-bar[b-cxmp5dca7h] {
    background: #F1EFF9;
    color: #64748b;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: auto;
}

.card-title[b-cxmp5dca7h] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
}

.card-co2 .card-title[b-cxmp5dca7h] {
    font-weight: 700;
}

.card-body[b-cxmp5dca7h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.card-subtitle[b-cxmp5dca7h] {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.card-co2 .card-subtitle[b-cxmp5dca7h] {
    align-self: center;
}

.metric-value[b-cxmp5dca7h] {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
}

.metric-unit[b-cxmp5dca7h] {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ?? Middle row ?? */
.middle-row[b-cxmp5dca7h] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.card-chart[b-cxmp5dca7h] {
    display: flex;
    flex-direction: column;
}

.chart-header[b-cxmp5dca7h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-svg[b-cxmp5dca7h] {
    width: 100%;
    height: auto;
}

.chart-label[b-cxmp5dca7h] {
    font-size: 11px;
    fill: #94a3b8;
    font-family: 'Roboto', sans-serif;
}

.chart-legend[b-cxmp5dca7h] {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #475569;
}

.legend-item[b-cxmp5dca7h] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-line[b-cxmp5dca7h] {
    display: inline-block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
}

.card-map[b-cxmp5dca7h] {
    display: flex;
    flex-direction: column;
}

.map-container[b-cxmp5dca7h] {
    flex: 1;
    min-height: 250px;
}

.map-label[b-cxmp5dca7h] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0.75rem;
}

/* ?? Bottom row ?? */
.bottom-row[b-cxmp5dca7h] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card-bottom[b-cxmp5dca7h] {
    padding: 1.25rem 1.5rem;
}

.bottom-header[b-cxmp5dca7h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.bottom-title[b-cxmp5dca7h] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.bottom-value[b-cxmp5dca7h] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.bottom-ok[b-cxmp5dca7h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-cxmp5dca7h] .icon-check {
    margin-left: auto;
}

/* ?? Responsive ?? */
@media (max-width: 1024px) {
    .cards-row[b-cxmp5dca7h] { grid-template-columns: 1fr 1fr; }
    .middle-row[b-cxmp5dca7h] { grid-template-columns: 1fr; }
    .bottom-row[b-cxmp5dca7h] { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .detail-page[b-cxmp5dca7h] { padding: 1rem; gap: 1rem; }
    .cards-row[b-cxmp5dca7h] { grid-template-columns: 1fr; }
    .co2-value[b-cxmp5dca7h] { font-size: 2.5rem; }
    .metric-value[b-cxmp5dca7h] { font-size: 2rem; }
}
