/* Kavinora Admin — App Styles */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, #app {
    font-family: var(--font-family);
    height: 100%;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* MudBlazor font override */
.mud-typography {
    font-family: var(--font-family) !important;
}

/* Smooth transitions for cards */
.mud-paper {
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.mud-paper:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Table styling */
.mud-table .mud-table-head .mud-table-cell {
    font-weight: 600;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafc;
}

/* Nav menu styling */
.mud-nav-link {
    border-radius: 8px !important;
    margin: 2px 8px;
    transition: background-color 0.15s ease;
}
.mud-nav-link:hover {
    background-color: rgba(255,255,255,0.08) !important;
}
.mud-nav-link.active {
    background-color: rgba(59,130,246,0.15) !important;
    color: #60a5fa !important;
}

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

/* Chart fix */
.mud-chart {
    overflow: visible;
}

/* Chip size */
.mud-chip-small {
    font-size: 0.7rem;
    height: 22px;
}

/* Skeleton shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Error UI */
#blazor-error-ui {
    font-family: var(--font-family);
    font-size: 0.9rem;
}
