/* Custom Font styling overrides */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Custom Scrollbar Styles for modern premium aesthetics */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Glassmorphism utility classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Micro-animations */
.hover-scale {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.3);
}

/* Print CSS Stylesheet */
@media print {
    /* Hide layout structures not relevant to printing */
    .no-print, 
    nav, 
    footer, 
    button, 
    a[href^="javascript:"],
    .alert-banner {
        display: none !important;
    }
    
    /* Ensure body expands and handles page boundaries nicely */
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
    
    .print-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Force page break before major report chapters */
    .print-break {
        page-break-before: always !important;
        break-before: page !important;
    }

    .print-card {
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        border-radius: 0.5rem !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        margin-bottom: 1.5rem !important;
        color: #000000 !important;
    }

    /* Override dynamic canvas sizes for printing layouts */
    canvas {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}
