@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.wuc5ioiakb.bundle.scp.css';

/* /Components/Layout/LoginDisplay.razor.rz.scp.css */
.custom_padding[b-4w13ppggd5] {
    padding: 0px 80px 0px 0px;
}
.custom_color[b-4w13ppggd5] {
    color: #ffffff;
    font-size: 0.55rem;
}

.display-box[b-4w13ppggd5] {
    gap: 1rem;
}

/* Right-side profile UI scoped to LoginDisplay */

.login-profile[b-4w13ppggd5] {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff; /* assumes TopNavBar provides dark background */
}

/* left small meta (role / profile name / company) */
.profile-meta[b-4w13ppggd5] {
  text-align: left;
  line-height: 1.05;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
}

.role[b-4w13ppggd5] {
    margin-bottom: .3rem;
}

.meta-line[b-4w13ppggd5] { white-space: nowrap; color: rgba(255,255,255,0.86); }

/* profile action: small inline box containing icon + name + caret */
.profile-action[b-4w13ppggd5] {
  position: relative;
  display: flex;
  align-items: center;
}

/* button looks like the light box in your screenshot */
.profile-btn[b-4w13ppggd5] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 4px 8px;
  background: transparent;            /* light box as in image */
  color: #ffffff;                /* dark text for name */
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
}
/*.profile-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(11,102,195,0.12); }*/

/* avatar icon: no filled background; subtle 1px white bottom line inside the icon */
.avatar-icon[b-4w13ppggd5] {
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  background: transparent;
  border-radius: 50%;
  padding: 2px;
}

/* profile name and caret (kept inline in the same light box) */
.profile-name[b-4w13ppggd5] { white-space: nowrap; }
.chev[b-4w13ppggd5] { font-size: 0.95rem; opacity: 0.9; }

/* dropdown (unchanged) */
.profile-menu[b-4w13ppggd5] {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  color: var(--brand-navy, #0b2545);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(6,78,143,0.18);
  min-width: 180px;
  padding: 0.25rem;
  z-index: 1200;
}
.menu-item[b-4w13ppggd5] {
  display: block;
  width: 100%;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}
.menu-item:hover[b-4w13ppggd5] { background: rgba(11,102,195,0.05); border-radius: 4px; }

.menu-item-form[b-4w13ppggd5] {
  display: block;
  width: 100%;
  margin: 0;
}

/* Theme switcher in navy header */
.login-theme-switcher-host[b-4w13ppggd5] {
  position: relative;
  z-index: 1210;
}

.login-theme-switcher-host[b-4w13ppggd5]  .login-theme-switcher .dropdown-toggle,
.login-theme-switcher-host[b-4w13ppggd5]  .blazorbootstrap-theme-indicator {
  color: #fff;
}

.login-theme-switcher-host[b-4w13ppggd5]  .login-theme-switcher .dropdown-menu {
  z-index: 1220;
}

/* mobile: hide long meta */
@media (max-width: 720px) {
  .profile-meta[b-4w13ppggd5] { display: none; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout rules for fixed header/footer and independent scrolling content */

/* Prevent page-level scrolling � scroll will happen inside the columns only */
html[b-acxm2vx4l0], body[b-acxm2vx4l0] {
  height: 100%;
  margin: 0;
  overflow: hidden; /* prevents document scrollbar when content fits */
}

/* Ensure CSS variables are provided in wwwroot/app.css:
   --header-height, --footer-height, --sidenav-expanded-width, etc. */

.app-root[b-acxm2vx4l0] {
  /* reserve space for fixed header & footer so content isn't hidden under them */
  height: 100%;
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
  box-sizing: border-box;
  position: relative;
  background: var(--surface, #fff);
}

/* Fixed header: remain at top, above nav/content */
.site-header[b-acxm2vx4l0] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000; /* must be above sidenav/content */
  background: var(--surface-header, transparent);
  border-bottom: none !important;
  box-shadow: none !important;

  padding: 0; /* keep header height and fixed behavior, remove any accidental padding */
}

/* The main shell fills the area between header and footer. */
.app-shell[b-acxm2vx4l0] {
  height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex;
  /* allow children (side nav tooltips) to overflow the shell so they are not clipped */
  overflow: visible; /* changed from hidden */
  width: 100%;
  box-sizing: border-box;
  position: relative;

  /* Allow tooltips to escape and neutralize accidental stacking contexts */
  transform: none !important;          /* neutralize any inherited transform */
  will-change: auto !important;
}

/* Side nav: fixed-width column that scrolls internally */
.fui-sidenav[b-acxm2vx4l0],
.side-nav[b-acxm2vx4l0] {
  flex: 0 0 var(--sidenav-expanded-width, 275px);
  height: 100%;      /* match the .app-shell height so it scrolls internally */
  overflow: auto;    /* scroll the nav when content overflows */
  box-sizing: border-box;
  z-index: 100;      /* below header/footer which are 1000 */
}

/* Content area: flexible column that scrolls internally */
.content-area[b-acxm2vx4l0] {
    flex: 1 1 auto;
    height: 100%;
    overflow: auto;
    padding: 1rem;
    box-sizing: border-box;
    /* ensure content does not create a higher stacking context */
    position: relative;
    z-index: auto; /* keep content below side-nav/tooltips */

    transform: none !important; /* removes stacking context created by transform */
    will-change: auto !important;
    /* Reserve visible room so the footer doesn't cover the last lines when scrolled.
     Add a little extra (1rem) to give comfortable breathing room. */
    padding-bottom: calc(var(--footer-height) + 1rem);
    /* When using anchors, ensure the browser scrolls so the target sits above the footer */
    scroll-padding-bottom: calc(var(--footer-height) + 0.75rem);
}

/* Keep internal container spacing reasonable */
.app-shell .container-fluid[b-acxm2vx4l0] {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Footer styling updates: brand-navy background and visible right-aligned links */

/* Fixed footer: remain at bottom, above sidenav/content visually */
.site-footer[b-acxm2vx4l0],
footer.site-footer[b-acxm2vx4l0],
.footer[b-acxm2vx4l0] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-height);
  z-index: 6000; /* must be higher than the side-nav and its tooltips */
  box-sizing: border-box;

  /* brand-navy background to match header */
  background: var(--brand-navy);
  color: var(--brand-white);
}

/* Layout of footer content */
.footer[b-acxm2vx4l0] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

/* ensure the right-hand nav shows as horizontal links */
.footer .footer-nav[b-acxm2vx4l0] {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

/* footer links: high-contrast, visible, and keyboard-focusable */
.footer .footer-link[b-acxm2vx4l0],
.footer .nav-link.footer-link[b-acxm2vx4l0] {
  color: var(--brand-white);
  text-decoration: none;
  opacity: 0.95;
  font-weight: 500;
}

.footer .footer-link:focus[b-acxm2vx4l0],
.footer .footer-link:hover[b-acxm2vx4l0] {
  text-decoration: underline;
  opacity: 1;
}

/* keep .custom_color safe if used elsewhere; ensure contrast for items inside footer */
.site-footer .custom_color[b-acxm2vx4l0],
.footer .custom_color[b-acxm2vx4l0] {
    color: var(--brand-white);
    font-size: 0.75rem;
}

/* small fallbacks */
.page[b-acxm2vx4l0] {
  position: relative;
  display: flex;
  flex-direction: column;
}
.main[b-acxm2vx4l0] {
  padding-top: 0;
}

/* Ensure the navbar fills the fixed header and remove its vertical padding
   (prevents the small visible gap under the highlighted nav element). */
.site-header .navbar[b-acxm2vx4l0] {
  height: 100%;          /* make navbar match the header height */
  padding-top: 0;        /* remove default bootstrap vertical padding */
  padding-bottom: 0;
  display: flex;
  align-items: center;   /* vertically center navbar content */
}

/* Ensure the container inside the navbar also fills the header */
.site-header .container-fluid[b-acxm2vx4l0] {
  height: 100%;
  display: flex;
  align-items: center;
}

/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-hpep1v7dt1] {
    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-hpep1v7dt1] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-hpep1v7dt1] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-hpep1v7dt1] {
    font-size: 1.1rem;
}

.bi[b-hpep1v7dt1] {
    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-hpep1v7dt1] {
    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-hpep1v7dt1] {
    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-hpep1v7dt1] {
    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-hpep1v7dt1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-hpep1v7dt1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-hpep1v7dt1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-hpep1v7dt1]  .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-hpep1v7dt1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-hpep1v7dt1]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-hpep1v7dt1] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-hpep1v7dt1] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-hpep1v7dt1] {
        display: none;
    }

    .nav-scrollable[b-hpep1v7dt1] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/SideNav.razor.rz.scp.css */
:root[b-ld3fpng39o] {
    --tooltip-bg: #ffffff;
    --tooltip-text: #1b1a19;
    --tooltip-border: rgba(0,0,0,0.15);
}
[data-theme="dark"][b-ld3fpng39o] {
    --tooltip-bg: #2b2b2b;
    --tooltip-text: #f3f2f1;
    --tooltip-border: rgba(255,255,255,0.18);
}
.fui-sidenav[b-ld3fpng39o] {
    height: 100%;
    overflow: visible;
    transition: width 320ms cubic-bezier(.2,.9,.2,1);
    position: relative;
    z-index: 1000;
}
.fui-sidenav.collapsed[b-ld3fpng39o] {
    width: var(--sidenav-collapsed-width);
    min-width: var(--sidenav-collapsed-width);
    padding: 8px 6px;
}
.fui-sidenav[b-ld3fpng39o]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #ddd 20%, #ddd 80%, transparent);
}
.fui-sidenav[b-ld3fpng39o]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 22px;
    height: 34px;
    background: var(--surface);
    border: 1px solid var(--grey-300);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.sidenav-handle[b-ld3fpng39o] {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 22px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}
.nav-item-wrapper[b-ld3fpng39o] {
    position: relative;
}
.fui-sidenav .nav-list[b-ld3fpng39o],
.fui-sidenav .nav-list ul[b-ld3fpng39o] {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fui-sidenav .nav-list[b-ld3fpng39o] {
    width: 100%;
    overflow: visible;
}
.fui-sidenav .nav-list li[b-ld3fpng39o] {
    margin: 6px 4px;
    position: relative;
}
.fui-sidenav .nav-item[b-ld3fpng39o],
.fui-sidenav .section-toggle[b-ld3fpng39o] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
    border: 1px solid transparent;
}
.fui-sidenav:not(.collapsed) .nav-item[b-ld3fpng39o],
.fui-sidenav:not(.collapsed) .section-toggle[b-ld3fpng39o] {
    padding-right: 40px;
}
.fui-sidenav .nav-item > i[b-ld3fpng39o],
.fui-sidenav .section-toggle .main-icon[b-ld3fpng39o] {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fui-sidenav .nav-text[b-ld3fpng39o] {
    white-space: nowrap;
}
.fui-sidenav .nav-item.active[b-ld3fpng39o],
.fui-sidenav .section-toggle.active[b-ld3fpng39o] {
    background: rgba(6,78,143,0.06);
    font-weight: 600;
}
.fui-sidenav .nav-children[b-ld3fpng39o] {
    padding-left: 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 160ms ease;
}
.fui-sidenav .nav-children.expanded[b-ld3fpng39o] {
    max-height: 800px;
    opacity: 1;
}
.fui-sidenav .section-toggle .chev-icon[b-ld3fpng39o] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 140ms ease, opacity 120ms ease;
}
.fui-sidenav .section-toggle.expanded .chev-icon[b-ld3fpng39o] {
    transform: translateY(-50%) rotate(90deg);
}
.fui-sidenav.collapsed .chev-icon[b-ld3fpng39o] {
    opacity: 0;
}
.fui-sidenav .swap-icon[b-ld3fpng39o] {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 120ms ease;
}
.fui-sidenav.collapsed li:hover .swap-icon[b-ld3fpng39o] {
    opacity: 1;
}
.fui-sidenav.collapsed li:hover .main-icon[b-ld3fpng39o] {
    opacity: 0;
}
.fui-sidenav.collapsed .nav-text[b-ld3fpng39o] {
    display: none !important;
    width: 0;
    overflow: hidden;
}
.fui-sidenav.collapsed .nav-item[b-ld3fpng39o],
.fui-sidenav.collapsed .section-toggle[b-ld3fpng39o] {
    gap: 0;
}
.fui-sidenav .sidenav-tooltip[b-ld3fpng39o] {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scale(.98);
    white-space: nowrap;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--tooltip-border);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.18);
    font-size: 0.9rem;
    z-index: 100000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 120ms ease;
}
.fui-sidenav .sidenav-tooltip[b-ld3fpng39o]::before {
    content: "";
    position: absolute;
    inset: -6px;
    background: var(--tooltip-bg);
    border-radius: 8px;
    z-index: -1;
}
.fui-sidenav.collapsed .nav-item-wrapper:hover .sidenav-tooltip[b-ld3fpng39o],
.fui-sidenav.collapsed .nav-item-wrapper:focus-within .sidenav-tooltip[b-ld3fpng39o] {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.fui-sidenav:not(.collapsed) .sidenav-tooltip[b-ld3fpng39o] {
    display: none !important;
}
.fui-sidenav .nav-item:hover[b-ld3fpng39o],
.fui-sidenav .section-toggle:hover[b-ld3fpng39o] {
    background: rgba(0,0,0,0.03);
}
.fui-sidenav[b-ld3fpng39o],
.fui-sidenav .nav-item[b-ld3fpng39o],
.fui-sidenav .section-toggle[b-ld3fpng39o] {
    color: var(--text-primary);
}
.fui-sidenav i[b-ld3fpng39o] {
    color: var(--icon-color);
}
/* /Components/Layout/TopNavBar.razor.rz.scp.css */
.header[b-e8shie2cjr] {
    padding: 1rem;
    background: var(--brand-navy);
    background-size: 100% 100%;
}
.navbar-nav .nav-link[b-e8shie2cjr] {
    color: var(--brand-white);
}

.dropend .dropdown-toggle[b-e8shie2cjr] {
    color: var(--brand-orange);
    margin-left: 1em;
}

.dropdown-item:hover[b-e8shie2cjr] {
    background-color: var(--brand-orange);
    color: var(--brand-white);
}

.dropdown .dropdown-menu[b-e8shie2cjr] {
    display: none;
}

.dropdown:hover > .dropdown-menu[b-e8shie2cjr],
.dropend:hover > .dropdown-menu[b-e8shie2cjr] {
    display: block;
    margin-top: 0.125em;
    margin-left: 0.125em;
}

@media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu[b-e8shie2cjr] {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .dropend .dropdown-toggle[b-e8shie2cjr] {
        margin-left: 0.5em;
    }
}
.nav_padding[b-e8shie2cjr] {
    padding: 0px 0px 0px 150px;
}
/*
.nav_menu {
    color: #ffffff;
    font-weight: 500;
}
*/
/* /Components/Pages/Account/UserProfiles.razor.rz.scp.css */
[b-iq0zu72kyv] .card {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
    width: 18rem;
    height: 19rem;
    text-align: center;
}
.card-text-fixed[b-iq0zu72kyv] {
    height: 40px; 
    overflow: hidden;
}
/* /Components/Pages/Admin/RoleAccessManager.razor.rz.scp.css */
/* =========================================
   TOKENS
========================================= */
:root[b-v7rkzz7r54] {
    --brand-white: #ffffff;
    --surface: #ffffff;
    --text-primary: #0D1C39;
    --muted: rgba(0,0,0,0.06);
    --grey-100: #F2F6F8;
    --grey-200: #E6EEF4;
    --grey-250: #DDDDDD;
    --grey-400: #BFCFDA;
    --grey-600: #6B7A86;
    --icon-color: #0070BA;
}

/* DARK MODE */
[data-bs-theme="dark"][b-v7rkzz7r54] {
    --surface: #0f1720;
    --text-primary: #e8eef6;
    --muted: rgba(255,255,255,0.06);
    --grey-100: #18222d;
    --grey-200: rgba(255,255,255,0.08);
    --grey-250: #1f2a36;
    --grey-400: rgba(255,255,255,0.25);
    --grey-600: #b8c5d1;
    --icon-color: #e8eef6;
}

/* =========================================
   PAGE
========================================= */
.role-access-page[b-v7rkzz7r54] {
    width: 100%;
    padding: 18px 20px;
}

/* =========================================
   CARD
========================================= */
.role-access-card[b-v7rkzz7r54] {
    background: var(--surface);
    border: 1px solid var(--grey-200);
    border-radius: 6px;
    padding: 14px;
    margin-top: 12px;
}

/* =========================================
   SELECT
========================================= */
.role-select-row[b-v7rkzz7r54] {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

    .role-select-row .form-select[b-v7rkzz7r54] {
        max-width: 320px;
        background: var(--surface);
        color: var(--text-primary);
        border: 1px solid var(--grey-400);
    }

/* =========================================
   ✅ OUTER WRAPPER (MOST IMPORTANT)
========================================= */
.grid-content .table-responsive[b-v7rkzz7r54] {
    background: var(--surface);
    border: 1px solid var(--grey-200);
    border-radius: 6px;
    overflow: hidden !important; /* ✅ required */
    position: relative;
}

/* DARK FIX */
[data-bs-theme="dark"] .grid-content .table-responsive[b-v7rkzz7r54] {
    border-color: rgba(255,255,255,0.08);
}

/* =========================================
   ✅ TABLE (FIXED)
========================================= */
.grid-content table[b-v7rkzz7r54],
.role-access-page .table[b-v7rkzz7r54] {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    color: var(--text-primary);
}

    /* =========================================
   ✅ HEADER (FINAL FIX)
========================================= */
    .grid-content table thead th[b-v7rkzz7r54] {
        background: var(--grey-250) !important;
        color: var(--text-primary) !important;
        padding: 10px 12px;
        font-size: 13px;
        font-weight: 600;
        border-bottom: 1px solid var(--grey-200);
    }

/* DARK HEADER */
[data-bs-theme="dark"] .grid-content table thead th[b-v7rkzz7r54] {
    background: #1f2a36 !important;
    color: #e8eef6 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* =========================================
   BODY
========================================= */
.grid-content table tbody td[b-v7rkzz7r54] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--grey-200);
}

[data-bs-theme="dark"] .grid-content table tbody td[b-v7rkzz7r54] {
    border-color: rgba(255,255,255,0.08);
}

/* =========================================
   STRIPES
========================================= */
.table-striped tbody tr:nth-of-type(odd) > *[b-v7rkzz7r54] {
    background: var(--muted);
}

/* =========================================
   HOVER
========================================= */
.table-hover tbody tr:hover > *[b-v7rkzz7r54] {
    background: rgba(0,0,0,0.04);
}

[data-bs-theme="dark"] .table-hover tbody tr:hover > *[b-v7rkzz7r54] {
    background: rgba(255,255,255,0.06);
}

/* =========================================
   ✅ CRITICAL: PREVENT ROW BLEED
========================================= */
.grid-content table tbody tr[b-v7rkzz7r54] {
    background: transparent;
}

    .grid-content table tbody tr:last-child td[b-v7rkzz7r54] {
        border-bottom: none;
    }

/* =========================================
   ✅ PERFECT RADIUS VISUAL (CELLS)
========================================= */
.grid-content table thead th:first-child[b-v7rkzz7r54] {
    border-top-left-radius: 6px;
}

.grid-content table thead th:last-child[b-v7rkzz7r54] {
    border-top-right-radius: 6px;
}

.grid-content table tbody tr:last-child td:first-child[b-v7rkzz7r54] {
    border-bottom-left-radius: 6px;
}

.grid-content table tbody tr:last-child td:last-child[b-v7rkzz7r54] {
    border-bottom-right-radius: 6px;
}

/* =========================================
   FILTER ROW
========================================= */
.filters-row[b-v7rkzz7r54] {
    background: transparent !important;
}

[data-bs-theme="dark"] .filters-row[b-v7rkzz7r54] {
    background: rgba(255,255,255,0.04) !important;
}

/* =========================================
   ICONS
========================================= */
.role-access-page i[b-v7rkzz7r54],
.role-access-page svg[b-v7rkzz7r54] {
    color: var(--icon-color);
    fill: var(--icon-color);
}

/* =========================================
   SEARCH GRID FIX
========================================= */
table.search-grid thead .bb-grid-filter[b-v7rkzz7r54],
table.search-grid thead td .dropdown-menu[b-v7rkzz7r54] {
    display: none !important;
}

table.search-grid thead td .d-flex[b-v7rkzz7r54] {
    display: block !important;
}

table.search-grid thead input.form-control[b-v7rkzz7r54] {
    width: 100%;
}

/* =========================================
   DETAIL VIEW
========================================= */
table.search-grid tr.collapse > td:not([colspan])[b-v7rkzz7r54] {
    display: none !important;
}

table.search-grid tr.collapse > td[colspan][b-v7rkzz7r54] {
    width: 100%;
}

.role-access-page table.search-grid td[colspan][b-v7rkzz7r54] {
    padding: 0 !important;
}

    .role-access-page table.search-grid td[colspan] .table-responsive[b-v7rkzz7r54] {
        border: none;
        box-shadow: none;
    }
/* /Components/Pages/Admin/UserProductNotificationOverview.razor.rz.scp.css */
/* /Components/Pages/Audit/ApplicationAccessLog.razor.rz.scp.css */
:global(html)[b-zinf74epno], :global(body)[b-zinf74epno] {
    font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Filter panel visuals */
.filters-panel[b-zinf74epno] {
    border: 1px solid #e6e6e6;
    background: #f8f9fa;
    padding: 0;
}

.filters-panel .card-body[b-zinf74epno] {
    padding: 16px;
}

/* Vertical label/control layout for filters */
.filters-panel .card-header[b-zinf74epno] {
    background: transparent;
    border-bottom: 1px solid #d1d1d1;
    font-family: 'DM Sans', inherit;
    font-weight: 600;
    color: #0b5ed7;
}

/* 4-column grid for filters */
.filters-grid[b-zinf74epno] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 18px;
    align-items: start;
}

/* Each filter item is a vertical stack: label above control */
.filter-item[b-zinf74epno] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

/* Labels: brand font, semi-bold */
.filters-panel .form-label[b-zinf74epno],
.filters-panel label[b-zinf74epno],
.filter-item label[b-zinf74epno] {
    font-family: 'DM Sans', inherit;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

/* Ensure form controls use the brand font and don't force column widths */
.filters-panel .form-control[b-zinf74epno],
.filters-panel .form-select[b-zinf74epno],
.filters-panel input[b-zinf74epno] {
    font-family: 'DM Sans', inherit;
    min-width: 0; /* prevents overflowing and keeps columns consistent */
}


/* Brand primary button styling */
.btn-brand-primary[b-zinf74epno] {
    background-color: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: #ffffff;
    font-family: 'DM Sans', inherit;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Small normalization for filter inputs/selects inside the 4-col grid */
.filters-grid .filter-item .form-select[b-zinf74epno],
.filters-grid .filter-item .form-control[b-zinf74epno],
.filters-grid .filter-item select[b-zinf74epno],
.filters-grid .filter-item input[b-zinf74epno] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* Responsive breakpoints � adjust as desired */
@media (max-width: 1200px) {
    .filters-grid[b-zinf74epno] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .filters-grid[b-zinf74epno] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .filters-grid[b-zinf74epno] {
        grid-template-columns: 1fr;
    }
}

/* responsive: on small screens stack labels above controls */
@media (max-width: 768px) {
    .filters-list[b-zinf74epno] {
        grid-template-columns: 1fr;
    }
    .filters-list label[b-zinf74epno] {
        margin-top: 8px;
    }
    .filters-list .form-control[b-zinf74epno],
    .filters-list .form-select[b-zinf74epno] {
        margin-bottom: 6px;
    }
}
/* /Components/Pages/Audit/WCRatingProcessingLog.razor.rz.scp.css */
.status-pill[b-15m9op19j7] {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.status-started[b-15m9op19j7] {
    background-color: #22c55e; /* green */
    color: #fff;
}

.status-stopped[b-15m9op19j7] {
    background-color: #ef4444; /* red */
    color: #fff;
}

.status-info[b-15m9op19j7] {
    background-color: #3b82f6;
    color: #fff;
}
/* /Components/Pages/ChildComponents/_Application.razor.rz.scp.css */
/* Scoped styles for _UserProfileRole component to match Search filters */
.application-root[b-3zwqehf2d9] {
  display: flex;
  gap: 18px;
  align-items: flex-start; /* top-align */
  width: 100%;
}

/* Left column: fixed width main select */
.application-root > .main-select[b-3zwqehf2d9] {
  flex: 0 0 320px;
  max-width: 320px;
}
.application-root label.form-label[b-3zwqehf2d9] {
    display: block;
    font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px 0;
    line-height: normal; /* avoid line-height conflicts */
}
/* /Components/Pages/ChildComponents/_ApplicationLog.razor.rz.scp.css */
/* Scoped styles for _UserProfileRole component to match Search filters */
.application-root[b-7wnsgojtth] {
  display: flex;
  gap: 18px;
  align-items: flex-start; /* top-align */
  width: 100%;
}

/* Left column: fixed width main select */
.application-root > .main-select[b-7wnsgojtth] {
  flex: 0 0 320px;
  max-width: 320px;
}
.application-root label.form-label[b-7wnsgojtth] {
    display: block;
    font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px 0;
    line-height: normal; /* avoid line-height conflicts */
}
/* /Components/Pages/ChildComponents/_UserProfileRole.razor.rz.scp.css */
.userrole-root[b-rgc65z4w15] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 18px;
    width: 100%;
}
.extra-item[b-rgc65z4w15] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.extra-item .form-control[b-rgc65z4w15],
.extra-item .form-select[b-rgc65z4w15],
.extra-item input[b-rgc65z4w15],
.extra-item select[b-rgc65z4w15] {
    width: 100%;
}

/* /Components/Pages/ChildComponents/_UserRoleMultiSelect.razor.rz.scp.css */
/* Scoped styles for _UserProfileRole component to match Search filters */
.userrole-root[b-v1lyirglwk] {
  display: flex;
  gap: 18px;
  align-items: flex-start; /* top-align */
  width: 100%;
}

/* Left column: fixed width main select */
.userrole-root > .main-select[b-v1lyirglwk] {
  flex: 0 0 320px;
  max-width: 320px;
}

/* Right column: extras wrap and each extra-item matches main select width */
.userrole-root > .extras[b-v1lyirglwk] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  flex: 1 1 0%;
}

/* Each extra field block */
.userrole-root > .extras > .extra-item[b-v1lyirglwk] {
  flex: 0 0 320px; /* same width as main select */
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

/* Label styling */
.userrole-root label.form-label[b-v1lyirglwk] {
  display: block;
  font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px 0;
  line-height: normal; /* avoid line-height conflicts */
}

/* Normalize select/control sizing to match main select */
.userrole-root .form-select[b-v1lyirglwk],
.userrole-root select[b-v1lyirglwk],
.userrole-root .form-control[b-v1lyirglwk] {
  width: 100%;
  box-sizing: border-box;
  padding: .375rem .75rem;
  font-size: .875rem;
  line-height: 1.5;
  min-height: calc(1.5em + .75rem);
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .userrole-root[b-v1lyirglwk] {
    display: block;
  }
  .userrole-root > .main-select[b-v1lyirglwk],
  .userrole-root > .extras[b-v1lyirglwk],
  .userrole-root > .extras > .extra-item[b-v1lyirglwk] {
    width: 100%;
    max-width: none;
  }
  .userrole-root > .extras[b-v1lyirglwk] {
    display: block;
  }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ===== Card ===== */
.modern-card[b-bfee5s33iz] {
    max-width: 420px;
    margin-top: 4rem;
    border: none;
    border-radius: 16px;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: all 0.25s ease;
}
.modern-card:hover[b-bfee5s33iz] {
    transform: translateY(-4px);
}

/* ===== Layout ===== */


.top-bottom-border[b-bfee5s33iz] {
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    padding: 20px 0;
}

.modern-card-body[b-bfee5s33iz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
}

/* ===== Title ===== */
.modern-title[b-bfee5s33iz] {
    font-weight: 600;
    margin: 0;
}

/* ===== Button ===== */
.modern-btn[b-bfee5s33iz] {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px; /* pill */
    background-color: var(--bs-primary);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modern-btn:hover[b-bfee5s33iz] {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.top-bottom-border[b-bfee5s33iz] {
    padding: 20px 0;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}
@media (prefers-color-scheme: light) {
    .top-bottom-border[b-bfee5s33iz] {
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
    }
}
/* /Components/Pages/LegacyRedirect.razor.rz.scp.css */
/* ===== Card ===== */
.modern-card[b-k7r39iqcp7] {
    max-width: 420px;
    margin-top: 4rem;
    border: none;
    border-radius: 16px;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: all 0.25s ease;
}
.modern-card:hover[b-k7r39iqcp7] {
    transform: translateY(-4px);
}

/* ===== Layout ===== */


.top-bottom-border[b-k7r39iqcp7] {
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    padding: 20px 0;
}

.modern-card-body[b-k7r39iqcp7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
}

/* ===== Title ===== */
.modern-title[b-k7r39iqcp7] {
    font-weight: 600;
    margin: 0;
}

/* ===== Button ===== */
.modern-btn[b-k7r39iqcp7] {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px; /* pill */
    background-color: var(--bs-primary);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modern-btn:hover[b-k7r39iqcp7] {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.top-bottom-border[b-k7r39iqcp7] {
    padding: 20px 0;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}
@media (prefers-color-scheme: light) {
    .top-bottom-border[b-k7r39iqcp7] {
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
    }
}
/* /Components/Pages/Users/Dashboard.razor.rz.scp.css */
.alert-link[b-srvrbqf0n0] {
    cursor: pointer;
    padding: 3px 10px;
    transition: all 0.2s ease-in-out;
}

.alert-link:hover[b-srvrbqf0n0] {
    background-color: #f8f9fa;
    transform: translateX(2px);
}

.alert-link:hover .fw-semibold[b-srvrbqf0n0] {
    color: #0d6efd;
    text-decoration: underline;
}
/* /Components/Pages/Users/Search.razor.rz.scp.css */
/* Make the app use DM Sans as brand font (global) */
:global(html)[b-hgzme8b9cw], :global(body)[b-hgzme8b9cw] {
  font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.role-container[b-hgzme8b9cw] {
    grid-column: span 3;
}
/* ===== Filter panel ===== */
.filters-panel[b-hgzme8b9cw] {
  border: 1px solid #e6e6e6;
  background: #f8f9fa;
  padding: 0;
}

.filters-panel .card-body[b-hgzme8b9cw] {
  padding: 16px;
}

/* Vertical label/control layout for filters */
.filters-panel .card-header[b-hgzme8b9cw] {
  background: transparent;
  border-bottom: 1px solid #d1d1d1;
  font-family: 'DM Sans', inherit;
  font-weight: 600;
  color: #0b5ed7;
}

/* 4-column grid for filters */
.filters-grid[b-hgzme8b9cw] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 18px;
  align-items: start;
}

/* Each filter item is a vertical stack: label above control */
.filter-item[b-hgzme8b9cw] {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
}

/* Labels: brand font, semi-bold */
.filters-panel .form-label[b-hgzme8b9cw],
.filters-panel label[b-hgzme8b9cw],
.filter-item label[b-hgzme8b9cw] {
  font-family: 'DM Sans', inherit;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Ensure form controls use the brand font and don't force column widths */
.filters-panel .form-control[b-hgzme8b9cw],
.filters-panel .form-select[b-hgzme8b9cw],
.filters-panel input[b-hgzme8b9cw] {
  font-family: 'DM Sans', inherit;
  min-width: 0; /* prevents overflowing and keeps columns consistent */
}


/* Brand primary button styling */
.btn-brand-primary[b-hgzme8b9cw] {
  background-color: var(--bs-primary, #0d6efd);
  border-color: var(--bs-primary, #0d6efd);
  color: #ffffff;
  font-family: 'DM Sans', inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Small normalization for filter inputs/selects inside the 4-col grid */
.filters-grid .filter-item .form-select[b-hgzme8b9cw],
.filters-grid .filter-item .form-control[b-hgzme8b9cw],
.filters-grid .filter-item select[b-hgzme8b9cw],
.filters-grid .filter-item input[b-hgzme8b9cw] {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* Responsive breakpoints – adjust as desired */
@media (max-width: 1200px) {
  .filters-grid[b-hgzme8b9cw] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .filters-grid[b-hgzme8b9cw] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .filters-grid[b-hgzme8b9cw] {
    grid-template-columns: 1fr;
  }
}

/* responsive: on small screens stack labels above controls */
@media (max-width: 768px) {
  .filters-list[b-hgzme8b9cw] {
    grid-template-columns: 1fr;
  }
  .filters-list label[b-hgzme8b9cw] {
    margin-top: 8px;
  }
  .filters-list .form-control[b-hgzme8b9cw],
  .filters-list .form-select[b-hgzme8b9cw] {
    margin-bottom: 6px;
  }
}

/* ===== User Profile Role panel ===== */
.user-role-panel[b-hgzme8b9cw] {
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  padding: 0;
}

.user-role-panel .card-body[b-hgzme8b9cw] {
  padding: 12px 16px;
}

/* Use flex for the two-column layout: left = main dropdown, right = extras */
.user-role-grid[b-hgzme8b9cw] {
  display: block; /* wrapper – component provides .userrole-root which will be flex */
}

/* Let the component wrapper be the flex container so its children align side-by-side */
.userrole-root[b-hgzme8b9cw] {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

/* Left column: fixed width main select */
.userrole-root > .main-select[b-hgzme8b9cw] {
  flex: 0 0 320px; /* fixed left column width */
  max-width: 320px;
}

/* Right column: extras expand to remaining space and stack vertically */
.userrole-root > .extras[b-hgzme8b9cw] {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ensure selects inside extras look consistent */
.userrole-root .extras .form-select[b-hgzme8b9cw],
.userrole-root .extras select[b-hgzme8b9cw] {
  width: 100%;
  box-sizing: border-box;
}

/* Mobile: stack the main select and extras vertically */
@media (max-width: 768px) {
  .userrole-root[b-hgzme8b9cw] {
    display: block;
  }
  .userrole-root > .main-select[b-hgzme8b9cw],
  .userrole-root > .extras[b-hgzme8b9cw] {
    width: 100%;
    max-width: none;
  }
}

/* ===== Scoped table header overrides ===== */
/* Target Grid header/filter rows (scoped via :global to reach runtime markup) */
:global(.content-main .table thead th)[b-hgzme8b9cw],
:global(.content-main .table.table thead th)[b-hgzme8b9cw],
:global(.content-main .bg-primary)[b-hgzme8b9cw],
:global(.content-main .HeaderRowCssClass)[b-hgzme8b9cw],
:global(.content-main .HeaderRowCssClass .bg-primary)[b-hgzme8b9cw] {
  background: var(--grey-250, #DDDDDD) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

/* Force table header background for runtime tables (strong, global selectors) */
:global(table.bb-table thead)[b-hgzme8b9cw],
:global(table.bb-table thead tr)[b-hgzme8b9cw],
:global(table.bb-table thead th)[b-hgzme8b9cw],
:global(.table-responsive table thead)[b-hgzme8b9cw],
:global(.table-responsive table thead tr)[b-hgzme8b9cw],
:global(.table-responsive table thead th)[b-hgzme8b9cw],
:global(.bb-table thead)[b-hgzme8b9cw],
:global(.bb-table thead th)[b-hgzme8b9cw] {
  background: var(--grey-250, #DDDDDD) !important;
  background-color: var(--grey-250, #DDDDDD) !important;
  background-image: none !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

/* Force the Bootstrap table background variable on the runtime table used by the Search page */
:global(.table.bb-table)[b-hgzme8b9cw],
:global(.table-responsive .bb-table)[b-hgzme8b9cw],
:global(.table-responsive .table)[b-hgzme8b9cw] {
  --bs-table-bg: var(--grey-250, #DDDDDD) !important;
  --bs-table-striped-bg: var(--grey-250, #DDDDDD) !important;
  --bs-table-hover-bg: var(--grey-250, #DDDDDD) !important;
}

/* Rounded card wrapper for the Search table (6px corners) - scoped to grid-content where the Grid renders */
:global(.grid-content .table-responsive)[b-hgzme8b9cw] {
  background: var(--brand-white);
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  overflow: hidden; /* clip internal backgrounds so corners are clean */
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  margin-top: 0.5rem;
}

/* Ensure the table doesn't collapse the corners and fills the wrapper */
:global(.grid-content .table-responsive table)[b-hgzme8b9cw] {
  margin: 0;
  width: 100%;
  border-collapse: separate; /* preserves rounded corners */
  border-spacing: 0;
  background: transparent;
}

/* Round the top header corners so the grey header visually follows the wrapper.
   Use the actual table classes rendered at runtime (bb-table + table) to be robust. */
:global(.grid-content .table-responsive table.bb-table thead th:first-child)[b-hgzme8b9cw],
:global(.grid-content .table-responsive table thead th:first-child)[b-hgzme8b9cw] {
  border-top-left-radius: 6px;
}

:global(.grid-content .table-responsive table.bb-table thead th:last-child)[b-hgzme8b9cw],
:global(.grid-content .table-responsive table thead th:last-child)[b-hgzme8b9cw] {
  border-top-right-radius: 6px;
}

/* Optional: soften the bottom corners when the last row is present */
:global(.grid-content .table-responsive table tbody tr:last-child td:first-child)[b-hgzme8b9cw],
:global(.grid-content .table-responsive table tbody td:first-child:last-child)[b-hgzme8b9cw] {
  border-bottom-left-radius: 6px;
}
:global(.grid-content .table-responsive table tbody tr:last-child td:last-child)[b-hgzme8b9cw] {
  border-bottom-right-radius: 6px;
}

/* Rounded 6px card look for the runtime Grid table (targets table directly + wrapper if present) */
:global(.grid-content > table)[b-hgzme8b9cw],
:global(.grid-content table.table)[b-hgzme8b9cw],
:global(.grid-content table.bb-table)[b-hgzme8b9cw],
:global(.grid-content .table-responsive > table)[b-hgzme8b9cw] {
  background: var(--brand-white) !important;
  border: 1px solid var(--grey-200) !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04) !important;

  /* ensure header corner radius is visible */
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Keep header grey and round its top corners */
:global(.grid-content table thead th:first-child)[b-hgzme8b9cw],
:global(.grid-content table.bb-table thead th:first-child)[b-hgzme8b9cw] {
  border-top-left-radius: 6px !important;
}
:global(.grid-content table thead th:last-child)[b-hgzme8b9cw],
:global(.grid-content table.bb-table thead th:last-child)[b-hgzme8b9cw] {
  border-top-right-radius: 6px !important;
}

/* Round bottom corners on the last row cells when present */
:global(.grid-content table tbody tr:last-child td:first-child)[b-hgzme8b9cw],
:global(.grid-content table.bb-table tbody tr:last-child td:first-child)[b-hgzme8b9cw] {
  border-bottom-left-radius: 6px !important;
}
:global(.grid-content table tbody tr:last-child td:last-child)[b-hgzme8b9cw],
:global(.grid-content table.bb-table tbody tr:last-child td:last-child)[b-hgzme8b9cw] {
  border-bottom-right-radius: 6px !important;
}

/* Force 6px rounded card on the runtime table and ensure thead corners show */
:global(.grid-content table.bb-table)[b-hgzme8b9cw],
:global(.grid-content table.table)[b-hgzme8b9cw] {
  background: var(--brand-white) !important;
  border: 1px solid var(--grey-200) !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04) !important;

  /* allow corner radii to render on cells */
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Round the top header corners and prevent background bleed */
:global(.grid-content table.bb-table thead th:first-child)[b-hgzme8b9cw],
:global(.grid-content table.table thead th:first-child)[b-hgzme8b9cw] {
  border-top-left-radius: 6px !important;
  background-clip: padding-box !important;
}

:global(.grid-content table.bb-table thead th:last-child)[b-hgzme8b9cw],
:global(.grid-content table.table thead th:last-child)[b-hgzme8b9cw] {
  border-top-right-radius: 6px !important;
  background-clip: padding-box !important;
}

/* Round bottom corners when the table has rows */
:global(.grid-content table.bb-table tbody tr:last-child td:first-child)[b-hgzme8b9cw],
:global(.grid-content table.table tbody tr:last-child td:first-child)[b-hgzme8b9cw] {
  border-bottom-left-radius: 6px !important;
  background-clip: padding-box !important;
}
:global(.grid-content table.bb-table tbody tr:last-child td:last-child)[b-hgzme8b9cw],
:global(.grid-content table.table tbody tr:last-child td:last-child)[b-hgzme8b9cw] {
  border-bottom-right-radius: 6px !important;
  background-clip: padding-box !important;
}

/* ===== Actions column: icons side by side ===== */
[b-hgzme8b9cw] .search-grid td .btn-icon {
  display: inline-flex;
  padding: 0.2rem 0.1rem;
}
/* /Components/Pages/Users/TrainingVideo.razor.rz.scp.css */
/* Component-level typography and colors (DM Sans) */
.training-root[b-ejcoihl90q] {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--brand-navy); /* body color */
    font-size: 18px; /* body font = 18 */
    padding: 1.5rem;
    width: 100%;
    max-width: none;
}

.page-title[b-ejcoihl90q] {
    margin: 0 0 0.5rem 0;
    font-size: 30px; /* title 30px */
    font-weight: 400; /* DM Sans Regular */
    color: var(--brand-navy);
}

.lead[b-ejcoihl90q] {
    margin: 0 0 1rem 0;
    color: var(--brand-navy);
    /* allow lead copy to extend full width of the container */
    max-width: none;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
}

.tabs-row[b-ejcoihl90q] {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem 0;
    flex-wrap: wrap;
}

.tab-item[b-ejcoihl90q] {
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #424242; /* not selected tab color */
    font-weight: 400; /* DM Sans Regular */
    font-size: 14px; /* 14 */
    position: relative; /* enable pseudo-element indicator */
    /* reserve space for the indicator so layout doesn't jump */
    padding-bottom: calc(0.5rem + 8px); /* more room for 3px indicator and rounded caps */
}

/* base indicator (hidden by default) */
.tab-item[b-ejcoihl90q]::after {
    content: "";
    position: absolute;
    left: 8px;           /* inset so the indicator has rounded ends visually */
    right: 8px;
    bottom: 6px;         /* sits just below the label, tune if necessary */
    height: 3px;         /* indicator thickness = 3px */
    background: transparent;
    border-radius: 999px;  /* fully rounded ends */
    transition: background 180ms ease, transform 180ms ease;
    display: block;
}

/* active tab: show brand-colored rounded 3px indicator and semibold text */
.tab-active[b-ejcoihl90q] {
    color: var(--brand-navy); /* selected tab color */
    font-weight: 600; /* DM Sans SemiBold */
    font-size: 14px;
}

/* active pseudo-element */
.tab-active[b-ejcoihl90q]::after {
    background: var(--brand-primary); /* #0070BA from :root */
    transform: translateY(0);
}

/* Slider wrapper and controls */
.slider-wrapper[b-ejcoihl90q] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* Use a CSS variable for gap and responsive widths so the slider shows ~4 across on wide screens */
.video-slider[b-ejcoihl90q] {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem;
    width: 100%;
    align-items: stretch;
    --card-gap: 1rem;
}

/* Card */
.video-card[b-ejcoihl90q] {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(25,25,25,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 0 0 calc(100% - var(--card-gap));
}

/* Top bar with category color - uses header-brand-* classes from app.css */
.card-top[b-ejcoihl90q] {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    color: var(--brand-white);
    position: relative; /* contain absolute hero image */
    overflow: hidden;   /* mask the oversized image to header bounds */
}

/* left side of header: icon + category title */
.card-top-left[b-ejcoihl90q] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1; /* keep content above the hero image */
}

.card-category[b-ejcoihl90q] {
    font-size: 14px; /* DM Sans Bold 14 #fff */
    font-weight: 700; /* Bold */
    color: var(--brand-white);
    line-height: 1;
}

/* icon */
.card-icon[b-ejcoihl90q] {
    display: none; /* small icon intentionally hidden � hero image is used instead */
}

/* play button: simple white play glyph */
.play-btn[b-ejcoihl90q] {
    background: transparent;
    border: none;
    color: var(--brand-white);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.play-btn:hover[b-ejcoihl90q],
.play-btn:focus-visible[b-ejcoihl90q] {
    text-decoration: none;
}

.play-btn:disabled[b-ejcoihl90q] {
    cursor: not-allowed;
    opacity: 0.55;
}

.training-video-modal-iframe[b-ejcoihl90q] {
    width: 100%;
    height: 100%;
    max-height: min(100vh, 800px);
    border: 0;
    display: block;
    
}
/* Oversized hero image placed behind header content and clipped by .card-top */
.card-hero[b-ejcoihl90q] {
    position: absolute;
    top: -20%;            /* tune the visible vertical crop */
    left: -10%;           /* tune the visible horizontal crop */
    width: 140%;          /* oversize so it can be panned/scaled */
    height: 160%;
    object-fit: cover;    /* keep image aspect and cover area */
    pointer-events: none; /* do not interfere with interactions */
    opacity: 1;           /* adjust to taste; set < 1 for a subtle effect */
    transform-origin: center;
    z-index: 0;
    will-change: transform;
}

.card-body[b-ejcoihl90q] {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
}

.card-title[b-ejcoihl90q] {
    margin: 0;
    font-size: 16px; /* DM Sans SemiBold 16 #001625 */
    font-weight: 600;
    color: var(--brand-navy);
}

.card-desc[b-ejcoihl90q] {
    margin: 0;
    color: var(--brand-navy); /* body color */
    font-size: 14px; /* DM Sans Regular 14 */
    line-height: 1.25;
    font-weight: 400;
}

.card-meta[b-ejcoihl90q] {
    margin-top: auto;
    font-size: 12px;
    color: #424242;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.card-meta-duration[b-ejcoihl90q] {
    margin-left: auto;
    flex-shrink: 0;
}

.card-edit-btn[b-ejcoihl90q] {
    flex-shrink: 0;
}
/* Nav buttons */
.nav-btn[b-ejcoihl90q] {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.nav-btn.left[b-ejcoihl90q] { margin-right: 0.25rem; }
.nav-btn.right[b-ejcoihl90q] { margin-left: 0.25rem; }

/* Responsive widths: target ~4, 3, 2 columns */
@media (min-width: 1200px) {
    .video-card[b-ejcoihl90q] { flex: 0 0 calc((100% - 3 * var(--card-gap)) / 4); min-width: 220px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .video-card[b-ejcoihl90q] { flex: 0 0 calc((100% - 2 * var(--card-gap)) / 3); min-width: 220px; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .video-card[b-ejcoihl90q] { flex: 0 0 calc((100% - 1 * var(--card-gap)) / 2); min-width: 220px; }
}
@media (max-width: 599px) {
    .video-card[b-ejcoihl90q] { flex: 0 0 calc(100% - var(--card-gap)); min-width: 200px; }
}
/* /Components/Shared/TileCard.razor.rz.scp.css */
/* Tile layout / local styles only � brand color classes live in app.css */
.tile-card[b-7cr2qjkjne] {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.tile-header[b-7cr2qjkjne] {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.list-group-item[b-7cr2qjkjne] {
  border: none;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.tile-card .list-group-item + .list-group-item[b-7cr2qjkjne] {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* Make the anchor fill the list row and provide hover/focus feedback */
.tile-card .list-group-item.p-0 a[b-7cr2qjkjne] {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: inherit; /* preserve text color */
  transition: background-color 120ms ease;
}

/* Hover and keyboard focus state */
.tile-card .list-group-item.p-0 a:hover[b-7cr2qjkjne],
.tile-card .list-group-item.p-0 a:focus[b-7cr2qjkjne] {
    background-color: rgba(0, 0, 0, 0.15); 
    text-decoration: none;
}
/* Accessible focus outline (uses token from app.css) */
.tile-card .list-group-item.p-0 a:focus[b-7cr2qjkjne] {
  outline: 2px solid var(--focus-outline, rgba(11,102,195,0.18));
  outline-offset: 2px;
}
/* /Components/Shared/TileGrid.razor.rz.scp.css */
/* TileGrid: keep tiles side-by-side until <1020px */
.tile-grid[b-xatkvizr5v] {
  display: grid;
  gap: 1rem; /* matches the row g-3 spacing */
  grid-template-columns: 1fr; /* mobile default: 1 column */
}

/* medium: 2 columns at >= 768 (keeps better layout on tablets) */
@media (min-width: 768px) {
  .tile-grid[b-xatkvizr5v] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop: 3 columns at >= 1020px � tiles will NOT stack until viewport < 1020px */
@media (min-width: 1020px) {
  .tile-grid[b-xatkvizr5v] {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ensure bootstrap column children behave as grid items */
.tile-grid > [class*="col-"][b-xatkvizr5v] {
  display: contents; /* let inner .col content flow into grid cell */
}
