/* RSM Wise Reports Styles */
.rsm-reports-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
#rsm-wise-reports-root {
    font-family: Arial, sans-serif;
    background: #fafbfc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#rsm-reports-table {
    margin-top: 20px;
    overflow-x: auto;
}

/* Dashboard Grid Layout */
.rsm-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}
.rsm-chart-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 18px 18px 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rsm-chart-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    color: #0073aa;
    font-weight: 600;
    text-align: center;
}
.rsm-chart-card canvas {
    width: 100% !important;
    max-width: 320px;
    min-height: 200px;
    max-height: 260px;
}
@media (max-width: 900px) {
    .rsm-charts-grid {
        grid-template-columns: 1fr;
    }
    .rsm-chart-card canvas {
        max-width: 90% !important;
    }
}

/* Table Styles */
.rsm-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}
.rsm-table th, .rsm-table td {
    border: 1px solid #e3e3e3;
    padding: 8px 12px;
    text-align: left;
}
.rsm-table th {
    background: #0073aa;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}
.rsm-table tbody tr:nth-child(even) {
    background: #f7fafd;
}
.rsm-table tbody tr:hover {
    background: #e6f7ff;
    transition: background 0.2s;
}

/* Button Styles */
button#rsm-export-csv,
button#rsm-export-xls {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.2s;
}
button#rsm-export-csv:hover,
button#rsm-export-xls:hover {
    background: #005177;
}
select:disabled {
    background: #eee;
    color: #888;
}
