/* /Components/AuthLinkDiv.razor.rz.scp.css */
{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Center avatar + name inside the trigger */
.auth-trigger[b-1aimzj4iy7] {
  display: inline-flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  gap: 0.5rem;
  min-width: 0;
}

/* Keep name centered and truncated if too long */
.auth-trigger .name[b-1aimzj4iy7] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem; /* adjust as needed */
}

/* Panel */
.auth-details-panel[b-1aimzj4iy7] {
  position: fixed;                 /* use viewport coordinates */
  right: 1rem;
  top: calc(var(--appbar-height, 64px) + 8px); /* leave space below appbar */
  min-width: 280px;
  max-width: min(360px, calc(100vw - 2rem));
  background: var(--mud-palette-surface, #fff);
  color: var(--mud-palette-text-primary, #222);
  border-radius: 8px;
  overflow: hidden;
  z-index: 2000;                   /* above appbar */
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  transform-origin: top right;
  animation: authPanelIn .14s ease-out;
}

/* Optional: center avatar + title inside panel header for a consistent look */
.auth-panel-header[b-1aimzj4iy7] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #fff;

  /* Darker on the left/middle, but the rightmost color is lightened compared to the original
     (keeps a simple left-to-right wash; adjust opacities if you want stronger or subtler) */
  background: linear-gradient(90deg,
                              rgba(30,144,255,0.95) 0%,   /* left - strong blue */
                              rgba(106,17,203,0.92) 55%,   /* middle - strong purple */
                              rgba(255,122,122,0.20) 100%  /* right - lightened coral */
  );
}

.auth-panel-body[b-1aimzj4iy7] {
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary, #222);
    padding: 0.75rem;
}

.auth-panel-avatar[b-1aimzj4iy7] {
    flex: 0 0 auto;
}

.auth-panel-meta[b-1aimzj4iy7] {
    flex: 1 1 auto;
    min-width: 0;
}

    .auth-panel-meta .title[b-1aimzj4iy7] {
        font-weight: 600;
        font-size: 0.95rem;
        line-height: 1;
    }

    .auth-panel-meta .subtitle[b-1aimzj4iy7] {
        font-size: 0.8rem;
        opacity: 0.9;
    }

.auth-panel-actions[b-1aimzj4iy7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* small close button */
.auth-details-panel .close-btn[b-1aimzj4iy7] {
    position: absolute;
    right: 8px;
    top: 8px;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 600px) {
    .auth-trigger .name[b-1aimzj4iy7] {
        max-width: 6.5rem;
    }

    .auth-panel-actions[b-1aimzj4iy7] {
        grid-template-columns: 1fr;
    }
}

/* /Components/PageHeader.razor.rz.scp.css */
.page-header[b-upojx9ql3w] {
    background: transparent;
    border-radius: 6px;
    /* remove any default top/bottom spacing so host page controls spacing */
    margin: 0;
    padding: 0.5rem 0.50rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.header-inner[b-upojx9ql3w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.header-left[b-upojx9ql3w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.header-icon[b-upojx9ql3w] {
    color: #1b6ec2;
    opacity: 0.95;
}

.header-texts[b-upojx9ql3w] {
    min-width: 0;
}

.title[b-upojx9ql3w] {
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle[b-upojx9ql3w] {
    color: #6b7280;
    margin-top: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
}

.header-right[b-upojx9ql3w] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

/* Responsive: stack on narrow screens */
@media (max-width: 600px) {
    .header-inner[b-upojx9ql3w] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .header-right[b-upojx9ql3w] {
        width: 100%;
        justify-content: flex-start;
    }
}
/* /Components/VersionCheckerV2.razor.rz.scp.css */
.floating-update-button[b-ts80txgxhm] {
    position: relative;
    top: 0;
    padding: 1rem 1.5rem;
    width: 100%;
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Stronger rule targeting MudDrawer inner paper to ensure styles are applied.
   Uses higher specificity and !important to override MudBlazor defaults if necessary. */
.nav-drawer .mud-drawer-paper[b-ka1zfcdd3n],
.mud-drawer.nav-drawer .mud-drawer-paper[b-ka1zfcdd3n] {
    /* solid base for contrast */
    background-color: #0b3d91 !important;
    /* darker bluish gradient */
    background-image: linear-gradient( 180deg, rgba(11,61,145,1) 0%, rgba(15,71,184,0.98) 45%, rgba(42,108,255,0.94) 100% ) !important;
    color: #ffffff !important; /* ensure text contrast */
    width: 260px;
    border-right: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
}

/* Dark-mode tweak: target paper as well */
@media (prefers-color-scheme: dark) {
    .nav-drawer .mud-drawer-paper[b-ka1zfcdd3n],
    .mud-drawer.nav-drawer .mud-drawer-paper[b-ka1zfcdd3n] {
        background-color: #082545 !important;
        background-image: linear-gradient( 180deg, rgba(12,58,122,0.96) 0%, rgba(18,85,195,0.80) 45%, rgba(30,120,255,0.60) 100% ) !important;
        border-right: 1px solid rgba(255,255,255,0.04) !important;
        color: var(--mud-palette-text-primary, #e6eefc) !important;
    }
}

/* Header / brand - ensure contrast on the paper */
.nav-drawer .mud-drawer-header[b-ka1zfcdd3n],
.mud-drawer.nav-drawer .mud-drawer-header[b-ka1zfcdd3n] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
}

.nav-brand .title[b-ka1zfcdd3n] {
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-size: 1.05rem;
}

.nav-brand .subtitle[b-ka1zfcdd3n] {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    margin-top: 2px;
}

/* Ensure header items are vertically centered with the avatar */
.nav-drawer-header[b-ka1zfcdd3n] {
  display: flex;
  align-items: center; /* vertical center */
  gap: 12px;
  padding: 12px 16px; /* preserve header spacing */
}

/* keep avatar sizing consistent and prevent stretching */
.nav-drawer-header .mud-avatar[b-ka1zfcdd3n] {
  flex: 0 0 auto;
}

/* tighten the brand text so it centers visually with the avatar */
.brand-title[b-ka1zfcdd3n] {
  margin: 0;
  line-height: 1; /* ensures vertical centering for the text */
  font-weight: 700;
  white-space: nowrap;
}

/* Add these rules to pierce CSS isolation and target MudBlazor internal classes */

.nav-drawer[b-ka1zfcdd3n] (.mud-nav-menu) {
  padding-top: 6px;
  padding-bottom: 12px;
}

/* Nav links */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-link) {
  border-radius: 8px;
  margin: 6px 10px;
  padding: 8px 12px;
  transition: background-color .12s ease, transform .06s ease;
  color: rgba(255,255,255,0.95) !important;
  background: transparent !important;
}

/* Hover */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-link:hover) {
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
  transform: translateY(-1px);
}

/* Active link */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-link.mud-nav-link-active) {
  background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)) !important;
  box-shadow: 0 6px 18px rgba(2,6,23,0.12) !important;
}

/* Nav group header */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-group .mud-nav-group-header) {
  padding: 10px 12px;
  color: rgba(255,255,255,0.9) !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .nav-drawer .mud-drawer-paper[b-ka1zfcdd3n],
    .mud-drawer.nav-drawer .mud-drawer-paper[b-ka1zfcdd3n] {
        width: 220px;
    }

    .nav-drawer .mud-nav-link[b-ka1zfcdd3n] {
        margin: 6px 8px;
    }

    .nav-brand .title[b-ka1zfcdd3n] {
        font-size: 1rem;
    }
}

/* Make the NavMenu "body" (drawer paper + nav menu area) use a bluish gradient.
   Use ::deep() so scoped CSS reaches MudBlazor-generated elements. */

.nav-drawer[b-ka1zfcdd3n] (.mud-drawer-paper),
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-menu) {
  /* dark -> lighter blue vertical gradient */
  background-image: linear-gradient(
    180deg,
    rgba(6,40,100,1) 0%,
    rgba(13,61,145,0.95) 30%,
    rgba(34,90,210,0.88) 70%,
    rgba(58,120,255,0.80) 100%
  ) !important;

  /* ensure the base color matches (in case some elements use background-color) */
  background-color: rgba(6,40,100,1) !important;
  color: #ffffff !important;
}

/* Ensure link containers inherit the background and keep good contrast */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-menu),
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-menu .mud-nav-link) {
  background: transparent !important;
  color: rgba(255,255,255,0.95) !important;
}

/* Slightly soften group headers so they remain readable */
.nav-drawer[b-ka1zfcdd3n] (.mud-nav-group .mud-nav-group-header) {
  background: rgba(255,255,255,0.03) !important;
  color: rgba(255,255,255,0.92) !important;
}
/* /Pages/Authentication/ChangePassword.razor.rz.scp.css */
.login-page[b-ljmo137h0a] {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.login-card[b-ljmo137h0a] {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20,20,40,0.08);
    overflow: hidden;
}

.login-brand[b-ljmo137h0a] {
    background: linear-gradient(90deg,#0d6efd,#6610f2);
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.login-brand h1[b-ljmo137h0a] {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.login-body[b-ljmo137h0a] {
    padding: 1.5rem;
    background: #fff;
}

.field-icon[b-ljmo137h0a] {
    width: 20px;
    height: 20px;
    opacity: .7;
}

.password-toggle[b-ljmo137h0a] {
    background: transparent;
    border: none;
    padding: 0;
}
/* /Pages/Authentication/ForgotPassword.razor.rz.scp.css */
.forgot-page[b-ry5khb8gfp] {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.login-card[b-ry5khb8gfp] {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20,20,40,0.08);
    overflow: hidden;
}

.login-brand[b-ry5khb8gfp] {
    background: linear-gradient(90deg,#0d6efd,#6610f2);
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

    .login-brand h1[b-ry5khb8gfp] {
        margin: 0;
        font-size: 1.25rem;
        letter-spacing: 0.4px;
        font-weight: 600;
    }

.login-body[b-ry5khb8gfp] {
    padding: 1.5rem;
    background: #fff;
}

.field-icon[b-ry5khb8gfp] {
    width: 20px;
    height: 20px;
    opacity: .7;
}

.password-toggle[b-ry5khb8gfp] {
    background: transparent;
    border: none;
    padding: 0;
}
/* /Pages/Authentication/Login.razor.rz.scp.css */
.login-page[b-dm7x0aj81r] {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.login-card[b-dm7x0aj81r] {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20,20,40,0.08);
    overflow: hidden;
}

.login-brand[b-dm7x0aj81r] {
    background: linear-gradient(90deg,#0d6efd,#6610f2);
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

    .login-brand h1[b-dm7x0aj81r] {
        margin: 0;
        font-size: 1.25rem;
        letter-spacing: 0.4px;
        font-weight: 600;
    }

.login-body[b-dm7x0aj81r] {
    padding: 1.5rem;
    background: #fff;
}

.field-icon[b-dm7x0aj81r] {
    width: 20px;
    height: 20px;
    opacity: .7;
}

.password-toggle[b-dm7x0aj81r] {
    background: transparent;
    border: none;
    padding: 0;
}

/* /Pages/Authentication/ResetPassword.razor.rz.scp.css */
.login-page[b-32ne4h7pez] {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.login-card[b-32ne4h7pez] {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20,20,40,0.08);
    overflow: hidden;
}

.login-brand[b-32ne4h7pez] {
    background: linear-gradient(90deg,#0d6efd,#6610f2);
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.login-brand h1[b-32ne4h7pez] {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.login-body[b-32ne4h7pez] {
    padding: 1.5rem;
    background: #fff;
}

.field-icon[b-32ne4h7pez] {
    width: 20px;
    height: 20px;
    opacity: .7;
}

.password-toggle[b-32ne4h7pez] {
    background: transparent;
    border: none;
    padding: 0;
}
/* /Pages/InviceModule/InvoiceApproverReview.razor.rz.scp.css */
/* Short input width for larger screens, full-width on mobile */
.short-field[b-58biad44f4] {
    max-width: 220px;
    width: 100%;
    display: inline-block;
}

@media (max-width: 599px) {
    .short-field[b-58biad44f4] {
        max-width: 100%;
    }
}

/* Actions: right-aligned on wide screens, centered on small screens */
.actions[b-58biad44f4] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .actions[b-58biad44f4] {
        justify-content: center;
    }
}

/* Small vertical spacing for stacked items on mobile */
.field-block[b-58biad44f4] {
    margin-bottom: 0.5rem;
}
/* /Pages/InviceModule/InvoiceAPReview.razor.rz.scp.css */
/* Short input width for larger screens, full-width on mobile */
.short-field[b-3l03dosu3c] {
    max-width: 220px;
    width: 100%;
    display: inline-block;
}

@media (max-width: 599px) {
    .short-field[b-3l03dosu3c] {
        max-width: 100%;
    }
}

/* Actions: right-aligned on wide screens, centered on small screens */
.actions[b-3l03dosu3c] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .actions[b-3l03dosu3c] {
        justify-content: center;
    }
}

/* Small vertical spacing for stacked items on mobile */
.field-block[b-3l03dosu3c] {
    margin-bottom: 0.5rem;
}
/* /Pages/InviceModule/InvoiceCheckerReview.razor.rz.scp.css */
/* Short input width for larger screens, full-width on mobile */
.short-field[b-cbzvbl1spv] {
    max-width: 220px;
    width: 100%;
    display: inline-block;
}

@media (max-width: 599px) {
    .short-field[b-cbzvbl1spv] {
        max-width: 100%;
    }
}

/* Actions: right-aligned on wide screens, centered on small screens */
.actions[b-cbzvbl1spv] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .actions[b-cbzvbl1spv] {
        justify-content: center;
    }
}

/* Small vertical spacing for stacked items on mobile */
.field-block[b-cbzvbl1spv] {
    margin-bottom: 0.5rem;
}
/* /Pages/InviceModule/InvoiceInitiatorReview.razor.rz.scp.css */
/* Short input width for larger screens, full-width on mobile */
.short-field[b-7et307ldai] {
    max-width: 220px;
    width: 100%;
    display: inline-block;
}

@media (max-width: 599px) {
    .short-field[b-7et307ldai] {
        max-width: 100%;
    }
}

/* Actions: right-aligned on wide screens, centered on small screens */
.actions[b-7et307ldai] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .actions[b-7et307ldai] {
        justify-content: center;
    }
}

/* Small vertical spacing for stacked items on mobile */
.field-block[b-7et307ldai] {
    margin-bottom: 0.5rem;
}
/* /Pages/InviceModule/InvoiceValidatorReview.razor.rz.scp.css */
/* Short input width for larger screens, full-width on mobile */
.short-field[b-aj45e4xr27] {
    max-width: 220px;
    width: 100%;
    display: inline-block;
}

@media (max-width: 599px) {
    .short-field[b-aj45e4xr27] {
        max-width: 100%;
    }
}

/* Actions: right-aligned on wide screens, centered on small screens */
.actions[b-aj45e4xr27] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .actions[b-aj45e4xr27] {
        justify-content: center;
    }
}

/* Small vertical spacing for stacked items on mobile */
.field-block[b-aj45e4xr27] {
    margin-bottom: 0.5rem;
}
/* /Pages/InviceModule/InvoiceView.razor.rz.scp.css */
/* Hide stepper prev/next buttons if ShowButtons not available */
.mud-stepper .mud-stepper-nav[b-abd17t6abd],
.mud-stepper .mud-stepper-actions[b-abd17t6abd],
.mud-stepper .mud-stepper-footer[b-abd17t6abd] {
  display: none !important;
}
/* /Pages/InviceModule/InvStatusComponent.razor.rz.scp.css */
namespace OceanVMSClient.Pages.InviceModule[b-fytvqu9ldo]
{
    public class InvStatusComponent
    {
    }
}
/* /Pages/InviceModule/NewInvoice.razor.rz.scp.css */
/* Local spacing tweaks to make the layout more compact and sleek */

/* reduce padding of main paper */
.newinvoice .pa-3[b-nso4ob5kp7] {
    padding: 12px; /* smaller than MudBlazor pa-3 default */
}

/* reduce inner paper padding */
.newinvoice .pa-2[b-nso4ob5kp7] {
    padding: 8px;
}

/* tighten item gutters (covers both possible Mud classes) */
.newinvoice .mud-grid > .mud-item[b-nso4ob5kp7],
.newinvoice .mud-grid > .mud-grid-item[b-nso4ob5kp7],
.newinvoice .mud-grid-item[b-nso4ob5kp7] {
    padding-bottom: 6px;
    padding-top: 6px;
}

/* reduce bottom margin for headings and small text helpers */
.newinvoice .mb-1[b-nso4ob5kp7] {
    margin-bottom: 6px !important;
}

.newinvoice .mb-2[b-nso4ob5kp7] {
    margin-bottom: 8px !important;
}

/* reduce card padding inside right column */
.newinvoice .mud-card.pa-2[b-nso4ob5kp7] {
    padding: 8px;
}

/* reduce vertical spacing inside form controls */
.newinvoice .mud-input-root[b-nso4ob5kp7],
.newinvoice .mud-form-field[b-nso4ob5kp7] {
    margin-bottom: 6px;
}

/* small responsive tweak to keep density on small screens */
@media (max-width: 600px) {
    .newinvoice .mud-grid > .mud-item[b-nso4ob5kp7],
    .newinvoice .mud-grid-item[b-nso4ob5kp7] {
        padding-bottom: 4px;
        padding-top: 4px;
    }
}
/* /Pages/POModule/InvoiceList.razor.rz.scp.css */
/* Polished InvoiceList styles � focused on ChildRowContent layout, spacing and action buttons */

/* --- Variables --- */
:root[b-9so0er190n]{
  --iv-bg: #ffffff;
  --iv-surface: #fbfdff;
  --iv-muted: #6b7280;
  --iv-accent: #1b6ec2;
  --iv-shadow: rgba(16,24,40,0.06);
  --iv-radius: 8px;
  --iv-gap: 10px;
}

/* --- Base invoice card / table --- */
.invoice-paper[b-9so0er190n] {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,250,252,0.98));
  border-radius: 10px;
  box-shadow: 0 6px 18px var(--iv-shadow);
  padding: 1rem;
}

/* --- App bar / title alignment fixes --- */
/* Ensure the avatar and title text sit on the same baseline and center vertically */
.po-appbar .title[b-9so0er190n] {
  display: flex;
  align-items: center;         /* vertical center alignment */
  gap: 12px;                   /* space between avatar and text */
  min-height: 48px;
}

/* Keep the text column vertically centered regardless of MudText margins */
.po-appbar .title > div[b-9so0er190n] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Child row container --- */
.child-row-paper[b-9so0er190n] {
  background: linear-gradient(180deg, var(--iv-bg), var(--iv-surface));
  border-radius: calc(var(--iv-radius) - 2px);
  padding: 10px;
  border: 1px solid rgba(15,23,42,0.03);
  box-shadow: 0 1px 4px rgba(16,24,40,0.03);
  margin: 0.25rem 0;
}

/* Keep internal MudGrid gutters tighter */
.child-row-paper :where(.mud-grid, .mud-item)[b-9so0er190n] {
  gap: 6px;
}

/* --- Left small info cards (Project / PO / Remarks) --- */
.small-card[b-9so0er190n] {
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--iv-surface));
  box-shadow: 0 1px 3px rgba(16,24,40,0.04);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.small-card .label[b-9so0er190n] {
  font-size: 0.75rem;
  color: var(--iv-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.small-card .value[b-9so0er190n] {
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.small-card .subtext[b-9so0er190n] {
  font-size: 0.82rem;
  color: var(--iv-muted);
}

/* Make small cards equal height so top row lines up */
.card-equal[b-9so0er190n] { min-height: 72px; }

/* --- KPI cards row (second row) --- */
.kpi-cards[b-9so0er190n] {
  display: flex;
  gap: 10px;
  align-items: center;
  /* Allow wrapping to avoid horizontal scrollbar */
  flex-wrap: wrap;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.kpi-card.compact[b-9so0er190n] {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg,#fff,#fbfdff);
  box-shadow: 0 1px 4px rgba(16,24,40,0.04);
  min-width: 140px;
  box-sizing: border-box;
  flex: 0 1 auto;
  height: 100%;
}

.kpi-card.compact .kpi-left[b-9so0er190n] {
  min-width: 36px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.kpi-card.compact .kpi-body .label[b-9so0er190n] {
  font-size: 0.78rem;
  color: var(--iv-muted);
}

.kpi-card.compact .kpi-body .value[b-9so0er190n] {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

/* Ensure KPI scrollbar is subtle (if any) */
.kpi-cards[b-9so0er190n]::-webkit-scrollbar { height: 6px; }
.kpi-cards[b-9so0er190n]::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 6px; }

/* --- Actions group (right side of second row) --- */
.action-wrapper[b-9so0er190n] {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 160px;
}

/* Button baseline for child-row actions */
.invoice-action-btn[b-9so0er190n] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border-radius: 6px;
  text-transform: none;
  transition: transform .08s ease, box-shadow .12s ease;
  box-sizing: border-box;
}

/* Primary Download button has stronger visual weight */
.invoice-action-btn.download[b-9so0er190n] {
  background: var(--iv-accent);
  color: #fff;
  border: none;
}

.invoice-action-btn.download:hover[b-9so0er190n] { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(27,110,194,0.12); }

/* Secondary Open button */
.invoice-action-btn.open[b-9so0er190n] {
  background: transparent;
  border: 1px solid rgba(15,23,42,0.06);
  color: #0f172a;
}

/* Full width variant for stacking on small screens */
.invoice-action-btn.full-width[b-9so0er190n] { width: 100%; justify-content: center; }

/* Fixed width for both buttons so they match visually (same width) */
.fixed-width[b-9so0er190n] {
  min-width: 140px;
  max-width: 140px;
  width: 140px;
  box-sizing: border-box;
}

/* Disabled state */
.invoice-action-btn[disabled][b-9so0er190n] { opacity: 0.6; pointer-events: none; transform: none; box-shadow: none; }

/* --- Child-row actions: vertical alignment helper --- */
/* Add a modifier class to stack buttons vertically while keeping right alignment */
.child-row-actions-right[b-9so0er190n] {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

/* When `vertical` modifier is present, stack the buttons vertically and keep same width */
.child-row-actions-right.vertical[b-9so0er190n] {
  flex-direction: column;
  align-items: flex-end; /* keep the right edge aligned with the row */
  gap: 8px;
}

/* Ensure buttons keep their fixed width when stacked */
.child-row-actions-right.vertical .invoice-action-btn.fixed-width[b-9so0er190n] {
  width: 140px;
}

/* Ensure MudButton content centers and doesn't stretch layout */
.child-row-paper .invoice-action-btn[b-9so0er190n] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Responsive behavior --- */
@media (max-width: 960px) {
  .kpi-card.compact[b-9so0er190n] { min-width: 120px; padding: 6px 8px; }
  .action-wrapper[b-9so0er190n] { min-width: 120px; justify-content: flex-end; }
  .small-card .value[b-9so0er190n] { white-space: normal; } /* allow wrapping on narrow screens */
}

@media (max-width: 720px) {
  /* Stack KPI and actions vertically for narrow screens */
  .child-row-bottom[b-9so0er190n] {
    flex-direction: column;
    align-items: stretch;
  }

  .child-row-bottom .left[b-9so0er190n] { order: 1; }
  .child-row-bottom .right[b-9so0er190n] { order: 2; display: flex; }

  .action-wrapper[b-9so0er190n] { justify-content: center; }

  /* Make buttons full width when stacked on very small screens */
  .invoice-action-btn.full-width[b-9so0er190n] { width: 100%; }
  .invoice-action-btn[b-9so0er190n] { min-width: 0; flex: 1 1 auto; }
}

/* --- Minor table / header refinements kept for consistency --- */
:deep(.po-table thead th)[b-9so0er190n],
:deep(.mud-table thead th)[b-9so0er190n] {
  background: linear-gradient(90deg, rgba(100,149,237,0.95), rgba(65,105,225,0.95)) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* smaller utility tweaks */
.ms-2[b-9so0er190n] { margin-left: 0.5rem; }
.no-wrap[b-9so0er190n] { white-space: nowrap; }

/* --- Fix: prevent filter controls from stretching full-width --- */
/* Make filters wrap instead of forcing a single horizontal line that scrolls */
.filters-row[b-9so0er190n] {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;            /* allow wrapping to multiple lines to avoid horizontal scroll */
  overflow-x: visible;        /* avoid forced horizontal scroll */
  -webkit-overflow-scrolling: touch;
}

/* Allow children to shrink if needed (prevents fixed full-bleed controls) */
.filters-row > *[b-9so0er190n] {
  flex: 0 1 auto !important;    /* allow items to shrink but not grow excessively */
  box-sizing: border-box;
}

/* Per-control sizing � prevents full-bleed inputs while remaining responsive */
.filter-wrap[b-9so0er190n] {
  min-width: 100px !important;
  max-width: 160px !important;  /* adjust as needed for longer controls */
  width: auto !important;
  flex: 0 1 auto !important;
}

/* Keep the input inside the wrapper full width of the wrapper (not the page) */
.filter-control[b-9so0er190n] {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

/* Date picker slightly wider but constrained */
.filter-wrap .mud-date-range-picker[b-9so0er190n],
.filter-wrap .mud-text-field[b-9so0er190n],
.filter-wrap .mud-numeric-field[b-9so0er190n] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Small-screen behaviour: allow controls to shrink and stay usable */
@media (max-width: 720px) {
  .filters-row[b-9so0er190n] {
    gap: 8px;
  }

  /* on very small screens let items be a bit narrower but still not full page */
  .filter-wrap[b-9so0er190n] {
    min-width: 100px !important;
    max-width: 220px !important;
  }
}

/* Optional: if you need a single control to be wider (e.g. Vendor), add a helper class:
   <div class="filter-wrap filter-wide"> ... </div>
*/
.filter-wrap.filter-wide[b-9so0er190n] {
  min-width: 180px !important;
  max-width: 380px !important;
}

/* keep icon vertically centered and prevent it from pushing content */
.action-inline[b-9so0er190n] { display:flex; align-items:center; margin-left:8px; }

/* allow remarks text to wrap on narrow screens without overflow */
.small-card .value[b-9so0er190n] { white-space: normal; }
/* /Pages/POModule/POList.razor.rz.scp.css */
/* Prevent wrapping for cells that should stay on one line */
.no-wrap[b-8st8tgysej] {
    white-space: nowrap;
}

/* Appbar / header styling */
.po-appbar[b-8st8tgysej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
}

    .po-appbar .title[b-8st8tgysej] {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        flex: 1 1 0%;
    }

        .po-appbar .title > div[b-8st8tgysej] {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

.filter-actions[b-8st8tgysej] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

    .filter-actions .mud-button-root[b-8st8tgysej],
    .filter-actions .mud-icon-button[b-8st8tgysej] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.filters-grid .filter-control[b-8st8tgysej] {
    width: 100%;
    box-sizing: border-box;
}

.filters-row[b-8st8tgysej] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-wrap[b-8st8tgysej] {
    min-width: 120px;
    flex: 1 1 160px;
}

.date-range-picker[b-8st8tgysej] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.12);
    background: var(--mud-palette-surface);
    min-height: 40px;
}

    .date-range-picker .date-icon[b-8st8tgysej] {
        color: var(--mud-palette-primary);
        font-size: 20px;
    }

    .date-range-picker .mud-input-root[b-8st8tgysej] {
        width: 100%;
        margin: 0;
    }

Use :deep to pierce MudBlazor child components so header cells are matched
:deep(.po-table thead th)[b-8st8tgysej] {
    background: linear-gradient(90deg, rgba(100,149,237,0.95), rgba(65,105,225,0.95)) !important;
    color: blue !important;*/
}

optionally target MudBlazor's internal selector if needed
:deep(.mud-table thead th)[b-8st8tgysej] {
    background: linear-gradient(90deg, rgba(100,149,237,0.95), rgba(65,105,225,0.95)) !important;
    color: blue !important;
}

force header cells to pick up gradient even when rendered inside MudBlazor components
:deep(.po-header-cell)[b-8st8tgysej] {
    background: linear-gradient(90deg, rgba(100,149,237,0.95), rgba(65,105,225,0.95)) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.child-row-paper[b-8st8tgysej] {
    background: #fafbfd;
}

/* Responsive: stack nicely on small screens */
@media (max-width:900px) {
    .filters-row[b-8st8tgysej] {
        gap: 8px;
    }

    .filter-wrap[b-8st8tgysej] {
        flex: 1 1 45%;
    }
}

/* At smaller widths hide button text and keep icon-only to avoid wrapping */
@media (max-width:720px) {
    .po-appbar[b-8st8tgysej] {
        padding: 8px;
        gap: 8px;
    }

    .filter-actions .mud-button-root .mud-button-label[b-8st8tgysej],
    .filter-actions .mud-button-root .mud-button-start-icon + .mud-button-label[b-8st8tgysej] {
        display: none !important;
    }

    .filter-actions .mud-button-root[b-8st8tgysej],
    .filter-actions .mud-icon-button[b-8st8tgysej] {
        padding-left: 6px !important;
        padding-right: 6px !important;
        min-width: 40px !important;
    }

    .po-appbar .title[b-8st8tgysej] {
        gap: 8px;
    }
}

@media (max-width:520px) {
    .filter-wrap[b-8st8tgysej] {
        flex: 1 1 100%;
    }
}

.child-row-actions[b-8st8tgysej] {
    margin-bottom: 12px;
}

    .child-row-actions .po-meta[b-8st8tgysej] {
        min-width: 280px;
    }

.small-card[b-8st8tgysej] {
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 1px 3px rgba(16,24,40,0.06);
    height: 100%;
}

    .small-card .label[b-8st8tgysej] {
        font-size: 0.75rem;
        color: #6b7280;
    }

    .small-card .value[b-8st8tgysej] {
        font-weight: 600;
        font-size: 1rem;
        margin-top: 4px;
    }

.child-row-grid[b-8st8tgysej] {
    gap: 12px;
}

.kpi-cards[b-8st8tgysej] {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.kpi-card[b-8st8tgysej] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 1px 4px rgba(16,24,40,0.06);
    flex: 0 0 auto;
}

.kpi-cards[b-8st8tgysej]::-webkit-scrollbar {
    height: 6px;
}

.kpi-cards[b-8st8tgysej]::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 10px;
}

@media (min-width: 992px) {
    .child-row-grid[b-8st8tgysej] {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
    }

        .child-row-grid > *[b-8st8tgysej] {
            box-sizing: border-box;
            flex: 0 0 calc(25% - 12px) !important;
            max-width: calc(25% - 12px) !important;
        }
}
/* /Pages/POModule/ViewPurchaseOrder.razor.rz.scp.css */
.po-paper[b-yawobtpr7d] {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(16,24,40,0.06);
}

.po-header[b-yawobtpr7d] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.po-number[b-yawobtpr7d] {
    color: #2b3e6b;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.po-meta[b-yawobtpr7d] {
    color: #6b7280;
}

.po-total[b-yawobtpr7d] {
    color: #3b2b5a;
    margin-bottom: 0;
}

.po-total-value[b-yawobtpr7d] {
    color: rebeccapurple;
    font-weight: 700;
    padding-left: 6px;
}

.po-section[b-yawobtpr7d] {
    background: transparent;
    border-left: 3px solid rgba(27,110,194,0.06);
    margin-bottom: 0.5rem;
}

.section-title[b-yawobtpr7d] {
    color: #1b6ec2;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.field-label[b-yawobtpr7d] {
    display: block;
    color: #6b7280;
    margin-top: 0.6rem;
}

.field-value[b-yawobtpr7d] {
    display: block;
    color: #111827;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.total-accent[b-yawobtpr7d] {
    color: rebeccapurple;
    font-weight: 700;
}

/* Buttons and responsive */
.full-width[b-yawobtpr7d] {
    width: 100%;
    justify-content: center;
}

/* Small layout tweaks for narrow screens */
@media (max-width: 600px) {
    .po-header[b-yawobtpr7d] {
        align-items: flex-start;
    }

    .po-total[b-yawobtpr7d] {
        text-align: left;
    }
}
/* /Pages/VendorRegistration/VendorRegistrationList.razor.rz.scp.css */
/* Reuse POList visual language for vendor registration list */

.vendorreg-paper[b-en51gae938] {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,250,252,0.98));
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    padding: 1rem;
}

.section[b-en51gae938] {
    background: transparent;
    border-left: 4px solid rgba(27,110,194,0.06);
    padding: 0.75rem;
    border-radius: 8px;
}

.filter-control[b-en51gae938] { width:100%; }
.filter-control .mud-input-label[b-en51gae938] {
    font-size:0.88rem !important;
    color:#6b7280;
}

/* table */
.vendorreg-table[b-en51gae938] { width:100%; border-radius:8px; overflow:visible; }
.vendorreg-table thead[b-en51gae938] {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(90deg, rgba(27,110,194,0.04), rgba(255,255,255,0.98));
}
.vendorreg-table thead th[b-en51gae938] { font-weight:600; padding:0.6rem; color:#0f172a; }

.header-cell[b-en51gae938] {
    background-color: #e6f7ff; /* light blue */
    color: #0b3d91;            /* dark blue text for contrast */
    font-weight: 600;
}

/* override the table header background with higher specificity */
.vendorreg-table thead th.header-cell[b-en51gae938] {
  background-color: #e6f7ff !important; /* light blue */
  background-image: none !important;    /* remove existing gradient */
  color: #0b3d91 !important;            /* ensure contrast */
  font-weight: 600;
}

/* child row card */
.child-row-paper[b-en51gae938] { background:linear-gradient(180deg,#fff,#fafaff); border-radius:8px; padding:0.75rem; border:1px solid rgba(15,23,42,0.03); }

@media (max-width: 720px) {
    .vendorreg-paper[b-en51gae938] { padding:0.75rem; }
    .section[b-en51gae938] { padding:0.5rem; }
}
