﻿body {
    background: #f4f5f8;
    font-family: sans-serif;
}

.reportes-container {
    padding: 18px;
    padding-bottom: 110px;
}

/* HEADER */

.module-header h2 {
    margin: 0;
    font-size: 28px;
}

.module-header p {
    color: #6b7280;
}

/* FILTROS */

.filters-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.filter-btn {
    border: none;
    background: white;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
}

    .filter-btn.active {
        background: #2563eb;
        color: white;
    }

/* SUMMARY */

.summary-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.summary-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .summary-card.success {
        background: #dcfce7;
    }

    .summary-card.roi {
        background: #dbeafe;
    }

/* SECTION */

.section-card {
    margin-top: 28px;
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-title {
    margin-bottom: 18px;
}

/* PERFORMANCE */

.performance-item {
    margin-bottom: 18px;
}

.performance-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 30px;
}

    .progress-fill.palomitas {
        width: 85%;
        background: #f59e0b;
    }

    .progress-fill.paletas {
        width: 62%;
        background: #06b6d4;
    }

    .progress-fill.sublimacion {
        width: 74%;
        background: #8b5cf6;
    }

/* GASTOS */

.expense-item {
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

    .expense-item p {
        margin-top: 4px;
        color: #6b7280;
        font-size: 13px;
    }

.expense-data {
    text-align: right;
}

    .expense-data span {
        display: block;
        margin-top: 4px;
        color: #2563eb;
        font-weight: bold;
    }

/* PDF */

.pdf-btn {
    width: 100%;
    margin-top: 28px;
    border: none;
    background: #dc2626;
    color: white;
    padding: 16px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
