@media print {
    body * {
        visibility: hidden !important;
        background: transparent !important;
        color: black !important;
    }
    #modal-a4, #modal-a4 * {
        visibility: visible !important;
        color: black !important;
        background: white !important;
        border-color: #e2e8f0 !important;
    }
    #modal-a4 {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: white !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .a4-container {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }
    .no-print {
        display: none !important;
    }
}

.a4-sheet {
    width: 100%;
    max-width: 210mm;
    min-height: 297mm;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(243, 232, 255, 0.5);
}
.dark ::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
    background: #9333ea;
    border-radius: 4px;
}