/* Premium Medical UI Skin for Dhruv HMS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --filament-font-family: 'Inter', sans-serif;
    --heading-font-family: 'Outfit', sans-serif;
}

/* 🎨 Typography Elevations */
h1,
h2,
h3,
h4,
.fi-header-heading,
.fi-sidebar-group-label {
    font-family: var(--heading-font-family) !important;
    letter-spacing: -0.02em;
}

/* 🧊 Glassmorphism Effects */
.fi-sidebar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) saturate(180%);
    border-inline-end: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.dark .fi-sidebar {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px) saturate(180%);
    border-inline-end: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.fi-topbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.dark .fi-topbar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 🍱 Soft UI Cards */
.fi-section,
.fi-wi-stats-overview-stat-card,
.fi-ta-ctn {
    border-radius: 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fi-wi-stats-overview-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08) !important;
}

/* 🚀 Micro-animations */
.fi-sidebar-nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0.75rem !important;
    margin: 0.125rem 0.5rem !important;
}

.fi-sidebar-nav-link:hover {
    background: rgba(var(--primary-500), 0.08) !important;
    transform: translateX(4px);
}

.fi-main {
    animation: fiFadeIn 0.5s ease-out;
}

@keyframes fiFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✨ Premium Buttons */
.fi-btn {
    border-radius: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

/* 🧬 Medical Branding Accents */
.fi-logo {
    filter: drop-shadow(0 2px 4px rgba(var(--primary-500), 0.2));
}

.fi-sidebar-item-active .fi-sidebar-item-button {
    background: linear-gradient(135deg, rgba(var(--primary-500), 0.1) 0%, rgba(var(--primary-500), 0.02) 100%) !important;
    border-left: 3px solid rgb(var(--primary-600)) !important;
}