/* Global Styles */
body {
    background-color: #f1f5f9; /* Slate 100 */
}

/* Sidebar Transitions & Visibility */
.sidebar-transition {
    transition: width 0.3s ease-in-out;
}

.hide-text .nav-text {
    display: none;
}

.hide-text .nav-item {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

/* Custom Switch Toggle */
.toggle-checkbox:checked {
    right: 0;
    border-color: #2563eb;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #2563eb;
}
/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.glossy-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Active Tab Style */
.tab-active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

/* Sidebar Active State (for Laravel Integration) */
.nav-item.active {
    background-color: #2563eb !important; /* Primary Blue */
    color: white !important;
}
.nav-item.active svg {
    color: white !important;
}

/* Print Styles */
@media print {
    body, html { 
        height: auto !important; 
        overflow: visible !important; 
        background: white !important;
    }
    
    #sidebar, header, .no-print, #sidebar-overlay, #selection-controls, #mobile-menu-btn, #selection-fab, #report-actions { 
        display: none !important; 
    }

    .flex-col, .h-screen, .h-full, .overflow-hidden, #main-content {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
        position: static !important;
    }

    #report-view { 
        display: block !important; 
        overflow: visible !important; 
    }
    
    .break-after-page {
        break-after: page;
    }
}
