body {
    min-height: 100vh;
}

.auth-page {
    min-height: 100vh;
}

.card {
    border-radius: 1rem;
}

.pdf-card {
    break-inside: avoid;
    page-break-inside: avoid;
}

.meter-chart-row .chart-card .card-body {
    min-height: 320px;
}

.meter-chart-row canvas {
    width: 100% !important;
}

.capture-input {
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.pdf-actions-hidden {
    display: none !important;
}

.table thead th {
    white-space: nowrap;
}

.dashboard-compact .card-body,
.dashboard-compact .card-header,
.dashboard-compact .list-group-item,
.dashboard-compact.table {
    font-size: 0.92rem;
}

.dashboard-compact .table td,
.dashboard-compact .table th {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    body {
        background: #fff !important;
        font-size: 11px;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .navbar,
    .btn {
        display: none !important;
    }

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

    .card,
    .print-card {
        border: 1px solid #d9dee4 !important;
        box-shadow: none !important;
        border-radius: 0.5rem !important;
        background: #fff !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .card-body,
    .card-header,
    .table,
    .list-group-item {
        font-size: 11px !important;
    }

    .meter-report-toolbar {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        margin-bottom: 0.75rem !important;
    }

    .meter-summary-row {
        margin-bottom: 0.75rem !important;
    }

    .meter-chart-row {
        margin-bottom: 0.75rem !important;
    }

    .meter-chart-row .chart-card .card-body {
        min-height: 250px !important;
        padding: 0.75rem !important;
    }

    .meter-chart-row canvas {
        max-height: 220px !important;
        min-height: 220px !important;
    }

    .print-card .table td,
    .print-card .table th {
        padding: 0.35rem 0.45rem !important;
    }

    .pdf-actions-hidden {
        display: none !important;
    }
}
