/* Paper Style for Reports */
.paper-container {
    background: #f5f5f5;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.paper-card {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 40px;
    margin: 0 auto;
    max-width: 210mm; /* A4 width */
    min-height: 297mm; /* A4 height */
}

.report-header h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 5px;
}

.report-header h4 {
    color: #34495e;
    font-size: 18px;
    text-transform: uppercase;
}

.report-header hr {
    margin: 10px 0;
    border-top: 3px double #000;
}

.report-header p {
    font-size: 14px;
    margin-bottom: 3px;
}

/* Print Styles */
@media print {
    body {
        background: white !important;
    }

    .paper-container {
        background: white;
        padding: 0;
    }

    .paper-card {
        box-shadow: none;
        padding: 20px;
        max-width: 100%;
        min-height: auto;
    }

    /* Hide admin panel elements */
    #wrapper,
    .sidebar,
    .topbar,
    .navbar,
    .breadcrumb,
    .btn,
    button,
    .filter-card,
    .no-print {
        display: none !important;
    }

    #content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    #content {
        padding: 0 !important;
    }

    .container-fluid {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .paper-container {
        padding: 0 !important;
    }
}

/* Filter Card Styling */
.filter-card {
    background: #fff;
    border-left: 4px solid #4e73df;
    margin-bottom: 20px;
}

/* Table Styling for Reports */
.paper-card .table {
    font-size: 12px;
}

.paper-card .table thead th {
    background-color: #f8f9fc;
    border-bottom: 2px solid #4e73df;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px;
}

.paper-card .table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.paper-card .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Signature Area */
.signature-area {
    margin-top: 40px;
    page-break-inside: avoid;
}

.signature-box {
    text-align: center;
    padding: 20px 0;
}

.signature-line {
    border-top: 1px solid #000;
    margin-top: 60px;
    padding-top: 5px;
}
