/* _content/Varro.Web/Components/Layout/MainLayout.razor.rz.scp.css */

/* OUTER SHELL: flex lets main auto-resize when sidebar width changes */
.app-shell[b-n6gg685h5s] {
    display: flex;
    min-height: 100vh; /* ensures full viewport height */
}

/* main column stacks topbar + content + footer */
.main[b-n6gg685h5s] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0; /* prevents overflow when content is wide */
  
}

.content[b-n6gg685h5s] {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
}

.footer[b-n6gg685h5s] {
    border-top: 1px solid rgba(0,0,0,.06);
}

/* Mobile: sidebar overlays, so the shell can just be a single column */
@media (max-width: 991.98px) {
    .app-shell[b-n6gg685h5s] {
        display: block;
    }
}
/* _content/Varro.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-lljzbzdwt5] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-lljzbzdwt5] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-lljzbzdwt5] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-lljzbzdwt5] {
    font-size: 1.1rem;
}

.bi[b-lljzbzdwt5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-lljzbzdwt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-lljzbzdwt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-lljzbzdwt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-lljzbzdwt5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-lljzbzdwt5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-lljzbzdwt5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-lljzbzdwt5]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-lljzbzdwt5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-lljzbzdwt5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-lljzbzdwt5] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-lljzbzdwt5] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-lljzbzdwt5] {
        display: none;
    }

    .nav-scrollable[b-lljzbzdwt5] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Varro.Web/Components/Layout/Sidebar.razor.rz.scp.css */

/* ============================
   Sidebar (isolated to Sidebar.razor)
   ============================ */

.app-sidebar[b-e0v4qbrvft] {
    /* Spacing + geometry */
    --item-gap: .90rem;
    --item-pad-y: 10px;
    --item-pad-x: 10px;
    --icon-col: 1.45rem;
    --item-radius: .7rem;
    /* Navy palette (fallbacks included) */
    --navy-900: #0f2b85;
    --navy-800: #0f2643;
    --navy-700: #133055;
    --navy-400: #305a90;
    /* Sidebar colors (with fallbacks so it's readable even without globals) */
    --sidebar-fg: #dfe7f1;
    --sidebar-fg-muted: #9fb2c6;
    --sidebar-fg-active: #ffffff;
    --sidebar-icon: #cfe0f1;
    --sidebar-icon-active: #ffffff;
    --sidebar-bg-hover: rgba(255,255,255,.08);
    --sidebar-bg-active: rgba(255,255,255,.12);
    --sidebar-indicator: linear-gradient(180deg, #5cc0ff, var(--navy-400));
    background: #0f2b85 /*linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%)*/;
    color: #e7edf5;
    border-right: 1px solid rgba(255,255,255,.06);
    flex: 0 0 var(--side-w,264px);
    width: var(--side-w,264px);
    transition: width .2s ease, flex-basis .2s ease, background .2s ease;
    position: sticky;
    top: 0;
    height: 100% /*100dvh*/;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    backdrop-filter: saturate(120%) blur(4px);
    z-index: 100;
}

    .app-sidebar.collapsed[b-e0v4qbrvft] {
        flex-basis: var(--side-w-collapsed,76px);
        width: var(--side-w-collapsed,76px);
    }

    /* ===== Brand row ===== */
    .app-sidebar .brand[b-e0v4qbrvft] {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding: .875rem .75rem;
    }

    .app-sidebar .logo[b-e0v4qbrvft] {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 2px 10px rgba(0,0,0,.25);
    }

    .app-sidebar .brand-text[b-e0v4qbrvft] {
        color: var(--sidebar-fg-active);
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: .2px;
    }
    /* Optional market pill */
    .app-sidebar .market-pill[b-e0v4qbrvft] {
        margin-left: auto;
        font-size: .7rem;
        padding: .15rem .45rem;
        border-radius: 999px;
        background: #0f2b85 /*rgba(255,255,255,.08)*/;
        color: var(--sidebar-fg);
        border: 1px solid rgba(255,255,255,.08);
    }

    /* ===== Nav ===== */
    .app-sidebar .sidebar-nav[b-e0v4qbrvft] {
        display: flex;
        flex-direction: column;
        gap: var(--item-gap);
        padding: .5rem;
    }
        /* fallback gap for old flex engines */
        .app-sidebar .sidebar-nav .nav-link + .nav-link[b-e0v4qbrvft] {
            margin-top: var(--item-gap);
        }

        .app-sidebar .sidebar-nav .nav-link[b-e0v4qbrvft] {
            display: flex;
            align-items: center;
            gap: .1rem;
            padding: var(--item-pad-y) var(--item-pad-x);
            border-radius: var(--item-radius);
            color: var(--sidebar-fg);
            position: relative;
            isolation: isolate;
            text-decoration: none;
            transition: background .15s ease, color .15s ease;
        }

            .app-sidebar .sidebar-nav .nav-link i[b-e0v4qbrvft] {
                color: var(--sidebar-icon);
                width: var(--icon-col);
                text-align: center;
                font-size: 1.1rem;
                opacity: .95;
            }

            .app-sidebar .sidebar-nav .nav-link .label[b-e0v4qbrvft] {
                color: var(--sidebar-fg);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            /* Hover / focus */
            .app-sidebar .sidebar-nav .nav-link:hover[b-e0v4qbrvft],
            .app-sidebar .sidebar-nav .nav-link:focus-visible[b-e0v4qbrvft] {
                background: var(--sidebar-bg-hover);
                color: var(--sidebar-fg-active);
                outline: 0;
            }

                .app-sidebar .sidebar-nav .nav-link:hover i[b-e0v4qbrvft],
                .app-sidebar .sidebar-nav .nav-link:focus-visible i[b-e0v4qbrvft] {
                    color: var(--sidebar-icon-active);
                }

            /* Active + left indicator */
            .app-sidebar .sidebar-nav .nav-link.active[b-e0v4qbrvft] {
                background: var(--sidebar-bg-active);
                color: var(--sidebar-fg-active);
            }

                .app-sidebar .sidebar-nav .nav-link.active i[b-e0v4qbrvft] {
                    color: var(--sidebar-icon-active);
                }

                .app-sidebar .sidebar-nav .nav-link.active[b-e0v4qbrvft]::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 8px;
                    bottom: 8px;
                    width: 3px;
                    border-radius: 3px;
                    background: var(--sidebar-indicator);
                }

        /* Divider line under each item (except the last) */
        .app-sidebar .sidebar-nav .nav-link[b-e0v4qbrvft] {
            position: relative;
        }

            .app-sidebar .sidebar-nav .nav-link[b-e0v4qbrvft]::after {
                content: "";
                position: absolute;
                height: 1px;
                bottom: calc(-1 * var(--item-gap) / 2);
                right: var(--item-pad-x);
                left: calc(var(--item-pad-x) + var(--icon-col));
                background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
            }

            .app-sidebar .sidebar-nav .nav-link:last-child[b-e0v4qbrvft]::after {
                display: none;
            }
            /* Slightly dim the divider when active */
            .app-sidebar .sidebar-nav .nav-link.active[b-e0v4qbrvft]::after {
                background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
            }

    /* Collapsed: hide labels, center icons, keep spacing */
    .app-sidebar.collapsed .sidebar-nav[b-e0v4qbrvft] {
        gap: calc(var(--item-gap) * .85);
    }

        .app-sidebar.collapsed .sidebar-nav .nav-link[b-e0v4qbrvft] {
            justify-content: center;
            padding-inline: .6rem;
        }

            .app-sidebar.collapsed .sidebar-nav .nav-link .label[b-e0v4qbrvft] {
                display: none;
            }

            .app-sidebar.collapsed .sidebar-nav .nav-link[b-e0v4qbrvft]::after {
                left: var(--item-pad-x);
                right: var(--item-pad-x); /* full-width divider under icon row */
            }
    /* Hide toggle chevrons when sidebar is collapsed */
    .app-sidebar.collapsed .nav-toggle .bi-chevron-right[b-e0v4qbrvft],
    .app-sidebar.collapsed .nav-toggle .bi-chevron-down[b-e0v4qbrvft] {
        display: none !important;
    }

/* Footer buttons */
.sidebar-footer[b-e0v4qbrvft] {
    margin-top: auto;
    padding: .6rem;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
}

    .sidebar-footer .btn-icon[b-e0v4qbrvft] {
        color: #cfe0f1;
        background: transparent;
        border: 0;
        padding: .5rem;
        border-radius: .6rem;
    }

        .sidebar-footer .btn-icon:hover[b-e0v4qbrvft] {
            background: rgba(255,255,255,.08);
            color: #fff;
        }

/* Mobile overlay */
@media (max-width: 100%/*991.98px*/) {
    .app-sidebar[b-e0v4qbrvft] {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        width: var(--side-w,264px);
        flex-basis: var(--side-w,264px);
        box-shadow: 0 0 0 9999px rgba(0,0,0,.35);
    }

        .app-sidebar.show[b-e0v4qbrvft] {
            transform: translateX(0);
            transition: transform .2s ease;
        }
}

/* Dark theme fine-tune */
[data-bs-theme="dark"] .app-sidebar[b-e0v4qbrvft] {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    border-right-color: rgba(255,255,255,.06);
}


/*Nav Sub-links Css*/
.nav-group .nav-toggle[b-e0v4qbrvft] {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: 0;
    padding: .5rem .5rem;
}

    .nav-group .nav-toggle .ms-auto[b-e0v4qbrvft] {
        margin-left: auto;
    }

.submenu[b-e0v4qbrvft] {
    display: none;
    padding-left: .75rem;
    border-left: 1px solid var(--tb-border, rgba(0,0,0,.08));
    margin-left: .5rem;
}

    .submenu.show[b-e0v4qbrvft] {
        display: block;
    }

.nav-link.sub[b-e0v4qbrvft] {
    padding: .35rem .75rem;
    opacity: .9;
}

    .nav-link.sub.active[b-e0v4qbrvft] {
        opacity: 1;
        font-weight: 600;
    }

    .nav-link.sub .bullet[b-e0v4qbrvft] {
        width: 1rem;
        display: inline-block;
        text-align: center;
        margin-right: .25rem;
    }


/*Nav Sub-links Css*/
/* _content/Varro.Web/Components/Layout/Topbar.razor.rz.scp.css */

/* ============================
   Topbar (isolated to Topbar.razor)
   ============================ */

/* tokens + fallbacks */
.topbar[b-97f5rtuzuv] {
    --tb-bg: #ffffff; /* light background */
    --tb-fg: #0b1220; /* primary text color */
    --tb-muted: #6b7a90; /* secondary text color */
    --tb-border: rgba(0,0,0,.06); /* border color */
    --tb-hover: rgba(0,0,0,.06); /* hover background */
    --accent: #5cc0ff; /* accent color for highlights */
}

/* dark theme */
[data-bs-theme="dark"] .topbar[b-97f5rtuzuv] {
    --tb-bg: #121416; /* dark background */
    --tb-fg: #e6eef7; /* light text */
    --tb-muted: #9fb2c6; /* muted text */
    --tb-border: rgba(255,255,255,.08); /* border color */
    --tb-hover: rgba(255,255,255,.08); /* hover background */
}

/* shell */
.topbar[b-97f5rtuzuv] {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .30rem .9rem;
    background: /*linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%)*/  var(--tb-bg);
    color: var(--tb-fg);
    border-bottom: 1px solid var(--tb-border);
    backdrop-filter: saturate(120%) blur(4px);
    box-shadow: 0 1px 0 var(--tb-border);
}

    /* left menu button + action buttons */
    .topbar .btn-icon[b-97f5rtuzuv],
    .topbar .btn-user[b-97f5rtuzuv] {
        color: var(--tb-fg);
    }

    .topbar .btn-icon[b-97f5rtuzuv] {
        background: transparent;
        border: 0;
        padding: .5rem;
        line-height: 1;
        border-radius: .55rem;
        position: relative;
    }

        .topbar .btn-icon:hover[b-97f5rtuzuv],
        .topbar .btn-user:hover[b-97f5rtuzuv] {
            background: var(--tb-hover);
        }

        .topbar .btn-icon:focus-visible[b-97f5rtuzuv],
        .topbar .btn-user:focus-visible[b-97f5rtuzuv] {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            border-radius: .6rem;
        }

    .topbar .top-actions[b-97f5rtuzuv] {
        display: flex;
        align-items: center;
        gap: .45rem;
    }

/* search */
.search-wrap[b-97f5rtuzuv] {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--tb-border);
    background:#ffffff /*rgba(255, 255, 255, 0.08)*/; /* using rgba for transparency */
    padding: .38rem .6rem;
    border-radius: .65rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .search-wrap i[b-97f5rtuzuv] {
        opacity: .7;
    }

.search[b-97f5rtuzuv] {
    border: 0;
    outline: 0;
    background: transparent;
    min-width: 280px;
    color: var(--tb-fg);
}

    .search[b-97f5rtuzuv]::placeholder {
        color: var(--tb-muted);
    }

.search-wrap:focus-within[b-97f5rtuzuv] {
    border-color: rgba(92, 192, 255, 0.25); /* accent color on focus */
    box-shadow: 0 0 0 .15rem rgba(92, 192, 255, 0.25); /* accent color glow */
}

/* user menu */
.btn-user[b-97f5rtuzuv] {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    background: transparent;
    padding: .25rem .5rem;
    border-radius: .6rem;
}

    .btn-user img[b-97f5rtuzuv] {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
    }

    .btn-user .bi-caret-down-fill[b-97f5rtuzuv] {
        font-size: .8rem;
        opacity: .7;
    }

/* dropdowns */
.dropdown-menu[b-97f5rtuzuv] {
    border-radius: .6rem;
    border: 1px solid var(--tb-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

[data-bs-theme="dark"] .dropdown-menu[b-97f5rtuzuv] {
    --bs-dropdown-bg: #15181b;
    --bs-dropdown-link-color: #e6eef7;
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, .06);
}

/* notification badge (sits on the bell button) */
.btn-icon .badge[b-97f5rtuzuv] {
    position: absolute;
    top: .25rem;
    right: .15rem;
    transform: translate(40%, -40%);
    display: inline-block;
    min-width: 1.1rem;
    height: 1.1rem;
    line-height: 1.1rem;
    padding: 0 .25rem;
    font-size: .65rem;
    text-align: center;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    border: 2px solid var(--tb-bg);
}


/* responsive */
@media (max-width: 991.98px) {
    .search[b-97f5rtuzuv] {
        min-width: 160px;
    }
}

@media (max-width: 575.98px) {
    .search-wrap[b-97f5rtuzuv] {
        display: none;
    }
    /* hide search on xs for space */
}

/* Marquee container */
.news-marquee[b-97f5rtuzuv] {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background: var(--tb-bg);
    padding: 0 .75rem;
    color: var(--tb-fg);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
}

/* Individual news items */
.news-item[b-97f5rtuzuv] {
    display: inline-block;
    margin-right: 2rem; /* Space between the items */
    animation: scroll-left-b-97f5rtuzuv 180s linear infinite; /* Adjust duration to control scroll speed */
}

/* Scroll animation */
@keyframes scroll-left-b-97f5rtuzuv {
    0% {
        transform: translateX(100%); /* Start from the right */
    }

    100% {
        transform: translateX(-100%); /* End at the left */
    }
}

/* Styling for links */
.news-marquee a[b-97f5rtuzuv] {
    color: var(--tb-fg);
    text-decoration: none;
}

    .news-marquee a:hover[b-97f5rtuzuv] {
        text-decoration: underline;
        color: var(--accent);
    }

/* Optional: Dark mode adjustments */
[data-bs-theme="dark"] .news-marquee[b-97f5rtuzuv] {
    background: var(--navy-900);
    color: var(--tb-fg);
}
/* _content/Varro.Web/Components/Pages/AnalysisTool/VGrid.razor.rz.scp.css */
/* Base palette + spacing */
.vgrid[b-p9vysbm3ig] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}

/* Topbar */
.vgrid-topbar[b-p9vysbm3ig] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
   
}

    .vgrid-topbar h1[b-p9vysbm3ig] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vgrid-topbar .timestamp[b-p9vysbm3ig] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }

/* Toolbar */
.vgrid-toolbar[b-p9vysbm3ig] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 4px;
    padding: 5px 10px;
    box-shadow: var(--shadow, 0 2px 6px rgba(0,0,0,.05));
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.toolbar-left[b-p9vysbm3ig],
.toolbar-right[b-p9vysbm3ig] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.form-field.inline[b-p9vysbm3ig] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

    .form-field.inline select[b-p9vysbm3ig],
    .form-field.inline input[type="text"][b-p9vysbm3ig] {
        height: 30px;
        padding: 0 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #f9f9f9;
    }


.btn[b-p9vysbm3ig] {
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary[b-p9vysbm3ig] {
    background: #0f2b85;
    color: #fff;
}

    .btn-primary:hover[b-p9vysbm3ig] {
        background: #0b226a;
    }

.btn-outline[b-p9vysbm3ig] {
    background: #fff;
    color: #0f2b85;
    border-color: #0f2b85;
}

    .btn-outline:hover[b-p9vysbm3ig] {
        background: #eef2ff;
    }

.stat[b-p9vysbm3ig] {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

    .stat > strong[b-p9vysbm3ig] {
        color: var(--ink);
    }

    .stat > span[b-p9vysbm3ig] {
        font-weight: 700;
    }

    .stat > small[b-p9vysbm3ig] {
        color: var(--muted);
    }

.updated[b-p9vysbm3ig] {
    font-size: 12px;
    color: var(--ink);
}

    .updated span[b-p9vysbm3ig] {
        font-weight: 700;
    }

/* Body split */
.vgrid-body[b-p9vysbm3ig] {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 12px;
    align-items: stretch;
}

/* Left: table card */
.vgrid-tablecard[b-p9vysbm3ig] {
    background: var(--card-bg);
    border: 1px solid var(--card-br);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height:100% /*520px*/;
    max-height: 100%/*calc(100vh - 220px)*/;
}
.vgrid-table-scroll[b-p9vysbm3ig] {
    /* Pick one of the height strategies: */
    /* 1) Viewport-based (good default) */
    max-height: calc(100dvh - 240px); /* adjust 240px for your topbar/footer/etc. */
    /* 2) Or a fixed/clamped height:
       block-size: clamp(360px, 70dvh, 900px);
    */

    overflow: auto; /* enables scroll */
    overscroll-behavior: contain;
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
}
/* ─────────────────────────────────────────────
   V‑Grid Table (sticky header + scroll body)
   ───────────────────────────────────────────── */

.vgrid-tablecard[b-p9vysbm3ig] {
    /* ensure the inner table can compute a height to scroll */
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 480px; /* adjust as needed */
    max-height: calc(100% /*100vh*/ - 220px); /* keeps it within viewport */
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(16,24,40,.06);
    overflow: hidden;
}

/* Table shell */
.vgrid-table[b-p9vysbm3ig] {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 12px;
    line-height: 1;
    table-layout: fixed; /* baseline layout */
}

    /* Make THEAD a block so it stays on top, and TBODY a block so it scrolls */
    .vgrid-table thead[b-p9vysbm3ig] {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .vgrid-table tbody[b-p9vysbm3ig] {
        display: block;
        overflow: auto;
        /* height = card content height minus header row */
        max-height: 100%;
    }

    /* Header cells */
    .vgrid-table thead th[b-p9vysbm3ig] {
        position: sticky;
        top: 0;
        z-index: 3;
        background: #eef2ff;
        color: #0c1a4a;
        text-align: left;
        padding: 5px 10px;
        border-bottom: 1px solid var(--line, #e6e9f0);
        font-weight: 800;
        white-space: nowrap;
    }

    /* Body rows render as “table” so columns line up with thead */
    .vgrid-table tbody tr[b-p9vysbm3ig] {
        display: table;
        width: 100%;
        table-layout: fixed;
        background: #fff;
    }

        .vgrid-table tbody tr:nth-child(odd)[b-p9vysbm3ig] {
            background: #fafbff;
        }

        .vgrid-table tbody tr:hover[b-p9vysbm3ig] {
            background: #f1f4ff;
        }

    /* Body cells */
    .vgrid-table tbody td[b-p9vysbm3ig] {
        padding: 5px 10px;
        border-bottom: 1px solid var(--line, #e6e9f0);
        color: var(--ink-2, #445069);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        /* Column widths — keep header/body aligned without inline styles */
        .vgrid-table thead th:nth-child(1)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(1)[b-p9vysbm3ig] {
            width: 32%;
        }
        /* Node Name */
        .vgrid-table thead th:nth-child(2)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(2)[b-p9vysbm3ig] {
            width: 18%;
        }
        /* Zone */
        .vgrid-table thead th:nth-child(3)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(3)[b-p9vysbm3ig] {
            width: 14%;
        }
        /* LMP */
        .vgrid-table thead th:nth-child(4)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(4)[b-p9vysbm3ig] {
            width: 26%;
        }
        /* Date Time */

        /* Alignments */
        .vgrid-table thead th:nth-child(3)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(3)[b-p9vysbm3ig] {
            text-align: right;
        }

        .vgrid-table thead th:nth-child(4)[b-p9vysbm3ig],
        .vgrid-table tbody td:nth-child(4)[b-p9vysbm3ig] {
            text-align: right;
        }

/* Sort caret button (in LMP header) */
.th-sort[b-p9vysbm3ig] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #0c1a4a;
}

.sort-caret[b-p9vysbm3ig] {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.sort-asc[b-p9vysbm3ig] {
    border-bottom: 7px solid #0c1a4a;
}

.sort-desc[b-p9vysbm3ig] {
    border-top: 7px solid #0c1a4a;
}

/* LMP pill with heat color (kept; tightened a bit) */
.lmp[b-p9vysbm3ig] {
    display: inline-block;
    min-width: 56px;
    text-align: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 800;
    color: #0f1430;
    background: #e9efff;
    border: 1px solid #d8e0ff;
}

.lmp-low[b-p9vysbm3ig] {
    background: #e7f6eb;
    border-color: #cbead3;
    color: #14532d;
}
/* low */
.lmp-mid[b-p9vysbm3ig] {
    background: #fff7cc;
    border-color: #f5e6a3;
    color: #6b4e12;
}
/* medium */
.lmp-midhi[b-p9vysbm3ig] {
    background: #ffe8a6;
    border-color: #f7d57a;
    color: #5a430c;
}
/* medium-high */
.lmp-veryhi[b-p9vysbm3ig] {
    background: #ffd6c9;
    border-color: #f4b9aa;
    color: #7a1f1f;
}
/* very high */

/* Optional: compact density mode (toggle this class on .vgrid-table for tighter rows) */
.vgrid-table.compact thead th[b-p9vysbm3ig] {
    padding: 7px 10px;
}

.vgrid-table.compact tbody td[b-p9vysbm3ig] {
    padding: 6px 10px;
}

/* Small screens: allow horizontal scroll as fallback, disable sticky quirks */
@media (max-width: 700px) {
    .vgrid-table[b-p9vysbm3ig] {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        .vgrid-table thead th[b-p9vysbm3ig] {
            position: static;
        }

        .vgrid-table tbody[b-p9vysbm3ig] {
            max-height: none;
            display: table-row-group; /* revert for simpler flow on mobile */
        }

            .vgrid-table tbody tr[b-p9vysbm3ig] {
                display: table-row;
            }
}
 
/* Right: map card */
 
.vgrid-mapcard[b-p9vysbm3ig] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
}

.map-pane[b-p9vysbm3ig] {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: .75rem;
    overflow: hidden;
}

.map-watermark[b-p9vysbm3ig] {
    position: absolute;
    inset: auto 8px 8px auto;
    z-index: 10;
    background: #00000055;
    color: #fff;
    padding: .2rem .45rem;
    border-radius: .35rem;
    font-size: .75rem;
}
  
/* Responsive: shrink min-height on smaller screens */
@media (max-width: 1100px) {
    .vgrid-mapcard[b-p9vysbm3ig] {
        min-height: 380px;
    }
}

@media (max-width: 700px) {
    .vgrid-mapcard[b-p9vysbm3ig] {
        min-height: 300px;
    }
}

/* Dark theme fine-tune */
[data-bs-theme="dark"] .map-watermark[b-p9vysbm3ig] {
    background: #0f172a;
    color: #a6b3cf;
    border-color: rgba(255,255,255,.12);
}


/* Scrollbar (nice-to-have) */
.vgrid-tablecard tbody[b-p9vysbm3ig]::-webkit-scrollbar,
.vgrid-mapcard[b-p9vysbm3ig]::-webkit-scrollbar {
    width: 10px;
}

.vgrid-tablecard tbody[b-p9vysbm3ig]::-webkit-scrollbar-thumb,
.vgrid-mapcard[b-p9vysbm3ig]::-webkit-scrollbar-thumb {
    background: #cdd6ea;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
    .vgrid-body[b-p9vysbm3ig] {
        grid-template-columns: 1fr;
    }

    .vgrid-mapcard[b-p9vysbm3ig] {
        min-height: 360px;
    }
}
/* (Optional) keep it tidy on small screens */
@media (max-width: 700px) {
    .vgrid-toolbar[b-p9vysbm3ig] {
        grid-template-columns: 1fr;
    }

    .toolbar-right[b-p9vysbm3ig] {
        align-items: flex-start;
    }

        .toolbar-right .updated[b-p9vysbm3ig] {
            margin-top: 4px;
        }
}
/* _content/Varro.Web/Components/Pages/AnalysisTool/VLoad.razor.rz.scp.css */
.vload-topbar[b-dhjxcy7pxy] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vload-topbar h1[b-dhjxcy7pxy] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vload-topbar .timestamp[b-dhjxcy7pxy] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }

.vload-controls[b-dhjxcy7pxy] {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: .5rem .75rem;
    align-items: end;
    padding: .6rem 1rem;
    background: var(--panel, #f7f9fc);
    border-bottom: 1px solid #e5e7eb;
}

    .vload-controls .ctl[b-dhjxcy7pxy] {
        display: grid;
        gap: .2rem;
    }

        .vload-controls .ctl.grow[b-dhjxcy7pxy] {
            min-width: 280px;
        }

    .vload-controls label[b-dhjxcy7pxy] {
        font-size: .75rem;
        color: #475569;
    }

    .vload-controls input[type="date"][b-dhjxcy7pxy],
    .vload-controls input[type="text"][b-dhjxcy7pxy] {
        height: 32px;
        padding: 0 .5rem;
        border: 1px solid #cbd5e1;
        border-radius: .5rem;
        outline: none;
    }

    .vload-controls .refresh[b-dhjxcy7pxy] {
        height: 32px;
        padding: 0 .9rem;
        border: 0;
        border-radius: .6rem;
        font-weight: 600;
        cursor: pointer;
        background: #0f2b85;
        color: #fff;
    }

    .vload-controls .stamp[b-dhjxcy7pxy] {
        justify-self: end;
        color: #64748b;
        font-size: .8rem;
        white-space: nowrap;
        padding-left: .5rem;
    }

.vload-chart[b-dhjxcy7pxy] {
    padding: .75rem 1rem 1.25rem;
}

.chart-wrap[b-dhjxcy7pxy] {
    position: relative;
    width: 100%;
    height: 420px; /* <-- ensures the canvas has visible height */
}

    .chart-wrap canvas[b-dhjxcy7pxy] {
        width: 100% !important;
        height: 100% !important; /* let Chart.js size it to container */
        display: block;
    }

@media (max-width: 900px) {
    .vload-controls[b-dhjxcy7pxy] {
        grid-template-columns: 1fr 1fr;
    }

        .vload-controls .stamp[b-dhjxcy7pxy] {
            grid-column: 1 / -1;
            justify-self: start;
        }
}
/* _content/Varro.Web/Components/Pages/Auth/BillingSuccess.razor.rz.scp.css */
/* Center + animated gradient */
.success-wrap[b-3eq60aq2zs] {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 20% 10%, #f8fafc 0, #eef2ff 35%, #e2e8f0 100%);
    animation: bg-pan-b-3eq60aq2zs 20s linear infinite alternate;
}

@keyframes bg-pan-b-3eq60aq2zs {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 100% 100%
    }
}

/* Decorative blobs */
.bg-blob[b-3eq60aq2zs] {
    position: absolute;
    width: 40vmax;
    height: 40vmax;
    filter: blur(60px);
    opacity: .25;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

    .bg-blob.b1[b-3eq60aq2zs] {
        background: #a5b4fc;
        top: -15vmax;
        left: -10vmax;
        animation: float1-b-3eq60aq2zs 18s ease-in-out infinite;
    }

    .bg-blob.b2[b-3eq60aq2zs] {
        background: #93c5fd;
        bottom: -18vmax;
        right: -12vmax;
        animation: float2-b-3eq60aq2zs 22s ease-in-out infinite;
    }

@keyframes float1-b-3eq60aq2zs {
    50% {
        transform: translate(2vmax, 1vmax) scale(1.04);
    }
}

@keyframes float2-b-3eq60aq2zs {
    50% {
        transform: translate(-2vmax, -1vmax) scale(1.06);
    }
}

/* Card */
.glass-card[b-3eq60aq2zs] {
    background: color-mix(in srgb, #ffffff 68%, transparent);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(15,23,42,.12), 0 2px 10px rgba(15,23,42,.06);
}

.success-card[b-3eq60aq2zs] {
    position: relative;
    z-index: 1;
    width: min(92vw, 560px);
    padding: 28px 24px 26px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .success-card:hover[b-3eq60aq2zs] {
        transform: translateY(-2px);
        box-shadow: 0 14px 48px rgba(15,23,42,.16), 0 3px 12px rgba(15,23,42,.08);
    }

/* Enter motion */
.fade-in-up[b-3eq60aq2zs] {
    animation: fade-in-up-b-3eq60aq2zs .55s both ease-out;
}

@keyframes fade-in-up-b-3eq60aq2zs {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* Drawing checkmark */
.success-icon[b-3eq60aq2zs] {
    width: 88px;
    height: 88px;
    margin: 4px auto 14px;
}

    .success-icon svg[b-3eq60aq2zs] {
        width: 100%;
        height: 100%;
    }

    .success-icon .ring[b-3eq60aq2zs] {
        stroke: #22c55e;
        stroke-width: 6;
        stroke-linecap: round;
        opacity: .25;
        stroke-dasharray: 180;
        stroke-dashoffset: 180;
        animation: draw-b-3eq60aq2zs 0.8s ease forwards .05s;
    }

    .success-icon .check[b-3eq60aq2zs] {
        stroke: #22c55e;
        stroke-width: 6;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 60;
        stroke-dashoffset: 60;
        animation: draw-b-3eq60aq2zs 0.6s ease forwards .45s, pop-b-3eq60aq2zs .4s ease .9s both;
    }

@keyframes draw-b-3eq60aq2zs {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pop-b-3eq60aq2zs {
    from {
        transform: scale(.92);
    }

    to {
        transform: scale(1);
    }
}

/* Headings & text */
h1[b-3eq60aq2zs] {
    margin: 4px 0 6px;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: .2px;
}

.lead[b-3eq60aq2zs] {
    color: #334155;
    margin: 0 0 12px;
}

.meta[b-3eq60aq2zs] {
    color: #64748b;
    font-size: .9rem;
    margin-top: 10px;
}

/* Button */
.btn.btn-primary[b-3eq60aq2zs] {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(99,102,241,.30);
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn.btn-primary:hover[b-3eq60aq2zs] {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(99,102,241,.38);
    }

    .btn.btn-primary:active[b-3eq60aq2zs] {
        transform: translateY(0);
        box-shadow: 0 8px 20px rgba(99,102,241,.30);
    }

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .success-wrap[b-3eq60aq2zs] {
        background: radial-gradient(1200px 600px at 20% 10%, #0b1020 0, #0b1020 35%, #070b16 100%);
    }

    h1[b-3eq60aq2zs] {
        color: #e5e7eb;
    }

    .lead[b-3eq60aq2zs] {
        color: #cbd5e1;
    }

    .meta[b-3eq60aq2zs] {
        color: #94a3b8;
    }

    .glass-card[b-3eq60aq2zs] {
        background: rgba(13,17,28,.6);
        border-color: rgba(148,163,184,.08);
    }
}
/* _content/Varro.Web/Components/Pages/Auth/Login.razor.rz.scp.css */
/* Layout */
/*.auth-wrapper {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
    color: #e5e7eb;
}*/

/* Left panel */
/*.brand-side {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.brand-inner {
    text-align: center;
    z-index: 2;
    animation: float-in 700ms ease-out both;
}

.brand-logo {
    width: clamp(60px, 12vw, 96px);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.3));
    margin-bottom: 1rem;
}

.brand-title {
    font-weight: 800;
    letter-spacing: .4px;
    margin: .25rem 0 .5rem;
}

.brand-tagline {
    opacity: .85;
}*/

/* Colorful blurred blobs */
/*.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: slow-pulse 8s ease-in-out infinite;
}

.blob-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 30%, #22d3ee, #6366f1);
    top: -60px;
    left: -40px;
}

.blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, #f472b6, #a855f7);
    bottom: -80px;
    right: -60px;
    animation-delay: 1.2s;
}*/

/* Right panel */
/*.form-side {
    display: grid;
    place-items: center;
    padding: clamp(2rem, 6vw, 4rem);
}*/

/* Glass card */
/*.glass-card {
    width: min(480px, 92vw);
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}*/

/* --- Floating input + label (works with Blazor child components) --- */
/*.floating-group {
    position: relative;
}*/

    /* style the actual <input> rendered by <InputText> */
    /*.floating-group ::deep input.floating-input {
        background: rgba(17,24,39,.6);
        border: 1px solid rgba(255,255,255,.15);
        color: #e5e7eb;
        padding: 1.1rem .95rem .9rem .95rem;
        border-radius: 12px;
        width: 100%;
        transition: border-color .2s, box-shadow .2s;
    }*/

        /* focus ring */
        /*.floating-group ::deep input.floating-input:focus {
            outline: none;
            border-color: #8b5cf6;
            box-shadow: 0 0 0 4px rgba(139,92,246,.25);
        }*/

/* label base */
/*.floating-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .95rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all .15s ease;
}*/

/* float label on focus OR when field has value (incl. autofill) */
/*.floating-group:focus-within .floating-label,
.floating-group ::deep input.floating-input:not(:placeholder-shown) + .floating-label,
.floating-group ::deep input.floating-input:-webkit-autofill + .floating-label {
    top: 6px;
    font-size: .75rem;
    color: #c4b5fd;
}*/

/* --- Validation states/messages --- */
/*.floating-group ::deep input.floating-input.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,.18);
}

.floating-group ::deep input.floating-input.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

::deep .validation-message {
    color: #fca5a5;
    font-size: .8rem;
    margin-top: .35rem;
}*/

/* --- Checkbox & "Remember me" row --- */
/* Remember me row (container) */
/*.glass-card .d-flex.justify-content-between.align-items-center.mb-3 {
    margin: 0;*/ /* prevent extra bottom margin */
    /*gap: 10px;*/ /* space between left/right items */
/*}*/

/* Tidy the form-check layout */
/*.glass-card .form-check {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}*/

    /* Style the actual checkbox rendered by <InputCheckbox> */
    /*.glass-card .form-check ::deep input.form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        border-radius: .35rem;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(17,24,39,.6);
        accent-color: #8b5cf6;*/ /* modern browsers */
        /*cursor: pointer;
        margin-top: 0;*/ /* align vertically with label */
    /*}

        .glass-card .form-check ::deep input.form-check-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(124,58,237,.25);
        }

        .glass-card .form-check ::deep input.form-check-input:disabled {
            opacity: .55;
            cursor: not-allowed;
        }*/

/* Label style */
/*.glass-card .form-check-label {
    color: #e5e7eb;
    cursor: pointer;
    user-select: none;
}*/


/* optional: make the "Forgot password?" link feel alive */
/*.link-underline {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover::after {
        transform: scaleX(1);
    }*/

 /* Button */
/*.btn.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    border-radius: 12px;
    padding: .8rem 1rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn.btn-primary:hover {
        box-shadow: 0 10px 22px rgba(99,102,241,.35);
        filter: brightness(1.05);
    }

    .btn.btn-primary:active {
        transform: translateY(1px) scale(.997);
    }*/

/* Ripple effect (pure CSS) */
/*.ripple {
    position: relative;
    overflow: hidden;
}

    .ripple:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255,255,255,.35);
        border-radius: 50%;
        transform: translate(-50%,-50%);
        opacity: 0;
        transition: width .45s ease, height .45s ease, opacity .45s ease;
    }

    .ripple:active:after {
        width: 240px;
        height: 240px;
        opacity: 1;
        transition: 0s;
    }*/

/* Links */
/*.link-underline {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover:after {
        transform: scaleX(1);
    }*/

/* Animations */
/*.fade-in {
    animation: fade-in .3s ease both;
}

.fade-in-up {
    animation: fade-in-up .45s ease both;
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slow-pulse {
    0%, 100% {
        transform: scale(1) translateY(0)
    }

    50% {
        transform: scale(1.06) translateY(6px)
    }
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}*/

/* Helpers */
/*.muted {
    color: #9ca3af;
}*/

/* Responsive */
/*@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .brand-side {
        display: none;
    }*/
    /* Hide hero on small screens */
/*}*/


/* spacing between fields — needs ::deep because <form> is rendered by <EditForm> */
/*.glass-card ::deep form {
    display: grid;
    row-gap: 20px;*/ /* tweak to taste: 16–24px */
/*}*/

/* prevent Bootstrap's mb-3 from doubling the space */
/*.glass-card .floating-group,
.glass-card .d-flex.justify-content-between.align-items-center.mb-3 {
    margin-bottom: 0;
}*/

/* optional: a bit of space above error alert (if shown inside the form) */
/*.glass-card ::deep .alert {
    margin-top: 8px;
}*/

/* optional: slightly larger gaps on wider screens */
/*@media (min-width: 768px) {
    .glass-card ::deep form {
        row-gap: 22px;
    }
}*/


/* Layout */
.auth-wrapper[b-ue4nnfm70n] {
    /*min-height: 100%;*/
    min-height: 100vh; /* full viewport height */
    height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
    color: #e5e7eb;
    overflow: hidden;
}

/* Left panel */
.brand-side[b-ue4nnfm70n] {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.brand-inner[b-ue4nnfm70n] {
    text-align: center;
    z-index: 2;
    animation: float-in-b-ue4nnfm70n 700ms ease-out both;
}

.brand-logo[b-ue4nnfm70n] {
    width: clamp(60px, 12vw, 96px);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.3));
    margin-bottom: 1rem;
}

.brand-title[b-ue4nnfm70n] {
    font-weight: 800;
    letter-spacing: .4px;
    margin: .25rem 0 .5rem;
}

.brand-tagline[b-ue4nnfm70n] {
    opacity: .85;
}

/* Colorful blurred blobs */
.bg-blob[b-ue4nnfm70n] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: slow-pulse-b-ue4nnfm70n 8s ease-in-out infinite;
}

.blob-1[b-ue4nnfm70n] {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 30%, #22d3ee, #6366f1);
    top: -60px;
    left: -40px;
}

.blob-2[b-ue4nnfm70n] {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, #f472b6, #a855f7);
    bottom: -80px;
    right: -60px;
    animation-delay: 1.2s;
}

/* Right panel */
.form-side[b-ue4nnfm70n] {
    display: grid;
    place-items: center;
    /*   padding: clamp(2rem, 6vw, 4rem);*/
    padding: clamp(1rem, 1vw, 0.5rem);
    height: 100%; /* stretch to parent height */
    /*box-sizing: border-box;*/
}

/* Glass card */
.glass-card[b-ue4nnfm70n] {
    width: min(480px, 92vw);
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    /* max-height: 90vh;
    overflow-y: auto;*/
}

/* --- Floating input + label (works with Blazor child components) --- */
.floating-group[b-ue4nnfm70n] {
    position: relative;
}

    /* style the actual <input> rendered by <InputText> */
    .floating-group[b-ue4nnfm70n]  input.floating-input {
        background: rgba(17,24,39,.6);
        border: 1px solid rgba(255,255,255,.15);
        color: #e5e7eb;
        /*padding: 1.1rem .95rem .9rem .95rem;*/
        padding: 0.80rem .60rem .5rem .60rem;
        border-radius: 8px;
        width: 100%;
        transition: border-color .2s, box-shadow .2s;
    }

        /* focus ring */
        .floating-group[b-ue4nnfm70n]  input.floating-input:focus {
            outline: none;
            border-color: #8b5cf6;
            box-shadow: 0 0 0 4px rgba(139,92,246,.25);
        }

/* label base */
.floating-label[b-ue4nnfm70n] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .80rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all .15s ease;
}

/* float label on focus OR when field has value (incl. autofill) */
.floating-group:focus-within .floating-label[b-ue4nnfm70n],
.floating-group[b-ue4nnfm70n]  input.floating-input:not(:placeholder-shown) + .floating-label,
.floating-group[b-ue4nnfm70n]  input.floating-input:-webkit-autofill + .floating-label {
    top: 6px;
    font-size: .75rem;
    color: #c4b5fd;
}

/* --- Validation states/messages --- */
.floating-group[b-ue4nnfm70n]  input.floating-input.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,.18);
}

.floating-group[b-ue4nnfm70n]  input.floating-input.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

[b-ue4nnfm70n] .validation-message {
    color: #fca5a5;
    font-size: .8rem;
    margin-top: .35rem;
}

/* --- Checkbox & "Remember me" row --- */
/* Remember me row (container) */
.glass-card .d-flex.justify-content-between.align-items-center.mb-3[b-ue4nnfm70n] {
    margin: 0; /* prevent extra bottom margin */
    gap: 5px; /* space between left/right items */
}

/* Tidy the form-check layout */
.glass-card .form-check[b-ue4nnfm70n] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

    /* Style the actual checkbox rendered by <InputCheckbox> */
    .glass-card .form-check[b-ue4nnfm70n]  input.form-check-input {
        width: 1rem;
        height: 1rem;
        border-radius: .35rem;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(17,24,39,.6);
        accent-color: #8b5cf6; /* modern browsers */
        cursor: pointer;
        margin-top: 0; /* align vertically with label */
    }

        .glass-card .form-check[b-ue4nnfm70n]  input.form-check-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(124,58,237,.25);
        }

        .glass-card .form-check[b-ue4nnfm70n]  input.form-check-input:disabled {
            opacity: .55;
            cursor: not-allowed;
        }

/* Label style */
.glass-card .form-check-label[b-ue4nnfm70n] {
    color: #e5e7eb;
    cursor: pointer;
    user-select: none;
}


/* optional: make the "Forgot password?" link feel alive */
.link-underline[b-ue4nnfm70n] {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline[b-ue4nnfm70n]::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover[b-ue4nnfm70n]::after {
        transform: scaleX(1);
    }

/* Button */
.btn.btn-primary[b-ue4nnfm70n] {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    border-radius: 8px;
    padding: .4rem 0.8rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn.btn-primary:hover[b-ue4nnfm70n] {
        box-shadow: 0 10px 22px rgba(99,102,241,.35);
        filter: brightness(1.05);
    }

    .btn.btn-primary:active[b-ue4nnfm70n] {
        transform: translateY(1px) scale(.997);
    }

/* Ripple effect (pure CSS) */
.ripple[b-ue4nnfm70n] {
    position: relative;
    overflow: hidden;
}

    .ripple[b-ue4nnfm70n]:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255,255,255,.35);
        border-radius: 50%;
        transform: translate(-50%,-50%);
        opacity: 0;
        transition: width .45s ease, height .45s ease, opacity .45s ease;
    }

    .ripple:active[b-ue4nnfm70n]:after {
        width: 240px;
        height: 240px;
        opacity: 1;
        transition: 0s;
    }

/* Links */
.link-underline[b-ue4nnfm70n] {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline[b-ue4nnfm70n]:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover[b-ue4nnfm70n]:after {
        transform: scaleX(1);
    }

/* Animations */
.fade-in[b-ue4nnfm70n] {
    animation: fade-in-b-ue4nnfm70n .3s ease both;
}

.fade-in-up[b-ue4nnfm70n] {
    animation: fade-in-up-b-ue4nnfm70n .45s ease both;
}

@keyframes fade-in-b-ue4nnfm70n {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fade-in-up-b-ue4nnfm70n {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slow-pulse-b-ue4nnfm70n {
    0%, 100% {
        transform: scale(1) translateY(0)
    }

    50% {
        transform: scale(1.06) translateY(6px)
    }
}

@keyframes float-in-b-ue4nnfm70n {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* Helpers */
.muted[b-ue4nnfm70n] {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-wrapper[b-ue4nnfm70n] {
        grid-template-columns: 1fr;
    }

    .brand-side[b-ue4nnfm70n] {
        display: none;
    }
    /* Hide hero on small screens */
}


/* spacing between fields — needs ::deep because <form> is rendered by <EditForm> */
.glass-card[b-ue4nnfm70n]  form {
    display: grid;
    row-gap: 20px; /* tweak to taste: 16–24px */
}

/* prevent Bootstrap's mb-3 from doubling the space */
.glass-card .floating-group[b-ue4nnfm70n],
.glass-card .d-flex.justify-content-between.align-items-center.mb-3[b-ue4nnfm70n] {
    margin-bottom: 0;
}

/* optional: a bit of space above error alert (if shown inside the form) */
.glass-card[b-ue4nnfm70n]  .alert {
    margin-top: 8px;
}

/* optional: slightly larger gaps on wider screens */
@media (min-width: 600px) {
    .glass-card[b-ue4nnfm70n]  form {
        row-gap: 10px;
    }
}
/* _content/Varro.Web/Components/Pages/Auth/Register.razor.rz.scp.css */
/* Layout */
.auth-wrapper[b-vsdp9ga2h2] {
    /*min-height: 100%;*/
    min-height: 100vh; /* full viewport height */
    height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
    color: #e5e7eb;
    overflow: hidden;
}

/* Left panel */
.brand-side[b-vsdp9ga2h2] {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.brand-inner[b-vsdp9ga2h2] {
    text-align: center;
    z-index: 2;
    animation: float-in-b-vsdp9ga2h2 700ms ease-out both;
}

.brand-logo[b-vsdp9ga2h2] {
    width: clamp(60px, 12vw, 96px);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.3));
    margin-bottom: 1rem;
}

.brand-title[b-vsdp9ga2h2] {
    font-weight: 800;
    letter-spacing: .4px;
    margin: .25rem 0 .5rem;
}

.brand-tagline[b-vsdp9ga2h2] {
    opacity: .85;
}

/* Colorful blurred blobs */
.bg-blob[b-vsdp9ga2h2] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: slow-pulse-b-vsdp9ga2h2 8s ease-in-out infinite;
}

.blob-1[b-vsdp9ga2h2] {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 30%, #22d3ee, #6366f1);
    top: -60px;
    left: -40px;
}

.blob-2[b-vsdp9ga2h2] {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, #f472b6, #a855f7);
    bottom: -80px;
    right: -60px;
    animation-delay: 1.2s;
}

/* Right panel */
.form-side[b-vsdp9ga2h2] {
    display: grid;
    place-items: center;
    /*   padding: clamp(2rem, 6vw, 4rem);*/
    padding: clamp(1rem, 1vw, 0.5rem);
    height: 100%; /* stretch to parent height */
    /*box-sizing: border-box;*/
}

/* Glass card */
.glass-card[b-vsdp9ga2h2] {
    width: min(480px, 92vw);
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
   /* max-height: 90vh;
    overflow-y: auto;*/
}

/* --- Floating input + label (works with Blazor child components) --- */
.floating-group[b-vsdp9ga2h2] {
    position: relative;
}

    /* style the actual <input> rendered by <InputText> */
    .floating-group[b-vsdp9ga2h2]  input.floating-input {
        background: rgba(17,24,39,.6);
        border: 1px solid rgba(255,255,255,.15);
        color: #e5e7eb;
        /*padding: 1.1rem .95rem .9rem .95rem;*/
        padding: 0.80rem .60rem .5rem .60rem;
        border-radius: 8px;
        width: 100%;
        transition: border-color .2s, box-shadow .2s;
    }

        /* focus ring */
        .floating-group[b-vsdp9ga2h2]  input.floating-input:focus {
            outline: none;
            border-color: #8b5cf6;
            box-shadow: 0 0 0 4px rgba(139,92,246,.25);
        }

/* label base */
.floating-label[b-vsdp9ga2h2] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .80rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all .15s ease;
}

/* float label on focus OR when field has value (incl. autofill) */
.floating-group:focus-within .floating-label[b-vsdp9ga2h2],
.floating-group[b-vsdp9ga2h2]  input.floating-input:not(:placeholder-shown) + .floating-label,
.floating-group[b-vsdp9ga2h2]  input.floating-input:-webkit-autofill + .floating-label {
    top: 6px;
    font-size: .75rem;
    color: #c4b5fd;
}

/* --- Validation states/messages --- */
.floating-group[b-vsdp9ga2h2]  input.floating-input.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,.18);
}

.floating-group[b-vsdp9ga2h2]  input.floating-input.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

[b-vsdp9ga2h2] .validation-message {
    color: #fca5a5;
    font-size: .8rem;
    margin-top: .35rem;
}
/* password group with toggle icon */
.password-group[b-vsdp9ga2h2] {
    position: relative;
}

    .password-group .toggle-password[b-vsdp9ga2h2] {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #9ca3af;
        cursor: pointer;
        font-size: 1rem;
        padding: 0;
        line-height: 1;
    }

        .password-group .toggle-password:hover[b-vsdp9ga2h2] {
            color: #c4b5fd;
        }
        .password-group .toggle-password i[b-vsdp9ga2h2] {
            color: #fff; /* pure white */
            font-size: 1.1rem;
        }

        .password-group .toggle-password:hover i[b-vsdp9ga2h2] {
            color: #c4b5fd; /* light purple hover */
        }



/* --- Checkbox & "Remember me" row --- */
/* Remember me row (container) */
.glass-card .d-flex.justify-content-between.align-items-center.mb-3[b-vsdp9ga2h2] {
    margin: 0; /* prevent extra bottom margin */
    gap: 5px; /* space between left/right items */
}

/* Tidy the form-check layout */
.glass-card .form-check[b-vsdp9ga2h2] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

    /* Style the actual checkbox rendered by <InputCheckbox> */
    .glass-card .form-check[b-vsdp9ga2h2]  input.form-check-input {
        width: 1rem;
        height: 1rem;
        border-radius: .35rem;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(17,24,39,.6);
        accent-color: #8b5cf6; /* modern browsers */
        cursor: pointer;
        margin-top: 0; /* align vertically with label */
    }

        .glass-card .form-check[b-vsdp9ga2h2]  input.form-check-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(124,58,237,.25);
        }

        .glass-card .form-check[b-vsdp9ga2h2]  input.form-check-input:disabled {
            opacity: .55;
            cursor: not-allowed;
        }

/* Label style */
.glass-card .form-check-label[b-vsdp9ga2h2] {
    color: #e5e7eb;
    cursor: pointer;
    user-select: none;
}


/* optional: make the "Forgot password?" link feel alive */
.link-underline[b-vsdp9ga2h2] {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline[b-vsdp9ga2h2]::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover[b-vsdp9ga2h2]::after {
        transform: scaleX(1);
    }

/* Button */
.btn.btn-primary[b-vsdp9ga2h2] {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    border-radius: 8px;
    padding: .4rem 0.8rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn.btn-primary:hover[b-vsdp9ga2h2] {
        box-shadow: 0 10px 22px rgba(99,102,241,.35);
        filter: brightness(1.05);
    }

    .btn.btn-primary:active[b-vsdp9ga2h2] {
        transform: translateY(1px) scale(.997);
    }

/* Ripple effect (pure CSS) */
.ripple[b-vsdp9ga2h2] {
    position: relative;
    overflow: hidden;
}

    .ripple[b-vsdp9ga2h2]:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255,255,255,.35);
        border-radius: 50%;
        transform: translate(-50%,-50%);
        opacity: 0;
        transition: width .45s ease, height .45s ease, opacity .45s ease;
    }

    .ripple:active[b-vsdp9ga2h2]:after {
        width: 240px;
        height: 240px;
        opacity: 1;
        transition: 0s;
    }

/* Links */
.link-underline[b-vsdp9ga2h2] {
    color: #c7d2fe;
    text-decoration: none;
    position: relative;
}

    .link-underline[b-vsdp9ga2h2]:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
    }

    .link-underline:hover[b-vsdp9ga2h2]:after {
        transform: scaleX(1);
    }

/* Row for first/last name */
.name-row[b-vsdp9ga2h2] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* space between fields */
}

/* On small screens, stack vertically */
@media (max-width: 576px) {
    .name-row[b-vsdp9ga2h2] {
        grid-template-columns: 1fr;
    }
}


/* Animations */
.fade-in[b-vsdp9ga2h2] {
    animation: fade-in-b-vsdp9ga2h2 .3s ease both;
}

.fade-in-up[b-vsdp9ga2h2] {
    animation: fade-in-up-b-vsdp9ga2h2 .45s ease both;
}

@keyframes fade-in-b-vsdp9ga2h2 {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fade-in-up-b-vsdp9ga2h2 {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slow-pulse-b-vsdp9ga2h2 {
    0%, 100% {
        transform: scale(1) translateY(0)
    }

    50% {
        transform: scale(1.06) translateY(6px)
    }
}

@keyframes float-in-b-vsdp9ga2h2 {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* Helpers */
.muted[b-vsdp9ga2h2] {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-wrapper[b-vsdp9ga2h2] {
        grid-template-columns: 1fr;
    }

    .brand-side[b-vsdp9ga2h2] {
        display: none;
    }
    /* Hide hero on small screens */
}


/* spacing between fields — needs ::deep because <form> is rendered by <EditForm> */
.glass-card[b-vsdp9ga2h2]  form {
    display: grid;
    row-gap: 20px; /* tweak to taste: 16–24px */
}

/* prevent Bootstrap's mb-3 from doubling the space */
.glass-card .floating-group[b-vsdp9ga2h2],
.glass-card .d-flex.justify-content-between.align-items-center.mb-3[b-vsdp9ga2h2] {
    margin-bottom: 0;
}

/* optional: a bit of space above error alert (if shown inside the form) */
.glass-card[b-vsdp9ga2h2]  .alert {
    margin-top: 8px;
}

/* optional: slightly larger gaps on wider screens */
@media (min-width: 600px) {
    .glass-card[b-vsdp9ga2h2]  form {
        row-gap: 10px;
    }
}

/*OTP CSS*/
.otp-overlay[b-vsdp9ga2h2] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.55);
    display: grid;
    place-items: center;
}

.otp-modal[b-vsdp9ga2h2] {
    width: min(420px, 92vw);
    padding: 1.75rem;
}

.otp-inputs[b-vsdp9ga2h2] {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
    margin-top: .5rem;
}

.otp-box[b-vsdp9ga2h2] {
    text-align: center;
    font-size: 1.25rem;
    padding: .75rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(17,24,39,.6);
    color: #e5e7eb;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

    .otp-box:focus[b-vsdp9ga2h2] {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 4px rgba(139,92,246,.25);
    }

/*OTP CSS END*/
/* _content/Varro.Web/Components/Pages/Auth/Subscribe.razor.rz.scp.css */
/* Center + animated backdrop */
.subscribe-wrap[b-r2z3aljkph] {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 16px;
    background: radial-gradient(1200px 600px at 15% 10%, #f8fafc 0, #eef2ff 30%, #e2e8f0 100%);
    animation: bg-pan-b-r2z3aljkph 18s linear infinite alternate;
}

@keyframes bg-pan-b-r2z3aljkph {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 100% 100%
    }
}

/* Glassy card */
.glass-card[b-r2z3aljkph] {
    background: color-mix(in srgb, #ffffff 68%, transparent);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15,23,42,.12), 0 2px 10px rgba(15,23,42,.06);
    padding: 22px 18px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .glass-card:hover[b-r2z3aljkph] {
        transform: translateY(-2px);
        box-shadow: 0 14px 48px rgba(15,23,42,.16), 0 3px 12px rgba(15,23,42,.08);
    }

/* Enter motion */
.fade-in-up[b-r2z3aljkph] {
    animation: fade-in-up-b-r2z3aljkph .5s both ease-out;
}

@keyframes fade-in-up-b-r2z3aljkph {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* Grid of plans */
.plan-grid[b-r2z3aljkph] {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 6px 4px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Plan card styles */
.plan-card[b-r2z3aljkph] {
    position: relative;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 14px 14px 16px 14px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    box-shadow: 0 1px 6px rgba(15,23,42,.05);
}

    .plan-card:hover[b-r2z3aljkph] {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(15,23,42,.12);
    }

    .plan-card.active[b-r2z3aljkph] {
        border-color: #6366f1;
        box-shadow: 0 10px 28px rgba(99,102,241,.28), 0 0 0 3px rgba(99,102,241,.12) inset;
        background: linear-gradient(0deg, rgba(99,102,241,.04), rgba(99,102,241,.04)), #fff;
    }

    /* Hide native radio but keep accessibility */
    .plan-card > input[type="radio"][b-r2z3aljkph] {
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
    }

    /* Keyboard focus ring */
    .plan-card:focus-within[b-r2z3aljkph] {
        outline: none;
        box-shadow: 0 0 0 4px rgba(99,102,241,.18);
    }

/* Text */
.plan-name[b-r2z3aljkph] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
}

.plan-price[b-r2z3aljkph] {
    color: #64748b;
    margin-top: 4px;
}

/* Primary button micro-interactions */
.btn.btn-primary[b-r2z3aljkph] {
    box-shadow: 0 6px 16px rgba(99,102,241,.25);
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn.btn-primary:hover[b-r2z3aljkph] {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(99,102,241,.32);
    }

    .btn.btn-primary:active[b-r2z3aljkph] {
        transform: translateY(0);
        box-shadow: 0 6px 16px rgba(99,102,241,.25);
    }

/* Disabled button visual */
.btn[disabled][b-r2z3aljkph] {
    filter: grayscale(.2) opacity(.8);
    cursor: not-allowed;
}

/* Subtle selection sparkle (on activate) */
.plan-card.active[b-r2z3aljkph]::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    pointer-events: none;
    background: conic-gradient(from 180deg at 50% 50%, rgba(99,102,241,.22), rgba(14,165,233,.18), rgba(99,102,241,.22));
    opacity: .0;
    animation: glow-b-r2z3aljkph .9s ease-out forwards;
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    padding: 1px; /* renders a soft ring */
}

@keyframes glow-b-r2z3aljkph {
    0% {
        opacity: .0
    }

    50% {
        opacity: .5
    }

    100% {
        opacity: .0
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .subscribe-wrap[b-r2z3aljkph] {
        background: radial-gradient(1200px 600px at 15% 10%, #0b1020 0, #0b1020 35%, #070b16 100%);
    }

    .glass-card[b-r2z3aljkph] {
        background: rgba(13,17,28,.6);
        border-color: rgba(148,163,184,.08);
    }

    .plan-card[b-r2z3aljkph] {
        background: #0e1425;
        border-color: #273041;
        box-shadow: 0 1px 6px rgba(2,6,23,.3);
    }

        .plan-card.active[b-r2z3aljkph] {
            background: linear-gradient(0deg, rgba(99,102,241,.12), rgba(99,102,241,.12)), #0e1425;
        }

    .plan-name[b-r2z3aljkph] {
        color: #e5e7eb;
    }

    .plan-price[b-r2z3aljkph] {
        color: #94a3b8;
    }
}

/* Plan description */
.plan-desc[b-r2z3aljkph] {
    margin-top: 6px;
    color: #475569;
    font-size: .92rem;
}

/* Feature list */
.plan-features[b-r2z3aljkph] {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

    .plan-features li[b-r2z3aljkph] {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .92rem;
        line-height: 1.2;
        color: #1f2937;
        transform: translateZ(0);
        transition: color .2s ease, opacity .2s ease;
    }

        .plan-features li i[b-r2z3aljkph] {
            font-size: 1.05rem;
        }

        .plan-features li.ok i[b-r2z3aljkph] {
            color: #16a34a;
        }
        /* green check */
        .plan-features li.no i[b-r2z3aljkph] {
            color: #ef4444;
        }
        /* red x */
        .plan-features li.no[b-r2z3aljkph] {
            color: #6b7280;
            opacity: .9;
        }

/* Slight hover lift on the whole card reveals features more */
.plan-card:hover .plan-features li[b-r2z3aljkph] {
    opacity: 1;
}

/* Dark mode tweaks */
@media (prefers-color-scheme: dark) {
    .plan-desc[b-r2z3aljkph] {
        color: #94a3b8;
    }

    .plan-features li[b-r2z3aljkph] {
        color: #cbd5e1;
    }

        .plan-features li.no[b-r2z3aljkph] {
            color: #94a3b8;
        }
}
/* _content/Varro.Web/Components/Pages/Auth/VerifyOtp.razor.rz.scp.css */
/* Center the card and give a subtle animated background */
.verify-wrap[b-gh73cudkh7] {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 16px;
    background: radial-gradient(1200px 600px at 15% 10%, #f8fafc 0, #eef2ff 30%, #e2e8f0 100%);
    animation: bg-pan-b-gh73cudkh7 18s linear infinite alternate;
}

@keyframes bg-pan-b-gh73cudkh7 {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Constrain width nicely */
.max-w-md[b-gh73cudkh7] {
    width: min(92vw, 480px);
}

/* Glassy card look */
.glass-card[b-gh73cudkh7] {
    background: color-mix(in srgb, #ffffff 68%, transparent);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 2px 10px rgba(15,23,42,0.06);
    padding: 20px 18px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .glass-card:hover[b-gh73cudkh7] {
        transform: translateY(-2px);
        box-shadow: 0 14px 48px rgba(15, 23, 42, 0.16), 0 3px 12px rgba(15,23,42,0.08);
    }

/* Enter animation */
.fade-in-up[b-gh73cudkh7] {
    animation: fade-in-up-b-gh73cudkh7 .5s both ease-out;
}

@keyframes fade-in-up-b-gh73cudkh7 {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* OTP input: bold, spaced digits, sweet focus ring */
.otp-input[b-gh73cudkh7] {
    letter-spacing: 0.45em;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    height: 56px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .06s ease;
}

    .otp-input[b-gh73cudkh7]::placeholder {
        color: #a0aec0;
        letter-spacing: .2em;
    }

    .otp-input:focus[b-gh73cudkh7] {
        outline: none;
        border-color: #6366f1; /* indigo */
        box-shadow: 0 0 0 4px rgba(99,102,241,0.18);
        background: #fbfdff;
    }

/* Buttons: gentle elevation + micro interactions */
.btn-primary[b-gh73cudkh7] {
    box-shadow: 0 6px 16px rgba(99,102,241,.25);
    transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn-primary:hover[b-gh73cudkh7] {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(99,102,241,.32);
    }

    .btn-primary:active[b-gh73cudkh7] {
        transform: translateY(0);
        box-shadow: 0 6px 16px rgba(99,102,241,.25);
    }

.btn-link[b-gh73cudkh7] {
    color: #6366f1;
    text-decoration: none;
}

    .btn-link:hover[b-gh73cudkh7] {
        text-decoration: underline;
    }

/* Alerts rounded */
.alert[b-gh73cudkh7] {
    border-radius: 12px;
}

/* Spacing tweaks inside the card */
.max-w-md .mb-2[b-gh73cudkh7] {
    margin-bottom: .5rem;
}

.max-w-md .mb-3[b-gh73cudkh7] {
    margin-bottom: 1rem;
}

/* Optional: subtle pulse while verifying (add .is-loading to .btn-primary from code) */
.btn-primary.is-loading[b-gh73cudkh7] {
    pointer-events: none;
    filter: saturate(.9);
    position: relative;
}

    .btn-primary.is-loading[b-gh73cudkh7]::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        box-shadow: 0 0 0 0 rgba(99,102,241,.25);
        animation: pulse-b-gh73cudkh7 1.2s ease-out infinite;
    }

@keyframes pulse-b-gh73cudkh7 {
    0% {
        box-shadow: 0 0 0 0 rgba(99,102,241,.25);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(99,102,241,0);
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .verify-wrap[b-gh73cudkh7] {
        background: radial-gradient(1200px 600px at 15% 10%, #0b1020 0, #0b1020 35%, #070b16 100%);
    }

    .glass-card[b-gh73cudkh7] {
        background: rgba(13,17,28,0.6);
        border-color: rgba(148,163,184,0.08);
    }

    .otp-input[b-gh73cudkh7] {
        background: #0e1425;
        border-color: #273041;
        color: #e5e7eb;
    }

        .otp-input:focus[b-gh73cudkh7] {
            box-shadow: 0 0 0 4px rgba(99,102,241,.26);
        }

    .btn-link[b-gh73cudkh7] {
        color: #a5b4fc;
    }
}
/* _content/Varro.Web/Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
.dashboard[b-lbpb9t9115] {
    display: flex;
    flex-direction: column;
    padding: 0px;
    font-family: Arial, sans-serif;
    min-height: 80vh; /* Ensure the background covers the full height */
}
.timestamp[b-lbpb9t9115] {
    background: #0b1f66;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    justify-self: end; /* stick to the right */
}

/*PNL-Overview*/

.pnl-overview[b-lbpb9t9115] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 2fr)); /* Responsive grid */
    gap: 15px; /* Space between the cards */
    margin-top: 0px;
    align-items: stretch; /* Make sure cards stretch to fill available height */
}

.pnl-card[b-lbpb9t9115] {
    background-color: var(--navy-600); /* Dark background */
    color: var(--sidebar-fg); /* Light text color */
    border-radius: 5px;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
    text-align: center;
    font-size: 0.9rem;
}

    .pnl-card h3[b-lbpb9t9115] {
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .pnl-card p[b-lbpb9t9115] {
        font-size: 1rem;
        font-weight: bold;
        color: var(--up); /* Green for positive values */
        margin-bottom: 8px;
    }

    .pnl-card small[b-lbpb9t9115] {
        font-size: 0.8rem;
        color: var(--sidebar-fg); /* Muted color for dates */
    }



/*PNL-Overview End*/



/*Charts*/

.charts[b-lbpb9t9115] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
.chart-header[b-lbpb9t9115] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}

    .chart-header h4[b-lbpb9t9115] {
        margin: 0;
    }

.year-select[b-lbpb9t9115] {
    height: 28px;
    padding: 0 .5rem;
    border: 1px solid #cbd5e1;
    border-radius: .4rem;
    font-size: .85rem;
}
.month-select[b-lbpb9t9115] {
    height: 28px;
    padding: 0 .5rem;
    border: 1px solid #cbd5e1;
    border-radius: .4rem;
    font-size: .85rem;
}

.chart-container[b-lbpb9t9115] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    padding: .75rem 1rem;
}

    .chart-container canvas[b-lbpb9t9115] {
        width: 100% !important;
        height: 320px !important;
        display: block;
    }

@media (min-width: 900px) {
    .charts[b-lbpb9t9115] {
        grid-template-columns: 1fr 1fr;
    }
}

/*Charts end*/

/*Top Strip*/
.top-strip[b-lbpb9t9115] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #007bff;*/ /* Blue background */
    /*color: white;*/
    background-color: var(--navy-500); /* Set primary brand color */
    color: var(--sidebar-fg); /* Light color for text */
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .top-strip .field[b-lbpb9t9115] {
        display: flex;
        align-items: center;
        margin-right: 30px; /* space between the fields */
        /*color: var(--sidebar-fg);*/ /* Light color for label */
    }

    .top-strip label[b-lbpb9t9115] {
        font-size: 0.8rem;
        margin-right: 8px; /* space between label and dropdown */
        color: var(--sidebar-fg); /* White label text */
    }

    .top-strip select[b-lbpb9t9115] {
        padding: 3px 9px;
        font-size: 0.8rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: var(--navy-700) /*white*/;
        color: var(--sidebar-fg); /* Light color for text in dropdown */
        cursor: pointer;
        width: 150px; /* Set a fixed width for uniformity */
        transition: border-color 0.3s ease;
    }

        .top-strip select:focus[b-lbpb9t9115] {
            border-color: var(--navy-400); /* Set the border color to accent on focus */
            outline: none;
        }

    .top-strip .datetime[b-lbpb9t9115] {
        font-size: 0.8rem;
        font-weight: 400;
        color: var(--sidebar-fg); /* White label text */
    }

/*Top strip end*/
/* _content/Varro.Web/Components/Pages/DataVisualization/VConstraint.razor.rz.scp.css */
.vconstraint[b-rw390chiwj] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}
/* Topbar */
.vconstraint-topbar[b-rw390chiwj] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-rw390chiwj] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vconstraint-topbar .timestamp[b-rw390chiwj] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }
/* Toolbar */
.vconstraint-toolbar[b-rw390chiwj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: var(--shadow, 0 2px 6px rgba(0,0,0,.05));
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.toolbar-left[b-rw390chiwj],
.toolbar-right[b-rw390chiwj] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.form-field.inline[b-rw390chiwj] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    position: relative; /* enable pseudo divider */
    padding-left: 12px; /* room for the divider */
    margin-left: 4px;
}
    /* Vertical separators between left-side groups */
    .form-field.inline:not(:first-child)[b-rw390chiwj]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        height: 60%;
        transform: translateY(-50%);
        width: 1px;
        background: var(--divider, #e2e8f0);
    }
/* Bold the label text (first span) in each field */
.vconstraint-toolbar .form-field.inline > span:first-child[b-rw390chiwj] {
    font-weight: 700; /* or 700 if you want heavier */
    color: #333;
}


    .form-field.inline select[b-rw390chiwj],
    .form-field.inline input[type="text"][b-rw390chiwj],
    .form-field.inline input[type="date"][b-rw390chiwj] {
        height: 30px;
        padding: 0 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #f9f9f9;
    }


/* Stronger divider between fields and buttons */
.toolbar-right[b-rw390chiwj] {
    border-left: 1px solid var(--divider, #e2e8f0);
    padding-left: 12px;
    margin-left: 4px;
}
.form-field.inline.no-sep[b-rw390chiwj]::before {
    display: none !important;
}
/* Tight inline option groups (checkbox/radio) */
.option-group[b-rw390chiwj] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .option-group .option[b-rw390chiwj] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #444;
    }

/* Buttons: compact + variants */
.btn[b-rw390chiwj] {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #cdd3dd;
    border-radius: 4px;
    background: #f2f5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 28px;
}

    .btn:hover[b-rw390chiwj] {
        background: #e9edf3;
    }

    .btn.primary[b-rw390chiwj] {
        background: #2b6cb0;
        border-color: #2b6cb0;
        color: #fff;
    }

        .btn.primary:hover[b-rw390chiwj] {
            background: #255fa0;
        }

    .btn.ghost[b-rw390chiwj] {
        background: transparent;
        border-color: #cdd3dd;
    }

        .btn.ghost:hover[b-rw390chiwj] {
            background: #f6f8fb;
        }

/* Keep the toolbar compact on smaller screens */
@media (max-width: 920px) {
    .vgrid-toolbar[b-rw390chiwj] {
        gap: 8px;
    }

    .toolbar-left[b-rw390chiwj], .toolbar-right[b-rw390chiwj] {
        gap: 6px;
    }

    .form-field.inline span:first-child[b-rw390chiwj] {
        min-width: 56px;
    }
}

@media (max-width: 680px) {
    .form-field.inline[b-rw390chiwj] {
        gap: 4px;
    }

        .form-field.inline input[type="text"][b-rw390chiwj] {
            min-width: 160px; /* keeps the name box usable on phones */
        }
}


/* Sizing vars so sticky columns line up perfectly */
.vgrid-table[b-rw390chiwj] {
    --w-date: 80px;
    --w-constraint: 200px;
    --w-contingency: 140px;
    --w-metric: 80px;
    --w-hour: 50px;
}

/* Scroll container */
.vgrid-table-wrap[b-rw390chiwj] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    overflow: auto; /* horizontal/vertical scroll as needed */
    max-width: 100%;
}

/* Base table */
.vgrid-table[b-rw390chiwj] {
    width: max-content; /* allow horizontal growth */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

    /* Cells */
    .vgrid-table th[b-rw390chiwj],
    .vgrid-table td[b-rw390chiwj] {
        padding: 6px 8px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
        white-space: nowrap;
    }

    .vgrid-table th[b-rw390chiwj] {
        position: sticky;
        top: 0;
        z-index: 4;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        border-bottom: 1px solid #dbe1ea;
    }

        /* Column widths */
        .vgrid-table th.col-date[b-rw390chiwj],
        .vgrid-table td.col-date[b-rw390chiwj] {
            min-width: var(--w-date);
            text-align: center;
        }

        .vgrid-table th.col-constraint[b-rw390chiwj],
        .vgrid-table td.col-constraint[b-rw390chiwj] {
            min-width: var(--w-constraint);
            text-align: center;
        }

        .vgrid-table th.col-contingency[b-rw390chiwj],
        .vgrid-table td.col-contingency[b-rw390chiwj] {
            min-width: var(--w-contingency);
            text-align: center;
        }

        .vgrid-table th.col-metric[b-rw390chiwj],
        .vgrid-table td.col-metric[b-rw390chiwj] {
            min-width: var(--w-metric);
            text-align: center;
        }

        .vgrid-table th.col-hour[b-rw390chiwj],
        .vgrid-table td.col-hour[b-rw390chiwj],
        .vgrid-table td.num[b-rw390chiwj] {
            min-width: var(--w-hour);
            text-align: center;
        }

    /* Sticky first three columns */
    .vgrid-table .sticky-1[b-rw390chiwj] {
        position: sticky;
        left: 0;
        z-index: 5;
    }

    .vgrid-table .sticky-2[b-rw390chiwj] {
        position: sticky;
        left: var(--w-date);
        z-index: 5;
    }

    .vgrid-table .sticky-3[b-rw390chiwj] {
        position: sticky;
        left: calc(var(--w-date) + var(--w-constraint));
        z-index: 5;
    }

    /* Row polish */
    .vgrid-table tbody tr:nth-child(even) td[b-rw390chiwj] {
        background: #fcfdff;
    }

    .vgrid-table tbody tr:hover td[b-rw390chiwj] {
        background: #f3f6fb;
    }

    /* Numbers + highlights */
    .vgrid-table .num[b-rw390chiwj] {
        font-variant-numeric: tabular-nums;
    }

    .vgrid-table .highlight[b-rw390chiwj] {
        color: #1f4ed8;
        font-weight: 700;
    }

    /* Current hour highlight (paired with tiny JS below) */
    .vgrid-table .is-now[b-rw390chiwj] {
        background: #eef4ff !important;
    }
/* _content/Varro.Web/Components/Pages/DataVisualization/VNodeMetrics.razor.rz.scp.css */
/* TABLE polish */
.vnode-metrics-wrap[b-lfuq0ma6tk] {
    overflow-x: auto;
}

.vnode-metrics-table[b-lfuq0ma6tk] {
    border-collapse: separate;
    border-spacing: 0;
    width: max-content;
    min-width: 100%;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #e1e6ef);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

    .vnode-metrics-table thead th[b-lfuq0ma6tk],
    .vnode-metrics-table tbody td[b-lfuq0ma6tk] {
        padding: 7px 9px; /* slightly tighter */
        border-bottom: 1px solid #eef1f6;
        white-space: nowrap;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .vnode-metrics-table thead th[b-lfuq0ma6tk] {
        background: #f7f9fc;
        color: #334155;
        font-weight: 700;
    }

    .vnode-metrics-table th.sticky-col-1[b-lfuq0ma6tk],
    .vnode-metrics-table td.sticky-col-1[b-lfuq0ma6tk] {
        position: sticky;
        left: 0;
        z-index: 2;
        text-align: left;
        background: #fff;
        border-right: 1px solid #eef1f6;
        min-width: 120px;
    }

    .vnode-metrics-table th.sticky-col-2[b-lfuq0ma6tk],
    .vnode-metrics-table td.sticky-col-2[b-lfuq0ma6tk] {
        position: sticky;
        left: 120px;
        z-index: 2;
        text-align: left;
        background: #fff;
        border-right: 1px solid #eef1f6;
        min-width: 84px;
    }

    .vnode-metrics-table tbody tr:nth-child(even) td[b-lfuq0ma6tk] {
        background: #fcfdff;
    }

    .vnode-metrics-table tbody tr:hover td[b-lfuq0ma6tk] {
        background: #f3f6fb;
    }

    .vnode-metrics-table tbody tr:last-child td[b-lfuq0ma6tk] {
        border-bottom: none;
    }

/* Toolbar alignment */
.vconstraint-toolbar[b-lfuq0ma6tk] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.toolbar-left[b-lfuq0ma6tk] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.form-field.inline[b-lfuq0ma6tk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #445069;
    position: relative;
    padding-left: 10px;
    margin-left: 2px;
}

    .form-field.inline:not(:first-child)[b-lfuq0ma6tk]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        height: 60%;
        transform: translateY(-50%);
        width: 1px;
        background: #e5e9f2; /* softer divider */
    }

    .form-field.inline.no-sep[b-lfuq0ma6tk]::before {
        display: none;
    }

.vconstraint-toolbar .form-field.inline > span:first-child[b-lfuq0ma6tk] {
    font-weight: 700;
    color: #23324a;
}

.form-field.inline select[b-lfuq0ma6tk],
.form-field.inline input[type="text"][b-lfuq0ma6tk],
.form-field.inline input[type="date"][b-lfuq0ma6tk],
.form-field.inline input[type="number"][b-lfuq0ma6tk] {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #cfd6e3;
    border-radius: 6px;
    background: #f9fbff;
}

/* Buttons */
.btn[b-lfuq0ma6tk] {
    height: 30px;
    padding: 0 10px;
    line-height: 28px;
    border: 1px solid #cdd3dd;
    border-radius: 6px;
    background: #f2f5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .btn:hover[b-lfuq0ma6tk] {
        background: #e9edf3;
    }

    .btn.ghost[b-lfuq0ma6tk] {
        background: transparent;
    }

        .btn.ghost:hover[b-lfuq0ma6tk] {
            background: #f6f8fb;
        }

/* CompactFilters tweaks in toolbar */
.inline-compact .filter-btn[b-lfuq0ma6tk] {
    padding: 6px 10px;
    border-radius: 6px;
}

.inline-compact .filter-panel[b-lfuq0ma6tk] {
    min-width: 320px;
    max-width: 380px;
}

/* Better badge contrast */
.filter-btn .badge[b-lfuq0ma6tk] {
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid #e6e9ef;
    font-size: 12px;
    background: #f3f6ff;
    color: #1f2c5c;
}

.vconstraint-topbar[b-lfuq0ma6tk] {
    background: #0f2b85;
    color: #fff;
    border-radius: 6px 6px 0 0;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-lfuq0ma6tk] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2;
    }

    .vconstraint-topbar .timestamp[b-lfuq0ma6tk] {
        background: #0b1f66;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
        justify-self: end;
    }


.vnode-metrics-wrap[b-lfuq0ma6tk] {
    overflow-x: auto;
    margin-top: 12px;
}

.vnode-metrics-table[b-lfuq0ma6tk] {
    border-collapse: separate;
    border-spacing: 0;
    width: max-content; /* allows 24h expansion */
    min-width: 100%;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #e1e6ef);
    border-radius: 8px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,.04));
    font-size: 13px;
}
    .vnode-metrics-table caption.vnode-metrics-caption[b-lfuq0ma6tk] {
        caption-side: top;
        text-align: center;
        font-weight: 800;
        letter-spacing: .3px;
        padding: 8px 10px;
        background: #f7f9fc;
        color: #23324a;
        border: 1px solid #e1e6ef;
        border-bottom: none;
        border-radius: 8px 8px 0 0;
    }

    /* Header */
    .vnode-metrics-table thead th[b-lfuq0ma6tk] {
        background: #f7f9fc;
        color: #334155;
        font-weight: 700;
        padding: 8px 10px;
        border-bottom: 1px solid #dbe1ea;
        white-space: nowrap;
        text-align: center;
    }

    /* Cells */
    .vnode-metrics-table tbody td[b-lfuq0ma6tk] {
        padding: 7px 10px;
        border-bottom: 1px solid #eef1f6;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
        text-align: right;
    }

    .vnode-metrics-table tbody tr:nth-child(even) td[b-lfuq0ma6tk] {
        background: #fcfdff;
    }

    .vnode-metrics-table tbody tr:hover td[b-lfuq0ma6tk] {
        background: #f3f6fb;
    }

    /* Sticky first 2 cols */
    .vnode-metrics-table th.sticky-col-1[b-lfuq0ma6tk],
    .vnode-metrics-table td.sticky-col-1[b-lfuq0ma6tk] {
        position: sticky;
        left: 0;
        z-index: 2;
        text-align: left;
        background: #fff;
        border-right: 1px solid #eef1f6;
        min-width: 120px;
    }

    .vnode-metrics-table th.sticky-col-2[b-lfuq0ma6tk],
    .vnode-metrics-table td.sticky-col-2[b-lfuq0ma6tk] {
        position: sticky;
        left: 120px;
        z-index: 2;
        text-align: left;
        background: #fff;
        border-right: 1px solid #eef1f6;
        min-width: 84px;
    }

    /* Column sizing */
    .vnode-metrics-table th.col-total[b-lfuq0ma6tk],
    .vnode-metrics-table td.col-total[b-lfuq0ma6tk] {
        min-width: 90px;
        text-align: right;
    }

    .vnode-metrics-table th.col-hour[b-lfuq0ma6tk],
    .vnode-metrics-table td.col-hour[b-lfuq0ma6tk] {
        min-width: 50px;
        text-align: center;
    }

    /* Highlight important numbers */
    .vnode-metrics-table .highlight[b-lfuq0ma6tk] {
        color: #1f4ed8;
        font-weight: 700;
    }
/* Optional: make the caption stick while scrolling horizontally */
.vnode-metrics-wrap[b-lfuq0ma6tk] {
    position: relative;
}

.vnode-metrics-table caption.vnode-metrics-caption[b-lfuq0ma6tk] {
    position: sticky;
    top: 0;
    z-index: 3;
}

/*CSS FOR THE FILTER OF THE MONTHS ,DAYS AND MONTH*/
.filters-row[b-lfuq0ma6tk] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap; /* stays neat on smaller widths */
}

.filter[b-lfuq0ma6tk] {
    position: relative;
}

.filter-btn[b-lfuq0ma6tk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--card-br, #dfe3ea);
    background: var(--card-bg, #fff);
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
}

    .filter-btn .icon[b-lfuq0ma6tk] {
        opacity: .8;
    }

    .filter-btn .badge[b-lfuq0ma6tk] {
        margin-left: 4px;
        padding: 2px 6px;
        border-radius: 999px;
        border: 1px solid #e6e9ef;
        font-size: 12px;
        background: #e51818;
    }

.filter-panel[b-lfuq0ma6tk] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    min-width: 340px;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.panel-actions[b-lfuq0ma6tk] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.chip[b-lfuq0ma6tk] {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e2e6ee;
    background: #f7f9fc;
    cursor: pointer;
    font-size: 12px;
}

.sep[b-lfuq0ma6tk] {
    flex: 1;
}

.grid[b-lfuq0ma6tk] {
    display: grid;
    gap: 6px 10px;
}

.months-grid[b-lfuq0ma6tk] {
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.days-grid[b-lfuq0ma6tk] {
    grid-template-columns: repeat(7, minmax(0,1fr));
}

.hours-grid[b-lfuq0ma6tk] {
    grid-template-columns: repeat(8, minmax(0,1fr));
}

.check[b-lfuq0ma6tk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .check input[b-lfuq0ma6tk] {
        transform: translateY(1px);
    }

.panel-footer[b-lfuq0ma6tk] {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.btn-apply[b-lfuq0ma6tk] {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #315efb22;
    background: #f1f4ff;
    cursor: pointer;
}

.vnode-metrics-caption .caption-btn[b-lfuq0ma6tk] {
    background: none;
    border: 0;
    padding: .25rem .5rem;
    font: inherit;
    cursor: pointer;
}

.vnode-metrics-caption .chev[b-lfuq0ma6tk] {
    margin-left: .25rem;
}
/* _content/Varro.Web/Components/Pages/News/News.razor.rz.scp.css */
.vconstraint[b-w480yb4b7c] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}
/* Topbar */
.vconstraint-topbar[b-w480yb4b7c] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-w480yb4b7c] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vconstraint-topbar .timestamp[b-w480yb4b7c] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }
/* ===== NEWS PAGE (scoped with .news-page) ===== */
.news-page .news-toolbar[b-w480yb4b7c] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px
}

    .news-page .news-toolbar select[b-w480yb4b7c],
    .news-page .news-toolbar input[type="text"][b-w480yb4b7c] {
        padding: 8px 10px;
        min-width: 160px;
        border: 1px solid #e3e8f1;
        border-radius: 10px;
        background: #fff;
        color: #0f172a;
        transition: border-color .2s,box-shadow .2s,transform .08s
    }

        .news-page .news-toolbar select:focus[b-w480yb4b7c],
        .news-page .news-toolbar input[type="text"]:focus[b-w480yb4b7c] {
            border-color: #8ab4ff;
            box-shadow: 0 0 0 3px rgba(15,98,254,.18);
            transform: translateY(-1px);
            outline: 0
        }

    .news-page .news-toolbar .btn[b-w480yb4b7c] {
        padding: 8px 12px;
        border-radius: 10px;
        background: #0f62fe;
        color: #fff;
        border: 1px solid transparent;
        cursor: pointer;
        transition: transform .15s,box-shadow .15s
    }

        .news-page .news-toolbar .btn:hover[b-w480yb4b7c] {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,.12)
        }

.news-page .news-grid[b-w480yb4b7c] {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 14px
}

.news-page .news-card[b-w480yb4b7c] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e8f1;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s
}

    .news-page .news-card:hover[b-w480yb4b7c] {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0,0,0,.14);
        border-color: #cdd5e0
    }

    .news-page .news-card .image-wrap[b-w480yb4b7c] {
        position: relative;
        display: block;
        aspect-ratio: 16/9;
        background: #f3f6fb;
        overflow: hidden
    }

        .news-page .news-card .image-wrap img[b-w480yb4b7c] {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .45s cubic-bezier(.2,.8,.2,1),filter .3s
        }

    .news-page .news-card:hover .image-wrap img[b-w480yb4b7c] {
        transform: scale(1.045);
        filter: saturate(1.05)
    }

.news-page .news-card__body[b-w480yb4b7c] {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.news-page .news-card__meta[b-w480yb4b7c] {
    font-size: .82rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px
}

.news-page .news-card__source[b-w480yb4b7c] {
    font-weight: 600;
    color: #475569
}

.news-page .news-card__dot[b-w480yb4b7c] {
    opacity: .55
}

.news-page .news-card__time[b-w480yb4b7c] {
    white-space: nowrap
}

/* Make links look like titles (no default blue underline) */
.news-page .news-card__title[b-w480yb4b7c] {
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background-image: linear-gradient(currentColor,currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: color .2s,background-size .25s
}

    .news-page .news-card__title:hover[b-w480yb4b7c] {
        color: #0f62fe;
        background-size: 100% 2px
    }

.news-page .news-card__desc[b-w480yb4b7c] {
    margin: 0;
    color: #344054;
    font-size: .95rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* Pager */
.news-page .pager[b-w480yb4b7c] {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 18px 0 8px
}

    .news-page .pager .btn[b-w480yb4b7c] {
        padding: 8px 12px;
        border-radius: 10px;
        border: 1px solid #cdd5e0;
        background: #fff;
        color: #0f172a;
        transition: transform .15s,box-shadow .15s,border-color .2s
    }

        .news-page .pager .btn:hover[b-w480yb4b7c] {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,.1);
            border-color: #bfc8d8
        }

        .news-page .pager .btn[disabled][b-w480yb4b7c] {
            opacity: .55;
            cursor: not-allowed;
            transform: none;
            box-shadow: none
        }

/* Skeletons */
.news-page .news-skeleton[b-w480yb4b7c] {
    height: 260px;
    border-radius: 14px;
    border: 1px solid #e3e8f1;
    background: linear-gradient(90deg,#e9edf5 25%,#f3f6fb 37%,#e9edf5 63%);
    background-size: 400% 100%;
    animation: shimmer-b-w480yb4b7c 1.1s linear infinite
}

@keyframes shimmer-b-w480yb4b7c {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: 0 0
    }
}

/* Small screens */
@media (max-width:420px) {
    .news-page .news-grid[b-w480yb4b7c] {
        grid-template-columns: 1fr
    }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
    *[b-w480yb4b7c] {
        animation: none !important;
        transition: none !important
    }
}
/* _content/Varro.Web/Components/Pages/PerformanceTool/Vposition.razor.rz.scp.css */
.vconstraint[b-ikbplzlabn] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}
/* Topbar */
.vconstraint-topbar[b-ikbplzlabn] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-ikbplzlabn] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vconstraint-topbar .timestamp[b-ikbplzlabn] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }

/* Toolbar */
.vconstraint-toolbar[b-ikbplzlabn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: var(--shadow, 0 2px 6px rgba(0,0,0,.05));
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.toolbar-left[b-ikbplzlabn],
.toolbar-right[b-ikbplzlabn] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.form-field.inline[b-ikbplzlabn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    position: relative; /* enable pseudo divider */
    padding-left: 12px; /* room for the divider */
    margin-left: 4px;
}
    /* Vertical separators between left-side groups */
    .form-field.inline:not(:first-child)[b-ikbplzlabn]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        height: 60%;
        transform: translateY(-50%);
        width: 1px;
        background: var(--divider, #e2e8f0);
    }
/* Bold the label text (first span) in each field */
.vconstraint-toolbar .form-field.inline > span:first-child[b-ikbplzlabn] {
    font-weight: 700; /* or 700 if you want heavier */
    color: #333;
}
th[role="button"][b-ikbplzlabn] {
    cursor: pointer;
    user-select: none;
}

    th[role="button"] span.sort-glyph[b-ikbplzlabn] {
        opacity: .6;
        margin-left: .25rem;
    }


.form-field.inline select[b-ikbplzlabn],
.form-field.inline input[type="text"][b-ikbplzlabn],
.form-field.inline input[type="date"][b-ikbplzlabn] {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

/* Buttons: compact + variants */
.btn[b-ikbplzlabn] {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #cdd3dd;
    border-radius: 4px;
    background: #f2f5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 28px;
}

    .btn:hover[b-ikbplzlabn] {
        background: #e9edf3;
    }

    .btn.primary[b-ikbplzlabn] {
        background: #2b6cb0;
        border-color: #2b6cb0;
        color: #fff;
    }

        .btn.primary:hover[b-ikbplzlabn] {
            background: #255fa0;
        }

    .btn.ghost[b-ikbplzlabn] {
        background: transparent;
        border-color: #cdd3dd;
    }

        .btn.ghost:hover[b-ikbplzlabn] {
            background: #f6f8fb;
        }

.big-input[b-ikbplzlabn] {
    flex: 1 1 480px; /* grows wide */
    min-width: 360px; /* ensures it feels “big” on smaller screens */
    padding: 10px 12px; /* comfortable typing space */
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical; /* allow user to expand if needed */
}

.tabs[b-ikbplzlabn] {
    --accent: #2563eb;
    --border: #e5e7eb;
    --bg: #fff;
    font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.tablist[b-ikbplzlabn] {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tab[b-ikbplzlabn] {
    appearance: none;
    border: 1px solid var(--border);
    border-bottom: none;
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
}

    .tab.is-active[b-ikbplzlabn] {
        background: var(--bg);
        color: var(--accent);
        border-color: var(--border);
        box-shadow: 0 -1px 0 0 var(--bg) inset;
    }

.tabpanel[b-ikbplzlabn] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0 8px 8px 8px;
    padding: 12px;
}

.table-wrap[b-ikbplzlabn] {
    overflow: auto;
}

.table[b-ikbplzlabn] {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

    .table th[b-ikbplzlabn], .table td[b-ikbplzlabn] {
        border-bottom: 1px solid var(--border);
        padding: 8px 10px;
        text-align: left;
    }

    .table th[b-ikbplzlabn] {
        background: #f9fafb;
        position: sticky;
        top: 0;
        z-index: 1;
    }

@media (max-width: 720px) {
    .table[b-ikbplzlabn] {
        min-width: 520px;
    }

    .tab[b-ikbplzlabn] {
        padding: 6px 10px;
        font-weight: 600;
    }
}
.toolbar[b-ikbplzlabn] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

fieldset.segmented[b-ikbplzlabn] {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

    fieldset.segmented legend[b-ikbplzlabn] {
        font-weight: 600;
        margin-right: 8px;
    }

.segmented .seg[b-ikbplzlabn] {
    position: relative;
}

.segmented input[type="radio"][b-ikbplzlabn] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented label[b-ikbplzlabn] {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border, #e5e7eb);
    background: #f8fafc;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.segmented .seg + .seg label[b-ikbplzlabn] {
    border-left-width: 0;
}

.segmented .seg:first-child label[b-ikbplzlabn] {
    border-radius: 8px 0 0 8px;
}

.segmented .seg:last-child label[b-ikbplzlabn] {
    border-radius: 0 8px 8px 0;
}

.segmented input[type="radio"]:checked + label[b-ikbplzlabn] {
    background: var(--accent, #2563eb);
    color: #fff;
    border-color: var(--accent, #2563eb);
}
/* _content/Varro.Web/Components/Pages/RiskTool/VPathAnalyzer.razor.rz.scp.css */
.vconstraint[b-ucs0koks1j] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}
/* Topbar */
.vconstraint-topbar[b-ucs0koks1j] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-ucs0koks1j] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vconstraint-topbar .timestamp[b-ucs0koks1j] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }
/* Toolbar */
.vconstraint-toolbar[b-ucs0koks1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: var(--shadow, 0 2px 6px rgba(0,0,0,.05));
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.toolbar-left[b-ucs0koks1j],
.toolbar-right[b-ucs0koks1j] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.form-field.inline[b-ucs0koks1j] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    position: relative; /* enable pseudo divider */
    padding-left: 12px; /* room for the divider */
    margin-left: 4px;
}
    /* Vertical separators between left-side groups */
    .form-field.inline:not(:first-child)[b-ucs0koks1j]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        height: 60%;
        transform: translateY(-50%);
        width: 1px;
        background: var(--divider, #e2e8f0);
    }
/* Bold the label text (first span) in each field */
.vconstraint-toolbar .form-field.inline > span:first-child[b-ucs0koks1j] {
    font-weight: 700; /* or 700 if you want heavier */
    color: #333;
}


.form-field.inline select[b-ucs0koks1j],
.form-field.inline input[type="text"][b-ucs0koks1j],
.form-field.inline input[type="date"][b-ucs0koks1j] {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}


/* Stronger divider between fields and buttons */
.toolbar-right[b-ucs0koks1j] {
    border-left: 1px solid var(--divider, #e2e8f0);
    padding-left: 12px;
    margin-left: 4px;
}

.form-field.inline.no-sep[b-ucs0koks1j]::before {
    display: none !important;
}
/* Tight inline option groups (checkbox/radio) */
.option-group[b-ucs0koks1j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .option-group .option[b-ucs0koks1j] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #444;
    }

/* Buttons: compact + variants */
.btn[b-ucs0koks1j] {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #cdd3dd;
    border-radius: 4px;
    background: #f2f5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 28px;
}

    .btn:hover[b-ucs0koks1j] {
        background: #e9edf3;
    }

    .btn.primary[b-ucs0koks1j] {
        background: #2b6cb0;
        border-color: #2b6cb0;
        color: #fff;
    }

        .btn.primary:hover[b-ucs0koks1j] {
            background: #255fa0;
        }

    .btn.ghost[b-ucs0koks1j] {
        background: transparent;
        border-color: #cdd3dd;
    }

        .btn.ghost:hover[b-ucs0koks1j] {
            background: #f6f8fb;
        }

/* Keep the toolbar compact on smaller screens */
@media (max-width: 920px) {
    .vgrid-toolbar[b-ucs0koks1j] {
        gap: 8px;
    }

    .toolbar-left[b-ucs0koks1j], .toolbar-right[b-ucs0koks1j] {
        gap: 6px;
    }

    .form-field.inline span:first-child[b-ucs0koks1j] {
        min-width: 56px;
    }
}

@media (max-width: 680px) {
    .form-field.inline[b-ucs0koks1j] {
        gap: 4px;
    }

        .form-field.inline input[type="text"][b-ucs0koks1j] {
            min-width: 160px; /* keeps the name box usable on phones */
        }
}


/* Sizing vars so sticky columns line up perfectly */
.vgrid-table[b-ucs0koks1j] {
    --w-date: 80px;
    --w-constraint: 200px;
    --w-contingency: 140px;
    --w-metric: 80px;
    --w-hour: 50px;
}

/* Scroll container */
.vgrid-table-wrap[b-ucs0koks1j] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    overflow: auto; /* horizontal/vertical scroll as needed */
    max-width: 100%;
}

/* Base table */
.vgrid-table[b-ucs0koks1j] {
    width: max-content; /* allow horizontal growth */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

    /* Cells */
    .vgrid-table th[b-ucs0koks1j],
    .vgrid-table td[b-ucs0koks1j] {
        padding: 6px 8px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
        white-space: nowrap;
    }

    .vgrid-table th[b-ucs0koks1j] {
        position: sticky;
        top: 0;
        z-index: 4;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        border-bottom: 1px solid #dbe1ea;
    }

        /* Column widths */
        .vgrid-table th.col-date[b-ucs0koks1j],
        .vgrid-table td.col-date[b-ucs0koks1j] {
            min-width: var(--w-date);
            text-align: center;
        }

        .vgrid-table th.col-constraint[b-ucs0koks1j],
        .vgrid-table td.col-constraint[b-ucs0koks1j] {
            min-width: var(--w-constraint);
            text-align: center;
        }

        .vgrid-table th.col-contingency[b-ucs0koks1j],
        .vgrid-table td.col-contingency[b-ucs0koks1j] {
            min-width: var(--w-contingency);
            text-align: center;
        }

        .vgrid-table th.col-metric[b-ucs0koks1j],
        .vgrid-table td.col-metric[b-ucs0koks1j] {
            min-width: var(--w-metric);
            text-align: center;
        }

        .vgrid-table th.col-hour[b-ucs0koks1j],
        .vgrid-table td.col-hour[b-ucs0koks1j],
        .vgrid-table td.num[b-ucs0koks1j] {
            min-width: var(--w-hour);
            text-align: center;
        }

    /* Sticky first three columns */
    .vgrid-table .sticky-1[b-ucs0koks1j] {
        position: sticky;
        left: 0;
        z-index: 5;
    }

    .vgrid-table .sticky-2[b-ucs0koks1j] {
        position: sticky;
        left: var(--w-date);
        z-index: 5;
    }

    .vgrid-table .sticky-3[b-ucs0koks1j] {
        position: sticky;
        left: calc(var(--w-date) + var(--w-constraint));
        z-index: 5;
    }

    /* Row polish */
    .vgrid-table tbody tr:nth-child(even) td[b-ucs0koks1j] {
        background: #fcfdff;
    }

    .vgrid-table tbody tr:hover td[b-ucs0koks1j] {
        background: #f3f6fb;
    }

    /* Numbers + highlights */
    .vgrid-table .num[b-ucs0koks1j] {
        font-variant-numeric: tabular-nums;
    }

    .vgrid-table .highlight[b-ucs0koks1j] {
        color: #1f4ed8;
        font-weight: 700;
    }

    /* Current hour highlight (paired with tiny JS below) */
    .vgrid-table .is-now[b-ucs0koks1j] {
        background: #eef4ff !important;
    }

/* Wrapper */
.vpath-table-wrap[b-ucs0koks1j] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    overflow: auto; /* scroll if content overflows */
    max-width: 100%;
}

/* Table base */
.vpath-table[b-ucs0koks1j] {
    width: 100%;
    table-layout: fixed; /* lets column widths work predictably */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    color: #0f172a;
}

    /* Header */
    .vpath-table thead th[b-ucs0koks1j] {
        position: sticky; /* header stays visible on scroll */
        top: 0;
        z-index: 2;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        text-align: left;
        border-bottom: 1px solid #dbe1ea;
    }

    /* Cells */
    .vpath-table th[b-ucs0koks1j],
    .vpath-table td[b-ucs0koks1j] {
        padding: 10px 12px;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: middle;
        white-space: normal; /* allow wrapping */
        word-break: break-word; /* wrap long constraint names cleanly */
    }

        /* Column widths (40% / 40% / 20%) */
        .vpath-table th:nth-child(1)[b-ucs0koks1j],
        .vpath-table td:nth-child(1)[b-ucs0koks1j] {
            width: 20%;
        }
        /* Constraint */
        .vpath-table th:nth-child(2)[b-ucs0koks1j],
        .vpath-table td:nth-child(2)[b-ucs0koks1j] {
            width: 40%;
        }
        /* Contingency */
        .vpath-table th:nth-child(3)[b-ucs0koks1j],
        .vpath-table td:nth-child(3)[b-ucs0koks1j] {
            width: 20%;
        }
        /* Sensitivity */
        .vpath-table th:nth-child(4)[b-ucs0koks1j],
        .vpath-table td:nth-child(4)[b-ucs0koks1j] {
            width: 20%;
        }
        /* Numeric alignment for Sensitivity */
        .vpath-table th:nth-child(4)[b-ucs0koks1j],
        .vpath-table td:nth-child(4)[b-ucs0koks1j] {
            text-align: center;
            font-variant-numeric: tabular-nums;
        }
        .vpath-table th .sort[b-ucs0koks1j] {
            background: none;
            border: 0;
            padding: .25rem .5rem;
            cursor: pointer;
            font: inherit;
        }

        .vpath-table th[aria-sort="ascending"] .sort[b-ucs0koks1j],
        .vpath-table th[aria-sort="descending"] .sort[b-ucs0koks1j] {
            font-weight: 600;
        }


    /* Row polish */
    .vpath-table tbody tr:nth-child(even) td[b-ucs0koks1j] {
        background: #fcfdff;
    }

    .vpath-table tbody tr:hover td[b-ucs0koks1j] {
        background: #f3f6fb;
    }

/* Compact adjustments on small screens */
@media (max-width: 640px) {
    .vpath-table[b-ucs0koks1j] {
        font-size: 12px;
    }

        .vpath-table th[b-ucs0koks1j], .vpath-table td[b-ucs0koks1j] {
            padding: 8px 10px;
        }
}

.vpath-table .muted[b-ucs0koks1j] {
    color: #888;
    text-align: center;
}

.table-status[b-ucs0koks1j] {
    padding: 8px 0;
    color: #666;
}

    .table-status.error[b-ucs0koks1j] {
        color: #c0392b;
    }

/* _content/Varro.Web/Components/Pages/RiskTool/VPortfolioAnalyzer.razor.rz.scp.css */
.vconstraint[b-b8z0v9uy1w] {
    --navy-900: #0a1b2e;
    --navy-700: #133055;
    --navy-500: #1d4480;
    --blue-700: #0d1a8b;
    --indigo-600: #2a36b1;
    --card-bg: #fff;
    --card-br: #dfe3ea;
    --ink: #0f1a2a;
    --ink-2: #445069;
    --muted: #6b7890;
    --muted-2: #8e9ab3;
    --line: #e6e9f0;
    --pad: 12px;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(16, 24, 40, .06);
    display: grid;
    gap: 3px;
}
/* Topbar */
.vconstraint-topbar[b-b8z0v9uy1w] {
    background: #0f2b85;
    color: #fff;
    border-radius: 4px 4px 0 0;
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

    .vconstraint-topbar h1[b-b8z0v9uy1w] {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
        grid-column: 2; /* force into middle column */
    }

    .vconstraint-topbar .timestamp[b-b8z0v9uy1w] {
        background: #0b1f66;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        justify-self: end; /* stick to the right */
    }
/* Toolbar */
.vconstraint-toolbar[b-b8z0v9uy1w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: var(--shadow, 0 2px 6px rgba(0,0,0,.05));
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.toolbar-left[b-b8z0v9uy1w],
.toolbar-right[b-b8z0v9uy1w] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.form-field.inline[b-b8z0v9uy1w] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    position: relative; /* enable pseudo divider */
    padding-left: 12px; /* room for the divider */
    margin-left: 4px;
}
    /* Vertical separators between left-side groups */
    .form-field.inline:not(:first-child)[b-b8z0v9uy1w]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        height: 60%;
        transform: translateY(-50%);
        width: 1px;
        background: var(--divider, #e2e8f0);
    }
/* Bold the label text (first span) in each field */
.vconstraint-toolbar .form-field.inline > span:first-child[b-b8z0v9uy1w] {
    font-weight: 700; /* or 700 if you want heavier */
    color: #333;
}


.form-field.inline select[b-b8z0v9uy1w],
.form-field.inline input[type="text"][b-b8z0v9uy1w],
.form-field.inline input[type="date"][b-b8z0v9uy1w] {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}


/* Stronger divider between fields and buttons */
.toolbar-right[b-b8z0v9uy1w] {
    border-left: 1px solid var(--divider, #e2e8f0);
    padding-left: 12px;
    margin-left: 4px;
}

.form-field.inline.no-sep[b-b8z0v9uy1w]::before {
    display: none !important;
}
/* Tight inline option groups (checkbox/radio) */
.option-group[b-b8z0v9uy1w] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .option-group .option[b-b8z0v9uy1w] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #444;
    }

/* Buttons: compact + variants */
.btn[b-b8z0v9uy1w] {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #cdd3dd;
    border-radius: 4px;
    background: #f2f5f9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 28px;
}

    .btn:hover[b-b8z0v9uy1w] {
        background: #e9edf3;
    }

    .btn.primary[b-b8z0v9uy1w] {
        background: #2b6cb0;
        border-color: #2b6cb0;
        color: #fff;
    }

        .btn.primary:hover[b-b8z0v9uy1w] {
            background: #255fa0;
        }

    .btn.ghost[b-b8z0v9uy1w] {
        background: transparent;
        border-color: #cdd3dd;
    }

        .btn.ghost:hover[b-b8z0v9uy1w] {
            background: #f6f8fb;
        }

/* Keep the toolbar compact on smaller screens */
@media (max-width: 920px) {
    .vgrid-toolbar[b-b8z0v9uy1w] {
        gap: 8px;
    }

    .toolbar-left[b-b8z0v9uy1w], .toolbar-right[b-b8z0v9uy1w] {
        gap: 6px;
    }

    .form-field.inline span:first-child[b-b8z0v9uy1w] {
        min-width: 56px;
    }
}

@media (max-width: 680px) {
    .form-field.inline[b-b8z0v9uy1w] {
        gap: 4px;
    }

        .form-field.inline input[type="text"][b-b8z0v9uy1w] {
            min-width: 160px; /* keeps the name box usable on phones */
        }
}


/* Sizing vars so sticky columns line up perfectly */
.vgrid-table[b-b8z0v9uy1w] {
    --w-date: 80px;
    --w-constraint: 200px;
    --w-contingency: 140px;
    --w-metric: 80px;
    --w-hour: 50px;
}

/* Scroll container */
.vgrid-table-wrap[b-b8z0v9uy1w] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    overflow: auto; /* horizontal/vertical scroll as needed */
    max-width: 100%;
}

/* Base table */
.vgrid-table[b-b8z0v9uy1w] {
    width: max-content; /* allow horizontal growth */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

    /* Cells */
    .vgrid-table th[b-b8z0v9uy1w],
    .vgrid-table td[b-b8z0v9uy1w] {
        padding: 6px 8px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
        white-space: nowrap;
    }

    .vgrid-table th[b-b8z0v9uy1w] {
        position: sticky;
        top: 0;
        z-index: 4;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        border-bottom: 1px solid #dbe1ea;
    }

        /* Column widths */
        .vgrid-table th.col-date[b-b8z0v9uy1w],
        .vgrid-table td.col-date[b-b8z0v9uy1w] {
            min-width: var(--w-date);
            text-align: center;
        }

        .vgrid-table th.col-constraint[b-b8z0v9uy1w],
        .vgrid-table td.col-constraint[b-b8z0v9uy1w] {
            min-width: var(--w-constraint);
            text-align: center;
        }

        .vgrid-table th.col-contingency[b-b8z0v9uy1w],
        .vgrid-table td.col-contingency[b-b8z0v9uy1w] {
            min-width: var(--w-contingency);
            text-align: center;
        }

        .vgrid-table th.col-metric[b-b8z0v9uy1w],
        .vgrid-table td.col-metric[b-b8z0v9uy1w] {
            min-width: var(--w-metric);
            text-align: center;
        }

        .vgrid-table th.col-hour[b-b8z0v9uy1w],
        .vgrid-table td.col-hour[b-b8z0v9uy1w],
        .vgrid-table td.num[b-b8z0v9uy1w] {
            min-width: var(--w-hour);
            text-align: center;
        }

    /* Sticky first three columns */
    .vgrid-table .sticky-2[b-b8z0v9uy1w] {
        position: sticky;
        left: 0;
        z-index: 5;
    }

    .vgrid-table .sticky-3[b-b8z0v9uy1w] {
        position: sticky;
        left:var(--w-constraint);
        z-index: 5;
    }

    /*.vgrid-table .sticky-3 {
        position: sticky;
        left: calc(var(--w-date) + var(--w-constraint));
        z-index: 5;
    }*/

    /* Row polish */
    .vgrid-table tbody tr:nth-child(even) td[b-b8z0v9uy1w] {
        background: #fcfdff;
    }

    .vgrid-table tbody tr:hover td[b-b8z0v9uy1w] {
        background: #f3f6fb;
    }

    /* Numbers + highlights */
    .vgrid-table .num[b-b8z0v9uy1w] {
        font-variant-numeric: tabular-nums;
    }

    .vgrid-table .highlight[b-b8z0v9uy1w] {
        color: #1f4ed8;
        font-weight: 700;
    }

    /* Current hour highlight (paired with tiny JS below) */
    .vgrid-table .is-now[b-b8z0v9uy1w] {
        background: #eef4ff !important;
    }

/* Wrapper */
.vpath-table-wrap[b-b8z0v9uy1w] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-br, #dfe3ea);
    border-radius: 6px;
    overflow: auto; /* scroll if content overflows */
    max-width: 100%;
}

/* Table base */
.vpath-table[b-b8z0v9uy1w] {
    width: 100%;
    table-layout: fixed; /* lets column widths work predictably */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    color: #0f172a;
}

    /* Header */
    .vpath-table thead th[b-b8z0v9uy1w] {
        position: sticky; /* header stays visible on scroll */
        top: 0;
        z-index: 2;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        text-align: left;
        border-bottom: 1px solid #dbe1ea;
    }

    /* Cells */
    .vpath-table th[b-b8z0v9uy1w],
    .vpath-table td[b-b8z0v9uy1w] {
        padding: 10px 12px;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: middle;
        white-space: normal; /* allow wrapping */
        word-break: break-word; /* wrap long constraint names cleanly */
    }

        /* Column widths (40% / 40% / 20%) */
        .vpath-table th:nth-child(1)[b-b8z0v9uy1w],
        .vpath-table td:nth-child(1)[b-b8z0v9uy1w] {
            width: 40%;
        }
        /* Constraint */
        .vpath-table th:nth-child(2)[b-b8z0v9uy1w],
        .vpath-table td:nth-child(2)[b-b8z0v9uy1w] {
            width: 40%;
        }
        /* Contingency */
        .vpath-table th:nth-child(3)[b-b8z0v9uy1w],
        .vpath-table td:nth-child(3)[b-b8z0v9uy1w] {
            width: 20%;
        }
        /* Sensitivity */

        /* Numeric alignment for Sensitivity */
        .vpath-table th:nth-child(3)[b-b8z0v9uy1w],
        .vpath-table td:nth-child(3)[b-b8z0v9uy1w] {
            text-align: center;
            font-variant-numeric: tabular-nums;
        }

    /* Row polish */
    .vpath-table tbody tr:nth-child(even) td[b-b8z0v9uy1w] {
        background: #fcfdff;
    }

    .vpath-table tbody tr:hover td[b-b8z0v9uy1w] {
        background: #f3f6fb;
    }

/* Compact adjustments on small screens */
@media (max-width: 640px) {
    .vpath-table[b-b8z0v9uy1w] {
        font-size: 12px;
    }

        .vpath-table th[b-b8z0v9uy1w], .vpath-table td[b-b8z0v9uy1w] {
            padding: 8px 10px;
        }
}
