/* Admin Reports Styles */

.reports-container {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.report-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.report-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.report-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.report-header i {
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--beige-light);
    border-radius: 8px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-details h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.stat-details p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.report-table {
    margin-top: 1.5rem;
}

.report-table h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.report-table table {
    width: 100%;
    border-collapse: collapse;
}

.report-table th {
    background: var(--beige-light);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.report-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.report-table tbody tr:hover {
    background: var(--beige-light);
}

.report-chart {
    margin-top: 1.5rem;
}

.report-chart h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bar {
    height: 30px;
    border-radius: 5px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .report-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        justify-content: flex-start;
    }
    
    .report-table {
        overflow-x: auto;
    }
}
