/* KutaFaktury Custom Styles */

/* Light Mode Overrides */
html.light body {
    background-color: #f8fafc;
    color: #0f172a;
}

html.light aside {
    background-color: #ffffff;
    border-color: #e2e8f0;
}

html.light aside a {
    color: #475569;
}

html.light aside a:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

html.light aside .bg-slate-900\/50 {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

html.light header {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
}

html.light header h1 {
    color: #0f172a;
}

html.light header select {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

html.light .bg-slate-900 {
    background-color: #ffffff;
    border-color: #e2e8f0;
}

html.light .bg-slate-800 {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

html.light .bg-slate-800\/50 {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

html.light .border-slate-800 {
    border-color: #e2e8f0;
}

html.light .border-slate-700 {
    border-color: #cbd5e1;
}

html.light .text-white {
    color: #0f172a;
}

html.light .text-slate-100 {
    color: #0f172a;
}

html.light .text-slate-200 {
    color: #1e293b;
}

html.light .text-slate-300 {
    color: #334155;
}

html.light .text-slate-400 {
    color: #64748b;
}

html.light input,
html.light select,
html.light textarea {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Card shadows */
.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
html.light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* SPAYD QR SVG */
.spayd-qr-svg {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    display: block;
}

/* Print styling for PDF */
@media print {
    aside, header, #btnNewDropdown, .no-print, button, nav {
        display: none !important;
    }
    body, html {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 11pt !important;
    }
    .flex-1.ml-64 {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    .print-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15mm !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
    }
    @page {
        size: A4 portrait;
        margin: 10mm;
    }
}
