/* Reports Module Specific Styles */

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.report-card {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
}

.report-month-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.r-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.r-stat-row.final-balance {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 1.1rem;
}

[data-theme="light"] .r-stat-row.final-balance {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.savings-badge {
    position: absolute;
    top: -10px;
    right: -25px;
    background: var(--accent-success);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 20px 25px 5px 25px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .current-month-panel {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .cmp-action {
        width: 100%;
    }
}
