/* Custom transitions */
.fade-in { animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Dark Mode Scrollbar */
.dark ::-webkit-scrollbar-thumb { background: #475569; }
.dark ::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Utility */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s;
}

.dark .glass-header {
    background: rgba(15, 23, 42, 0.95); /* slate-900 */
    border-bottom-color: #334155;
}

/* PRINT STYLES */
@media print {
    @page { margin: 0.5cm; }
    body * { visibility: hidden; }
    #printable-rx, #printable-rx * { visibility: visible; }
    #printable-rx {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: block !important;
        background: white !important;
        color: black !important;
    }
    .no-print { display: none !important; }
}
