/* report.css */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9fafb;
    color: #1e293b;
    padding: 24px;
}

.report-page {
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.report-controls {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.date-select label,
.definition-select label {
    font-weight: 600;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.date-select select {
    margin-right: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.definition-select {
    margin-top: 16px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 6px 12px;
    margin-top: 6px;
}

.btn-generate {
    margin-top: 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-generate:hover {
        background-color: #2563eb;
    }

.report-results h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

    .report-table th, .report-table td {
        padding: 10px 8px;
        border: 1px solid #e5e7eb;
        text-align: right;
    }

    .report-table th {
        background-color: #f1f5f9;
        font-weight: 600;
        text-align: center;
    }

    .report-table td:first-child,
    .report-table td:nth-child(2) {
        text-align: left;
    }

canvas#reportChart {
    width: 100% !important;
    max-height: 400px;
    margin-top: 24px;
}
