/* Base Stylings */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #09090b;
    /* zinc-950 */
}

/* Glass UI Elements */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    /* zinc-900 / 60% */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Custom Inputs Dropdown */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/* Scrollbar tweaks */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

.tooltip-trigger {
    cursor: help;
    border-bottom: 1px dotted rgba(161, 161, 170, 0.5);
}

/* Print Overrides */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .absolute,
    header,
    .no-print {
        display: none !important;
    }

    .glass-panel,
    .bg-background\/50,
    .bg-surface\/50 {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
    }

    .text-white,
    .text-textMain {
        color: #0f172a !important;
    }

    .text-textMuted {
        color: #64748b !important;
    }

    .text-primary {
        color: #10b981 !important;
    }

    .text-secondary {
        color: #3b82f6 !important;
    }

    .bg-clip-text {
        background: none !important;
        -webkit-text-fill-color: initial !important;
        color: #10b981 !important;
    }

    .print-break-inside-avoid {
        page-break-inside: avoid;
    }

    /* Try to force chart rendering clearly in pdf engine */
    canvas {
        min-height: 200px !important;
        max-width: 100% !important;
    }
}