@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Print Styles - Hide navigation and show only report content */
@media print {
    /* Hide all navigation elements */
    nav,
    .navigation,
    header,
    footer,
    .sidebar,
    .menu,
    .breadcrumb,
    .btn,
    button,
    .pagination,
    .dark-mode-toggle,
    .user-menu,
    .mobile-menu,
    .search-bar,
    .filter-controls,
    .action-buttons,
    .export-buttons,
    .generate-buttons {
        display: none !important;
    }
    
    /* Hide specific elements by class */
    .hidden,
    .no-print,
    .print-hidden {
        display: none !important;
    }
    
    /* Show only report content */
    .print-content,
    .laporan-container,
    .report-content,
    #laporan_b_container,
    #laporan_a1_container,
    #laporan_a2_container,
    #laporan_a3_container,
    #laporan_a4_container,
    #laporan_c_container {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Reset page layout for print */
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
    
    /* Ensure tables print properly */
    table {
        border-collapse: collapse !important;
        width: 100% !important;
        page-break-inside: avoid !important;
    }
    
    th, td {
        border: 1px solid #000 !important;
        padding: 4px !important;
        font-size: 10pt !important;
    }
    
    /* Page break settings */
    .page-break {
        page-break-before: always !important;
    }
    
    .no-page-break {
        page-break-inside: avoid !important;
    }
    
    /* Hide dark mode styles */
    .dark\:bg-gray-800,
    .dark\:text-white,
    .dark\:border-gray-700 {
        background-color: white !important;
        color: black !important;
        border-color: #000 !important;
    }
    
    /* Ensure report headers are visible */
    .report-header,
    .laporan-header,
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        margin-bottom: 10px !important;
    }
    
    /* Remove shadows and rounded corners for print */
    .shadow,
    .shadow-lg,
    .rounded,
    .rounded-lg {
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}
