/* style.css - Custom CSS for Dashboard */
html, body {
    height: 100%;
    margin: 0;
}

/* Scrollbar styling for webkit */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

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

.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Nav Btn active states */
.nav-btn.active.md\:flex, /* for sidebar */
.nav-btn.active {
    color: #1A365D; /* primary */
}
.md\:flex .nav-btn.active {
    background-color: #eff6ff; /* blue-50 */
}
/* Bottom nav active state */
nav.md\:hidden .nav-btn.active {
    color: #1A365D;
}

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

/* Hover fx for cards */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Safe area for mobile */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Modal states */
.modal-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-open .modal-content {
    transform: scale(1) !important;
}

/* Utility to ensure numbers are tabular */
.font-mono {
    font-variant-numeric: tabular-nums;
}
