.dashboard-card {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.dashboard-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-light);
}

.chart-container {
    position: relative;
    height: 250px;
    margin-top: 1rem;
}

.cloud-read-card {
    border: 1px solid rgba(59, 130, 246, 0.22);
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.98) 0%, rgba(17, 24, 39, 0.94) 100%);
}

.cloud-read-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cloud-read-subtitle {
    color: #93c5fd;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    word-break: break-all;
}

.cloud-read-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cloud-read-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
}

.cloud-read-pill.status-ok {
    border-color: rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.cloud-read-pill.status-error {
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.cloud-read-pill.status-warn {
    border-color: rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}

.cloud-read-pill.status-loading {
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.cloud-read-summary {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.cloud-read-feedback {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cloud-read-table td,
.cloud-read-table th {
    white-space: nowrap;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.summary-table th,
.summary-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #4b5563;
}

.summary-table th {
    background-color: #374151;
    color: #e5e7eb;
}

.summary-table tr:nth-child(even) {
    background-color: rgba(55, 65, 81, 0.5);
}

.filter-section {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.kpi-card {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(55, 65, 81, 0.98) 0%, rgba(55, 65, 81, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.kpi-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

.kpi-card .kpi-label {
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    color: #cbd5e1;
}

.kpi-card .kpi-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0.35rem;
    color: #e5e7eb;
    font-variant-numeric: tabular-nums;
}

.positive-value {
    color: #10b981;
}

.negative-value {
    color: #ef4444;
}

.kpi-card .kpi-value.positive-value {
    color: #10b981;
}

.kpi-card .kpi-value.negative-value {
    color: #ef4444;
}

.kpi-card.accent-pos {
    border-color: rgba(16, 185, 129, 0.38);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.kpi-card.accent-neg {
    border-color: rgba(239, 68, 68, 0.38);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}

@media (max-width: 640px) {
    .cloud-read-header {
        flex-direction: column;
        align-items: stretch;
    }

    .kpi-card {
        border-radius: 0.75rem;
        padding: 0.875rem;
    }

    .kpi-card .kpi-value {
        font-size: 1.6rem;
    }
}
