/* Report tile hover effect */
.report-tile {
    transition: border-color 0.15s, box-shadow 0.15s;
}

.report-tile:hover {
    border-color: var(--fm-primary, #0d6efd) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Print / Export PDF styles */
@media print {
    .fm-sidebar,
    .fm-topbar,
    .report-toolbar,
    .btn-back,
    .report-header .btn-outline-secondary {
        display: none !important;
    }

    .fm-main {
        margin-left: 0 !important;
    }

    .fm-content {
        padding: 0 !important;
    }

    .card {
        break-inside: avoid;
    }

    /* Keep summary cards in a single row when printing */
    .row.g-2 {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .row.g-2 > [class*="col-md-3"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .row.g-2 > [class*="col-md-2"] {
        flex: 0 0 16.6667% !important;
        max-width: 16.6667% !important;
    }

    .row.g-2 > [class*="col-md-6"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .row.g-3 {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .row.g-3 > [class*="col-md-3"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .table {
        font-size: 11px;
    }
}
