﻿
/* REPORT FILTERS */

.report-filter-section {
    padding: 22px 24px;
}

.report-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
}

.report-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

/* REPORT SECTIONS */

.report-section {
    margin-top: 20px;
}

.report-do-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 22px 24px;
}

.report-detail-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

    .report-detail-item label {
        color: #777;
        font-size: 12px;
        font-weight: 500;
    }

    .report-detail-item strong {
        color: #263445;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

/* SUMMARY CARDS */

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.report-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    min-width: 0;
}

.report-summary-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    color: #34495e;
    border-radius: 9px;
    font-size: 20px;
}

.report-summary-card span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 6px;
}

.report-summary-card h3 {
    margin: 0;
    color: #263445;
    font-size: 19px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* EXPORT ACTIONS */

.report-export-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* REPORT TABLE */

.report-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.report-table {
    min-width: 2100px;
    white-space: nowrap;
}

    .report-table th,
    .report-table td {
        padding: 13px 14px;
    }

    .report-table thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .report-table tfoot td {
        background: #f5f7fa;
        font-weight: 600;
        border-top: 1px solid #dfe5eb;
    }

.report-payment-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #f0f4f8;
    color: #34495e;
    font-size: 11px;
    font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .report-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-do-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .report-filter-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-actions {
        flex-direction: column-reverse;
    }

        .report-filter-actions button {
            width: 100%;
        }

    .report-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-do-details {
        grid-template-columns: 1fr;
    }

    .report-export-actions {
        flex-wrap: wrap;
    }
}
