/* Azure Governance Design System - CSS Variables */
:root {
    /* Light theme - White and Azure Blue */
    --background: 210 40% 98%;
    --foreground: 222 47% 11%;
    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;
    --primary: 206 100% 40%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 222 47% 11%;
    --muted: 210 40% 94%;
    --muted-foreground: 215 20% 40%;
    --accent: 210 40% 96%;
    --accent-foreground: 222 47% 11%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --border: 214 32% 85%;
    --input: 214 32% 91%;
    --ring: 206 100% 40%;
    
    /* Governance Semantic Colors */
    --governance-structure: 206 100% 40%;
    --governance-compliant: 142 76% 36%;
    --governance-risk: 0 72% 51%;
    --governance-warning: 38 92% 50%;
    --governance-identity: 280 65% 50%;
    
    /* Popover */
    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;
    
    /* Sidebar - Light Azure Blue */
    --sidebar-background: 200 85% 97%;
    --sidebar-foreground: 200 80% 25%;
    --sidebar-primary: 200 100% 42%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 200 70% 92%;
    --sidebar-accent-foreground: 200 80% 20%;
    --sidebar-border: 200 50% 88%;
}

/* Force light theme for login page */
.force-light {
    --background: 210 40% 98%;
    --foreground: 222 47% 11%;
    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;
    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;
    --primary: 206 100% 40%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 222 47% 11%;
    --muted: 210 40% 94%;
    --muted-foreground: 215 20% 40%;
    --accent: 210 40% 96%;
    --accent-foreground: 222 47% 11%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --border: 214 32% 85%;
    --input: 214 32% 91%;
    --ring: 206 100% 40%;
    color-scheme: light;
}

/* Login page specific styles */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

.login-left-panel {
    flex: 0 0 50%;
    background: linear-gradient(135deg, hsl(206, 100%, 40%) 0%, hsl(220, 90%, 35%) 100%);
    position: relative;
    overflow: hidden;
    display: none;
}

@media (min-width: 1024px) {
    .login-left-panel {
        display: flex;
    }
}

.login-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.login-right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: hsl(var(--background));
}

@media (min-width: 1024px) {
    .login-right-panel {
        flex: 0 0 50%;
    }
}

/* Base & layout */
*, *::before, *::after { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; 
    font-size: 16px; 
    line-height: 1.5; 
    color: hsl(var(--foreground)); 
    background: hsl(var(--background));
    font-feature-settings: "rlig" 1, "calt" 1;
}
.app-shell { display: flex; min-height: 100vh; }
.main-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.content-area { flex: 1; padding: 1.5rem; background: #fff; margin: 1rem 1rem 1rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
/* Sidebar */
.app-sidebar {
    width: 256px;
    background: hsl(var(--sidebar-background));
    border-right: 1px solid hsl(var(--sidebar-border));
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 40;
}

.sidebar-logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
    border-bottom: 1px solid hsl(var(--sidebar-border));
}

.sidebar-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.5rem;
}

.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--sidebar-foreground));
    transition: all 0.2s;
}

.sidebar-nav-link:hover {
    background: hsl(var(--sidebar-accent));
    color: hsl(var(--sidebar-accent-foreground));
}

.sidebar-nav-link.active {
    background: hsl(var(--sidebar-accent));
    color: hsl(var(--sidebar-primary));
    border: 1px solid hsl(var(--sidebar-primary) / 0.2);
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: currentColor;
}

.sidebar-bottom {
    padding: 0.5rem;
    border-top: 1px solid hsl(var(--sidebar-border));
}

/* Legacy nav-menu for backward compatibility */
.nav-menu { width: 220px; background: #1565c0; color: #fff; padding: 1rem 0; }
.nav-menu ul { list-style: none; padding: 0; margin: 0; }
.nav-menu a { display: block; padding: 0.5rem 1rem; color: rgba(255,255,255,.9); text-decoration: none; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,.15); color: #fff; }
.top-bar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0.75rem 1.5rem; 
    background: #fff; 
    border-bottom: 1px solid #e0e0e0; 
    gap: 1rem; 
    flex-wrap: wrap; 
}

.top-bar .search-area {
    flex: 1;
    min-width: 200px;
}

.top-bar input[type="search"] { 
    padding: 0.5rem 0.75rem; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    width: 100%;
    max-width: 400px;
    font-size: 0.9rem;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-actions span {
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
}

.top-bar-actions button {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    color: #333;
    transition: all 0.2s;
}

.top-bar-actions button:hover {
    background: #f5f5f5;
    border-color: #1565c0;
}
.breadcrumbs { padding: 0.5rem 1.5rem; font-size: 0.9rem; color: #666; }
.breadcrumbs ol { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs a { color: #1565c0; text-decoration: none; }
.widget { border: 1px solid #e0e0e0; border-radius: 8px; padding: 1rem 1.25rem; margin: 0.75rem 0; background: #fafafa; }
.widget h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: #1565c0; }
.widget p { margin: 0.25rem 0; }
.widget .warnings { color: #b45309; font-size: 0.9rem; }
.dashboard-error { color: #c62828; }

/* Dashboard */
.dashboard-header { margin-bottom: 1.5rem; }
.dashboard-header h1 { margin: 0 0 0.25rem 0; font-size: 1.75rem; color: #1a1a1a; }
.dashboard-subtitle { margin: 0 0 0.5rem 0; color: #666; font-size: 1rem; }
.dashboard-last-sync { margin: 0; color: #999; font-size: 0.9rem; }

.dashboard-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.summary-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    color: #1565c0;
}

.summary-card-warning .summary-card-icon {
    color: #ff9800;
}

.summary-card-success .summary-card-icon {
    color: #4caf50;
}

.summary-card-content {
    flex: 1;
    min-width: 0;
}

.summary-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.summary-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.summary-card-detail {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.text-warning {
    color: #ff9800;
}

.text-success {
    color: #4caf50;
}

.trend-up {
    color: #4caf50;
    font-weight: 500;
}

.trend-down {
    color: #f44336;
    font-weight: 500;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Glass Card Effect */
.glass-card {
    background: hsl(var(--card) / 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Table (Resource Groups, etc.) */
.table-wrapper { width: 100%; overflow-x: auto; }
.resource-table { width: 100%; border-collapse: collapse; }
.resource-table th,
.resource-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid hsl(var(--border) / 0.3); }
.resource-table th { font-weight: 600; font-size: 0.875rem; color: hsl(var(--muted-foreground)); background: hsl(var(--muted) / 0.2); }
.resource-table tbody tr:hover { background: hsl(var(--muted) / 0.2); }
.resource-table tbody tr { cursor: pointer; }
/* All Resources tab: category filter badges */
.all-resources-cat-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; border-radius: 0.5rem; border: 1px solid hsl(var(--border)); background: transparent; color: hsl(var(--foreground)); cursor: pointer; transition: all 0.2s; }
.all-resources-cat-btn:hover { background: hsl(var(--accent)); }
.all-resources-cat-btn.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }
.all-resources-cat-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; padding: 0 0.375rem; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
.all-resources-cat-badge.active { background: hsl(var(--primary-foreground) / 0.25); color: hsl(var(--primary-foreground)); }
/* All Resources tab: row checkboxes */
.all-resources-checkbox { width: 1rem; height: 1rem; border: 2px solid hsl(var(--border)); border-radius: 0.25rem; background: hsl(var(--background)); cursor: pointer; appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s; }
.all-resources-checkbox:hover { border-color: hsl(var(--primary) / 0.6); }
.all-resources-checkbox.checked { background: hsl(var(--primary)); border-color: hsl(var(--primary)); }
.all-resources-checkbox.checked::after { content: ""; width: 0.25rem; height: 0.5rem; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px; }
/* Resources Map tab: tree container and node (block so children stack vertically) */
.resources-map-tree { padding: 0.25rem 0; }
.resources-map-node { display: block; }
.capitalize { text-transform: capitalize; }
.bg-primary\/5 { background-color: hsl(var(--primary) / 0.05); }
.badge { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; font-size: 0.75rem; font-weight: 500; border-radius: 0.375rem; border: 1px solid transparent; }
.badge-outline { display: inline-flex; align-items: center; padding: 0.25rem 0.5rem; font-size: 1rem; font-weight: 500; border-radius: 0.375rem; border: 1px solid hsl(var(--border)); font-family: ui-monospace, monospace; }
.badge-risk { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; font-size: 0.75rem; border-radius: 0.375rem; background: hsl(var(--governance-risk) / 0.1); color: hsl(var(--governance-risk)); border: 1px solid hsl(var(--governance-risk) / 0.3); }
.badge-warning { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; font-size: 0.75rem; border-radius: 0.375rem; background: hsl(var(--governance-warning) / 0.1); color: hsl(var(--governance-warning)); border: 1px solid hsl(var(--governance-warning) / 0.3); }
.badge-compliant { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; font-size: 0.75rem; border-radius: 0.375rem; background: hsl(var(--governance-compliant) / 0.1); color: hsl(var(--governance-compliant)); border: 1px solid hsl(var(--governance-compliant) / 0.3); }
.input-search { width: 100%; max-width: 28rem; padding: 0.5rem 0.75rem 0.5rem 2.25rem; border: 1px solid hsl(var(--input)); border-radius: 0.375rem; font-size: 0.875rem; }
.input-search:focus { outline: none; border-color: hsl(var(--ring)); box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2); }
.btn-filter { padding: 0.375rem 0.75rem; font-size: 0.875rem; border-radius: 0.375rem; border: 1px solid hsl(var(--border)); background: transparent; color: hsl(var(--foreground)); cursor: pointer; transition: all 0.2s; }
.btn-filter:hover { background: hsl(var(--accent)); }
.btn-filter.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }
.grid-cols-1\.md\:grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid-cols-1\.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flex-1 { flex: 1 1 0%; }
.max-w-md { max-width: 28rem; }
.pl-9 { padding-left: 2.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.font-mono { font-family: ui-monospace, monospace; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.hover\:bg-muted\/20:hover { background-color: hsl(var(--muted) / 0.2); }
.sm\:flex-row { flex-direction: row; }
@media (min-width: 640px) { .sm\:flex-row { flex-direction: row; } }
.flex-wrap { flex-wrap: wrap; }

/* Tabs (Resources page) */
.tabs-list { display: flex; gap: 0.25rem; padding: 0.25rem; background: hsl(var(--muted) / 0.5); border-radius: 0.5rem; }
.tabs-trigger { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.375rem; border: none; background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }
.tabs-trigger:hover { color: hsl(var(--foreground)); background: hsl(var(--muted) / 0.5); }
.tabs-trigger.active { background: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
/* Donut chart - exact match to Resources.tsx (relative h-[220px] w-full, innerRadius 60, outerRadius 90, paddingAngle 2) */
.donut-chart { position: relative; width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; }
.donut-chart-svg { width: 100%; height: 100%; max-width: 220px; max-height: 220px; overflow: visible; }
.donut-segment { transform-origin: 90px 90px; transition: transform 0.15s ease, filter 0.15s ease; cursor: pointer; }
.donut-segment:hover { transform: scale(1.04); filter: drop-shadow(0 0 6px rgba(0, 120, 212, 0.4)); }
.donut-segment path { stroke: transparent; stroke-width: 0; transition: stroke 0.15s ease, stroke-width 0.15s ease; }
.donut-segment:hover path { stroke: rgba(0, 120, 212, 0.55); stroke-width: 2; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.donut-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border) / 0.5); }
.donut-legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; min-width: 0; }
.donut-legend-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; flex-shrink: 0; }
.donut-legend-name { color: hsl(var(--muted-foreground)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; font-size: 0.75rem; }
.donut-legend-value { font-family: ui-monospace, monospace; font-weight: 500; font-size: 0.75rem; flex-shrink: 0; }
.chart-tooltip.donut-tooltip { left: 50%; top: 30%; transform: translate(-50%, -50%); margin-top: -2.5rem; border-radius: 0.5rem; padding: 0.5rem 0.75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.chart-tooltip.donut-tooltip p { margin: 0; }
.chart-tooltip.donut-tooltip .mt-0\.5 { margin-top: 0.125rem; }
/* Chart tooltips (Lovable-style) */
.chart-tooltip { position: absolute; background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); border-radius: 0.5rem; padding: 0.375rem 0.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); font-size: 0.8125rem; z-index: 20; pointer-events: none; white-space: nowrap; }
.chart-tooltip strong { display: block; font-weight: 600; color: hsl(var(--foreground)); }
.chart-tooltip span { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.chart-axis-text { font-size: 0.65rem; fill: hsl(var(--muted-foreground)); }
.cost-chart-grid { stroke: hsl(var(--muted)); stroke-width: 0.5; }
.chart-tooltip.cost-sub-tooltip { left: 50%; top: 0; transform: translate(-50%, -100%); margin-top: -4px; }

/* ===== Resources by Location: screenshot-style layout ===== */

.loc-chart {
    --label-w: 110px; /* left label column width */
    --plot-h: 24px; /* bar height */
    --axis-x: 0px; /* baseline position inside plot */
}

.loc-row {
    display: grid;
    grid-template-columns: var(--label-w) 1fr;
    align-items: center;
    column-gap: 12px;
    margin: 12px 0;
    position: relative;
}

.loc-label {
    font-size: 0.75rem;
    color: hsl(var(--foreground));
    text-align: right;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loc-plot {
    position: relative;
    height: var(--plot-h);
}

/* thin vertical baseline at x=0 */
.loc-axis {
    position: absolute;
    left: var(--axis-x);
    top: 0;
    bottom: 0;
    width: 2px;
    background: hsl(var(--border) / 0.7);
    border-radius: 999px;
}

/* bar itself (no gray track) */
.loc-bar {
    position: absolute;
    left: var(--axis-x);
    top: 0;
    height: var(--plot-h);
    border-radius: 0 10px 10px 0; /* rounded right end only */
    min-width: 6px;
    transform-origin: left center;
    will-change: transform;
}

    .loc-bar.is-hovered {
        filter: brightness(1.08);
    }
/* bottom scale aligned under plot area (one straight line) */
.loc-scale {
    display: grid;
    grid-template-columns: var(--label-w) 1fr;
    margin-top: 10px;
    color: hsl(var(--muted-foreground));
    font-size: 0.65rem;
}

    /* the plot column becomes a positioning context */
    .loc-scale .loc-scale-plot {
        position: relative;
        height: 16px;
    }

    /* 0 / mid / max are pinned on a single line */
    .loc-scale .tick {
        position: absolute;
        top: 0;
        line-height: 16px;
        white-space: nowrap;
    }

        .loc-scale .tick.left {
            left: 0;
            transform: translateX(0);
        }

        .loc-scale .tick.mid {
            left: 50%;
            transform: translateX(-50%);
        }

        .loc-scale .tick.right {
            right: 0;
            transform: translateX(0);
        }


/* tooltip position: near the bar start (like screenshot) */
.chart-tooltip.loc-tooltip {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Bars: start animation (works with absolute width%) ===== */
.loc-bar.bar-anim {
    transform: scaleX(0);
    animation: loc-bar-fill 850ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* stagger rows (first bar first) */
.loc-rows .loc-row:nth-child(1) .loc-bar.bar-anim {
    animation-delay: 60ms;
}

.loc-rows .loc-row:nth-child(2) .loc-bar.bar-anim {
    animation-delay: 120ms;
}

.loc-rows .loc-row:nth-child(3) .loc-bar.bar-anim {
    animation-delay: 180ms;
}

.loc-rows .loc-row:nth-child(4) .loc-bar.bar-anim {
    animation-delay: 240ms;
}

.loc-rows .loc-row:nth-child(5) .loc-bar.bar-anim {
    animation-delay: 300ms;
}

.loc-rows .loc-row:nth-child(6) .loc-bar.bar-anim {
    animation-delay: 360ms;
}

.loc-rows .loc-row:nth-child(7) .loc-bar.bar-anim {
    animation-delay: 420ms;
}

.loc-rows .loc-row:nth-child(8) .loc-bar.bar-anim {
    animation-delay: 480ms;
}

.loc-rows .loc-row:nth-child(9) .loc-bar.bar-anim {
    animation-delay: 540ms;
}

.loc-rows .loc-row:nth-child(10) .loc-bar.bar-anim {
    animation-delay: 600ms;
}

@keyframes loc-bar-fill {
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loc-bar.bar-anim {
        animation: none !important;
        transform: none !important;
    }
}


/* ===== Donut: anti-clockwise load animation ===== */
/* ===== Donut: start animation from RIGHT to LEFT ===== */

.donut-segment {
    animation: donut-seg-in 700ms cubic-bezier(.2,.9,.2,1) both;
}

    /* Reverse stagger: last slice animates first */
    .donut-segment:nth-child(1) {
        animation-delay: 720ms;
    }

    .donut-segment:nth-child(2) {
        animation-delay: 660ms;
    }

    .donut-segment:nth-child(3) {
        animation-delay: 600ms;
    }

    .donut-segment:nth-child(4) {
        animation-delay: 540ms;
    }

    .donut-segment:nth-child(5) {
        animation-delay: 480ms;
    }

    .donut-segment:nth-child(6) {
        animation-delay: 420ms;
    }

    .donut-segment:nth-child(7) {
        animation-delay: 360ms;
    }

    .donut-segment:nth-child(8) {
        animation-delay: 300ms;
    }

    .donut-segment:nth-child(9) {
        animation-delay: 240ms;
    }

    .donut-segment:nth-child(10) {
        animation-delay: 180ms;
    }

    .donut-segment:nth-child(11) {
        animation-delay: 120ms;
    }

    .donut-segment:nth-child(12) {
        animation-delay: 60ms;
    }

@keyframes donut-seg-in {
    from {
        transform: scale(0.92);
        opacity: 0;
        filter: blur(1px);
    }

    to {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }
}






/* Tailwind-like utility classes for Blazor */
.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.bg-muted {
    background-color: hsl(var(--muted));
}

.bg-muted\/20 {
    background-color: hsl(var(--muted) / 0.2);
}

.bg-muted\/30 {
    background-color: hsl(var(--muted) / 0.3);
}

.bg-muted\/40 {
    background-color: hsl(var(--muted) / 0.4);
}

.border-border {
    border-color: hsl(var(--border));
}

.border-border\/30 {
    border-color: hsl(var(--border) / 0.3);
}

.border-border\/50 {
    border-color: hsl(var(--border) / 0.5);
}

.bg-primary\/10 {
    background-color: hsl(var(--primary) / 0.1);
}

.bg-primary\/5 {
    background-color: hsl(var(--primary) / 0.05);
}

.border-primary\/20 {
    border-color: hsl(var(--primary) / 0.2);
}

.border-primary\/50 {
    border-color: hsl(var(--primary) / 0.5);
}

.text-primary {
    color: hsl(var(--primary));
}

.bg-governance-compliant\/10 {
    background-color: hsl(var(--governance-compliant) / 0.1);
}

.bg-governance-compliant\/5 {
    background-color: hsl(var(--governance-compliant) / 0.05);
}

.border-governance-compliant\/20 {
    border-color: hsl(var(--governance-compliant) / 0.2);
}

.text-governance-compliant {
    color: hsl(var(--governance-compliant));
}

.bg-governance-warning\/10 {
    background-color: hsl(var(--governance-warning) / 0.1);
}

.bg-governance-warning\/5 {
    background-color: hsl(var(--governance-warning) / 0.05);
}

.border-governance-warning\/20 {
    border-color: hsl(var(--governance-warning) / 0.2);
}

.text-governance-warning {
    color: hsl(var(--governance-warning));
}

.bg-governance-risk\/10 {
    background-color: hsl(var(--governance-risk) / 0.1);
}

.bg-governance-risk\/5 {
    background-color: hsl(var(--governance-risk) / 0.05);
}

.border-governance-risk\/20 {
    border-color: hsl(var(--governance-risk) / 0.2);
}

.text-governance-risk {
    color: hsl(var(--governance-risk));
}

.bg-governance-structure\/10 {
    background-color: hsl(var(--governance-structure) / 0.1);
}

.text-governance-structure {
    color: hsl(var(--governance-structure));
}

.bg-destructive\/10 {
    background-color: hsl(var(--destructive) / 0.1);
}

.border-destructive\/20 {
    border-color: hsl(var(--destructive) / 0.2);
}

.text-destructive {
    color: hsl(var(--destructive));
}

/* Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dropdown Menu Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoom-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide-in-from-top {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation-duration: 150ms;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
}

.fade-in-0 {
    animation-name: fade-in;
}

.zoom-in-95 {
    animation-name: zoom-in;
}

.slide-in-from-top-2 {
    animation-name: slide-in-from-top;
}

/* Popover utility classes */
.bg-popover {
    background-color: hsl(var(--popover));
}

.text-popover-foreground {
    color: hsl(var(--popover-foreground));
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Login Page Styles - Fallback for when Tailwind doesn't load */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    background: hsl(210, 40%, 98%);
    color: hsl(222, 47%, 11%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-left-panel {
    flex: 0 0 50%;
    background: linear-gradient(135deg, #008AD8 0%, #0066A3 100%);
    position: relative;
    overflow: hidden;
    display: none;
}

@media (min-width: 1024px) {
    .login-left-panel {
        display: flex;
    }
}

.login-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.login-right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: hsl(210, 40%, 98%);
}

@media (min-width: 1024px) {
    .login-right-panel {
        flex: 0 0 50%;
    }
}

/* Responsive utilities */
@media (min-width: 1024px) {
    .lg\:flex {
        display: flex !important;
    }
    
    .lg\:w-1\/2 {
        width: 50% !important;
    }
    
    .lg\:text-left {
        text-align: left !important;
    }
    
    .lg\:hidden {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .lg\:flex {
        display: none !important;
    }
}

/* Login input focus styles */
.login-input:focus {
    border-color: hsl(var(--ring)) !important;
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.login-submit-btn:hover:not(:disabled) {
    background: hsl(206, 100%, 35%) !important;
}

.login-social-btn:hover {
    background: hsl(var(--accent)) !important;
}

.login-link-btn:hover {
    text-decoration: underline !important;
}

/* Tailwind CSS Fallbacks - These ensure classes work even if Tailwind CDN doesn't process them */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-md { max-width: 28rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.p-3 { padding: 0.75rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.uppercase { text-transform: uppercase; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.left-3 { left: 0.75rem; }
.right-3 { right: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-10 { z-index: 10; }
.w-4 { width: 1rem; }
.w-auto { width: auto; }
.h-4 { height: 1rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-40 { height: 10rem; }
.bg-background { background-color: hsl(var(--background)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-primary\/90 { background-color: hsl(var(--primary) / 0.9); }
.bg-primary\/80 { background-color: hsl(var(--primary) / 0.8); }
.bg-destructive\/10 { background-color: hsl(var(--destructive) / 0.1); }
.bg-accent { background-color: hsl(var(--accent)); }
.text-white { color: white; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-destructive { color: hsl(var(--destructive)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }
.border-input { border-color: hsl(var(--input)); }
.border-border { border-color: hsl(var(--border)); }
.border-destructive\/20 { border-color: hsl(var(--destructive) / 0.2); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-primary { --tw-gradient-from: hsl(var(--primary)); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, hsl(var(--primary) / 0)); }
.via-primary { --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--primary)), var(--tw-gradient-to, hsl(var(--primary) / 0)); }
.to-primary\/80 { --tw-gradient-to: hsl(var(--primary) / 0.8); }
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.hover\:bg-primary\/90:hover { background-color: hsl(var(--primary) / 0.9); }
.hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:text-accent-foreground:hover { color: hsl(var(--accent-foreground)); }
.hover\:underline:hover { text-decoration: underline; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-ring:focus { --tw-ring-color: hsl(var(--ring)); }
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl-10 { padding-left: 2.5rem; }
.pr-10 { padding-right: 2.5rem; }
.flex-shrink-0 { flex-shrink: 0; }
.animate-spin { animation: spin 1s linear infinite; }

/* Sidebar utility classes */
.bg-sidebar { background-color: hsl(var(--sidebar-background)); }
.text-sidebar-foreground { color: hsl(var(--sidebar-foreground)); }
.text-sidebar-primary { color: hsl(var(--sidebar-primary)); }
.text-sidebar-primary-foreground { color: hsl(var(--sidebar-primary-foreground)); }
.bg-sidebar-accent { background-color: hsl(var(--sidebar-accent)); }
.text-sidebar-accent-foreground { color: hsl(var(--sidebar-accent-foreground)); }
.border-sidebar-border { border-color: hsl(var(--sidebar-border)); }
.border-sidebar-primary\/20 { border-color: hsl(var(--sidebar-primary) / 0.2); }

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:w-1\/2 { width: 50% !important; }
    .lg\:text-left { text-align: left !important; }
}

/* Governance Colors */
.text-governance-compliant {
    color: hsl(var(--governance-compliant));
}

.text-governance-risk {
    color: hsl(var(--governance-risk));
}

.text-governance-warning {
    color: hsl(var(--governance-warning));
}

.text-governance-structure {
    color: hsl(var(--governance-structure));
}

.bg-governance-compliant {
    background-color: hsl(var(--governance-compliant));
}

.bg-governance-risk {
    background-color: hsl(var(--governance-risk));
}

.bg-governance-warning {
    background-color: hsl(var(--governance-warning));
}

.bg-governance-structure {
    background-color: hsl(var(--governance-structure));
}

/* Metric Card Styles */
.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
}

.metric-value {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    color: hsl(var(--foreground));
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 0.5rem;
    background: hsl(var(--muted));
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: hsl(var(--governance-compliant));
    transition: width 0.3s ease;
}

.progress-bar-warning {
    background: hsl(var(--governance-warning));
}

.progress-bar-risk {
    background: hsl(var(--governance-risk));
}

/* Grid Pattern Background */
.bg-grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Auth / Login page - Split Screen Design */
.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-left-panel {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    overflow: hidden;
}

.login-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
    pointer-events: none;
}

.login-branding {
    position: relative;
    z-index: 1;
    color: white;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.login-logo-img {
    height: 160px;
    width: auto;
    filter: brightness(0) invert(1);
}

.login-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: white;
}

.login-title br + span {
    font-weight: 700;
}

.login-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    margin: 0;
}

.login-copyright {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.login-right-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.login-form-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0 0 2rem 0;
}

.auth-error {
    background: #fee;
    color: #c62828;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid #fcc;
}

.auth-field {
    margin-bottom: 1.25rem;
}

.auth-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 1;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.password-toggle:hover {
    color: #1565c0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password-link {
    color: #1565c0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #1565c0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
    margin-bottom: 1.5rem;
}

.auth-submit-btn:hover:not(:disabled) {
    background: #0d47a1;
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #999;
    font-size: 0.875rem;
    font-weight: 500;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.login-divider span {
    padding: 0 1rem;
}

.social-login-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}

.social-btn:hover {
    border-color: #1565c0;
    background: #f5f5f5;
}

.microsoft-btn svg,
.google-btn svg {
    flex-shrink: 0;
}

.login-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-admin-link {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.contact-admin-link:hover {
    text-decoration: underline;
}

.login-security-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}

.login-security-note svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #1565c0;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}