/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #1e3a8a;
    --primary-hover: #1e40af;
    --secondary: #3b82f6;
    --bg-body: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

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

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

/* Transitions */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

/* Mobile Off-canvas Drawer Slide */
.slide-drawer-enter-active, .slide-drawer-leave-active {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-drawer-enter-from, .slide-drawer-leave-to {
    transform: translateX(-100%);
}

/* Mobile Bottom Sheet Slide Up */
.slide-up-enter-active, .slide-up-leave-active {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-up-enter-from, .slide-up-leave-to {
    transform: translateY(100%);
}

/* Mobile Safe Area Padding */
.pb-safe {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
}

/* Responsive Table Card Utilities for Mobile */
@media (max-width: 767px) {
    .mobile-fullscreen-modal {
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
    }
}

/* Custom Checkbox and Radio styling */
input[type="checkbox"], input[type="radio"] {
    accent-color: var(--primary);
}
