/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   MainLayout — CSS Grid shell matching Figma node 673:8113
   Uses CSS custom properties for dynamic sidebar/header sizing.
   ═══════════════════════════════════════════════════════ */

/* ── Page wrapper (CSS Grid) ── */
.page[b-rj8xt0v36c] {
    --shell-sidebar-width: 202px;
    --shell-header-height: 64px;

    display: grid;
    grid-template-columns: var(--shell-sidebar-width) minmax(0, 1fr);
    grid-template-rows: var(--shell-header-height) minmax(0, 1fr);
    height: 100vh;
    overflow: hidden;
    background: var(--color-dark-green, #023E2C);
    padding-right: 8px;
    padding-bottom: 8px;
}

/* ── Header bar (grid row 1, spans all columns) ── */
.page-header[b-rj8xt0v36c] {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--shell-header-height);
    background: var(--color-dark-green, #023E2C);
    z-index: 20;
}

.header-brand[b-rj8xt0v36c] {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

.header-logo[b-rj8xt0v36c] {
    width: 78px;
    height: 24px;
    object-fit: contain;
}

.header-title[b-rj8xt0v36c] {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    white-space: nowrap;
}

/* ── Spjöld / Tafla view tabs ── */
.header-tabs[b-rj8xt0v36c] {
    display: flex;
    align-items: flex-end;
    gap: 0;
    margin-right: 8px;
    height: 100%;
    overflow: hidden;
}

/* Inner header-tabs from ViewModeToggle (separate render boundary) */
[b-rj8xt0v36c] .header-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 0;
    padding-left: 8px;
    padding-right: 35px;
    width: 340px;
}

[b-rj8xt0v36c] .view-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 24px 0 16px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.5);
    background: transparent;
    transition: color 0.2s ease;
    white-space: nowrap;
    z-index: 1;
}

/* SVG Union shape behind each tab */
[b-rj8xt0v36c] .view-tab::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16%;
    right: -16%;
    height: 88px;
    background: url('/images/tab-shape-inactive.svg') no-repeat center / 100% 100%;
    z-index: -1;
    pointer-events: none;
}

[b-rj8xt0v36c] .view-tab:hover {
    color: rgba(0, 0, 0, 0.7);
}

[b-rj8xt0v36c] .view-tab.active {
    color: #000000;
    z-index: 2;
}

[b-rj8xt0v36c] .view-tab.active::before {
    background-image: url('/images/tab-shape-active.svg');
}

[b-rj8xt0v36c] .tab-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

[b-rj8xt0v36c] .view-tab.active .tab-icon {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(17%) sepia(56%) saturate(1100%) hue-rotate(122deg) brightness(96%) contrast(98%);
}

/* ── Body (sidebar + content) — grid row 2 ── */
.page-body[b-rj8xt0v36c] {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: var(--shell-sidebar-width) minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
}

.sidebar[b-rj8xt0v36c] {
    grid-column: 1;
    background: var(--color-dark-green, #023E2C);
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    position: relative;
    z-index: 15;
}

/* ── Content wrapper (beige area with rounded corners) ── */
.content-wrapper[b-rj8xt0v36c] {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.03) 100%), var(--color-beige, #EFECE5);
    border-radius: var(--radius-content, 24px);
    overflow: hidden;
}

[b-rj8xt0v36c] main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

/* Override global .content styles to match Figma specs */
[b-rj8xt0v36c] article.content {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 16px;
    box-shadow: none;
}

/* ── Bottom bar ── */
[b-rj8xt0v36c] .bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    height: 64px;
    flex-shrink: 0;
}

[b-rj8xt0v36c] .bottom-accounts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 16px 0 24px;
    background: var(--color-beige, #EFECE5);
    border-top: 1px solid var(--color-border-white-subtle, rgba(255, 255, 255, 0.4));
    border-radius: 0 0 0 var(--radius-content, 24px);
}

[b-rj8xt0v36c] .bottom-pill-btn {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    position: relative;
}

[b-rj8xt0v36c] .bottom-pill-btn > span {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    position: relative;
    z-index: 1;
}

[b-rj8xt0v36c] .bottom-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--color-beige, #EFECE5);
    height: 100%;
}

[b-rj8xt0v36c] .bottom-stats-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface-subtle, rgba(0, 0, 0, 0.05));
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: var(--radius-pill, 18px);
    height: 36px;
    max-width: 360px;
    flex: 1;
    padding: 0 24px;
}

[b-rj8xt0v36c] .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

[b-rj8xt0v36c] .stat-icon {
    font-size: 16px;
    color: #000000;
    opacity: 0.5;
}

[b-rj8xt0v36c] .stat-icon-img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

[b-rj8xt0v36c] .stat-text {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-weight: 500;
    font-size: 11px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

[b-rj8xt0v36c] .bottom-search {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px 0 16px;
    background: var(--color-beige, #EFECE5);
    border-top: 1px solid var(--color-border-white-subtle, rgba(255, 255, 255, 0.4));
    border-radius: 0 0 var(--radius-content, 24px) 0;
}

[b-rj8xt0v36c] .bottom-search-input {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--color-border, rgba(0, 0, 0, 0.2));
    border-radius: var(--radius-pill, 18px);
    height: 36px;
    padding: 0 10px;
    box-shadow: var(--shadow-input-inset, inset 0 2px 4px rgba(0, 0, 0, 0.1));
    gap: 9px;
    width: 100%;
}

[b-rj8xt0v36c] .search-icon {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

[b-rj8xt0v36c] .search-field {
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 13px;
    color: #000000;
    width: 100%;
    padding: 0;
    margin: 0;
}

[b-rj8xt0v36c] .search-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* ── Mobile layout ── */
@media (max-width: 640px) {
    .page[b-rj8xt0v36c] {
        --shell-sidebar-width: 0px;
        --shell-header-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        padding-right: 0;
        padding-bottom: 0;
    }

    .page-header[b-rj8xt0v36c] {
        display: none;
    }

    .header-brand[b-rj8xt0v36c] {
        display: none;
    }

    .header-tabs[b-rj8xt0v36c] {
        display: none;
    }

    .page-body[b-rj8xt0v36c] {
        grid-template-columns: 1fr;
    }

    /* Sidebar becomes a mobile header bar (contains hamburger + nav overlay) */
    .sidebar[b-rj8xt0v36c] {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: auto;
        overflow: visible;
        z-index: 100;
    }

    .content-wrapper[b-rj8xt0v36c] {
        grid-column: 1;
        grid-row: 2;
        border-radius: 0;
    }

    /* Hide bottom bar on mobile */
    [b-rj8xt0v36c] .bottom-bar {
        display: none;
    }
}

/* ── Error UI ── */
#blazor-error-ui[b-rj8xt0v36c] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-rj8xt0v36c] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ── Collapsed sidebar: 68px icon-only mode (approval detail page) ── */
.page.invoice-attachment-flex[b-rj8xt0v36c] {
    --shell-sidebar-width: 68px;
    --shell-header-height: 0px;
    overflow: hidden;
}

.page.invoice-attachment-flex .page-header[b-rj8xt0v36c] {
    display: none;
}

.page.invoice-attachment-flex .page-body[b-rj8xt0v36c] {
    grid-template-rows: 1fr;
}

.sidebar.sidebar-collapsed[b-rj8xt0v36c] {
    width: 68px;
    overflow: hidden;
    transition: width 0.2s;
}

/* Hide text labels in nav links when collapsed */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-link span {
    display: none !important;
}

/* Make nav links icon-only circles when collapsed */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-link {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-link:hover {
    background: rgba(200, 221, 105, 0.2) !important;
}

/* Active nav link gets green circle */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  a.active {
    background: var(--color-light-green, #C8DD69) !important;
}

/* Compact the nav-shell padding when collapsed */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-shell {
    padding: 16px 0 16px !important;
    align-items: center !important;
}

/* Center nav-items when collapsed */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-item {
    display: flex !important;
    justify-content: center !important;
}

/* Make icons slightly larger in collapsed state */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .nav-icon {
    width: 20px !important;
    height: 20px !important;
}

/* Hide toggler button on desktop when collapsed */
.sidebar.sidebar-collapsed[b-rj8xt0v36c]  .navbar-toggler {
    display: none !important;
}

/* Hide bottom bar on approval detail page */
.page.invoice-attachment-flex[b-rj8xt0v36c]  .bottom-bar {
    display: none !important;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   NavMenu — Figma sidebar component (391:3564)
   Desktop: 202px, pills 40px h, radius 20px
   Collapsed: 68px, icon-only 40×40 circles
   Mobile: 240px overlay, pills 44px h, radius 22px
   ═══════════════════════════════════════════════════ */

/* ── Sidebar shell ── */
.nav-shell[b-2kgiis5lv7] {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ffffff;
}

/* ── Mobile toggler (hamburger icon) ── */
.navbar-toggler[b-2kgiis5lv7] {
    appearance: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: white;
    border: none;
    background: none;
    font-size: 20px;
}

/* ── Mobile nav header (title + hamburger row) ── */
.mobile-nav-header[b-2kgiis5lv7] {
    display: none;
}

/* ── Nav sections ── */
.nav-scrollable[b-2kgiis5lv7] {
    display: none;
}

.nav-scrollable.nav-open[b-2kgiis5lv7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-top[b-2kgiis5lv7],
.nav-bottom[b-2kgiis5lv7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Nav items (pill buttons) ── */
.nav-item[b-2kgiis5lv7] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

/* ── Nav icons ── */
.nav-icon[b-2kgiis5lv7] {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    object-fit: contain;
}

/* ── Pill link/button ── */
.nav-item[b-2kgiis5lv7]  .nav-link {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px 0 12px;
    transition: background 0.15s ease;
    font-weight: 600;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.nav-item[b-2kgiis5lv7]  .nav-link:hover {
    background: rgba(200, 221, 105, 0.2);
    color: #ffffff;
}

/* Active state: light green pill, black text */
.nav-item[b-2kgiis5lv7]  a.active {
    background: var(--color-light-green, #C8DD69);
    color: #000000;
}

/* Icon swap: show default icons, hide active variants */
.icon-active[b-2kgiis5lv7] {
    display: none;
}

.nav-item[b-2kgiis5lv7]  a.active .icon-default {
    display: none;
}

.nav-item[b-2kgiis5lv7]  a.active .icon-active {
    display: inline-flex;
}

/* ── Backdrop (mobile overlay) ── */
.nav-backdrop[b-2kgiis5lv7] {
    display: none;
}

/* ═════════════════════════════════
   Desktop / Laptop (≥641px)
   ═════════════════════════════════ */
@media (min-width: 641px) {
    .navbar-toggler[b-2kgiis5lv7] {
        display: none;
    }

    .nav-scrollable[b-2kgiis5lv7] {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        overflow-y: auto;
        gap: 8px;
    }
}

/* ═════════════════════════════════
   Collapsed sidebar (icon-only)
   Triggered by .sidebar-collapsed on ancestor
   ═════════════════════════════════ */
:global(.sidebar-collapsed) .nav-shell[b-2kgiis5lv7] {
    padding: 16px 14px 14px;
    align-items: center;
}

:global(.sidebar-collapsed) .nav-item[b-2kgiis5lv7]  .nav-link {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
}

:global(.sidebar-collapsed) .nav-item[b-2kgiis5lv7]  .nav-link span {
    display: none;
}

/* ═════════════════════════════════
   Mobile (≤640px)
   Full overlay sidebar, 240px wide
   ═════════════════════════════════ */
@media (max-width: 640px) {
    .nav-backdrop[b-2kgiis5lv7] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 150;
        background: rgba(0, 0, 0, 0.35);
    }

    .nav-shell[b-2kgiis5lv7] {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .mobile-nav-header[b-2kgiis5lv7] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px 48px;
    }

    .mobile-nav-title[b-2kgiis5lv7] {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-heading, 'Space Grotesk', sans-serif);
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
    }

    .mobile-nav-icon[b-2kgiis5lv7] {
        width: 22px;
        height: 22px;
    }

    .navbar-toggler[b-2kgiis5lv7] {
        display: flex;
    }

    .nav-scrollable[b-2kgiis5lv7] {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 240px;
        height: 100vh;
        z-index: 200;
        background: var(--color-dark-green, #023E2C);
        overflow-y: auto;
        padding: 64px 16px 48px;
        border-top-left-radius: 55px;
        border-bottom-left-radius: 55px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.15);
    }

    .nav-scrollable.nav-open[b-2kgiis5lv7] {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 32px;
    }

    .nav-item[b-2kgiis5lv7]  .nav-link {
        height: 44px;
        border-radius: 22px;
        background: rgba(200, 221, 105, 0.2);
        padding: 0 8px 0 16px;
    }

    .nav-item[b-2kgiis5lv7]  a.active {
        background: var(--color-light-green, #C8DD69);
        color: #000000;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ciajn9xz62],
.components-reconnect-repeated-attempt-visible[b-ciajn9xz62],
.components-reconnect-failed-visible[b-ciajn9xz62],
.components-pause-visible[b-ciajn9xz62],
.components-resume-failed-visible[b-ciajn9xz62],
.components-rejoining-animation[b-ciajn9xz62] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-retrying[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-failed[b-ciajn9xz62],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ciajn9xz62] {
    display: block;
}


#components-reconnect-modal[b-ciajn9xz62] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ciajn9xz62 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ciajn9xz62 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ciajn9xz62 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ciajn9xz62]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ciajn9xz62 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ciajn9xz62 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ciajn9xz62 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ciajn9xz62 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ciajn9xz62] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ciajn9xz62] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ciajn9xz62] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ciajn9xz62] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ciajn9xz62] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ciajn9xz62] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ciajn9xz62] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ciajn9xz62 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ciajn9xz62] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ciajn9xz62 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Approval.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Approval Detail Page — Scoped CSS
   3-panel layout: Card List | Invoice Detail | Attachments
   Figma: https://www.figma.com/design/Eg181SfVVkWViznhArPWzJ/
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Page Grid — fixed to viewport so header row is at the very top ── */
.approval-detail-page[b-z3njhwejli] {
    position: fixed;
    top: 0;
    left: 68px;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 360px 1fr 1fr;
    grid-template-rows: 64px 1fr;
    overflow: hidden;
    background: var(--color-beige, #EFECE5);
    z-index: 10;
}

/* ── 2. Card List (left panel, row 2 only — row 1 has logo) ── */
.approval-card-list[b-z3njhwejli] {
    grid-row: 2;
    grid-column: 1;
    overflow-y: auto;
    padding: 16px;
    background: var(--color-beige, #EFECE5);
    border-right: 1px solid var(--color-border-light, rgba(0, 0, 0, 0.1));
}

/* ── 3–4. Card Items ── */
.approval-card-list .card-item[b-z3njhwejli] {
    background: var(--color-white, #fff);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    padding-bottom: 4px;
    margin-bottom: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.card-item:hover[b-z3njhwejli] {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.card-item.active[b-z3njhwejli] {
    border-color: var(--color-light-green, #C8DD69);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── 5–6. Card Top Row — vendor name + comment badge ── */
.card-item .card-top[b-z3njhwejli] {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 16px;
    gap: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Overdue card: no amber header background — Figma uses only warning icon + date color */

.card-item .card-top .card-vendor[b-z3njhwejli] {
    flex: 1;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-black, #000);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── 7–8. Card Info & Bottom Rows ── */
.card-info-row[b-z3njhwejli] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    padding: 0 16px;
    overflow: hidden;
}

.card-bottom-row[b-z3njhwejli] {
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
}

.card-date-group[b-z3njhwejli],
.card-amount-group[b-z3njhwejli] {
    flex: 1;
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 8px;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
}

/* ── 9–12. Card Typography ── */
.card-field-label[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 12px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.card-field-value[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-black, #000);
    text-transform: uppercase;
    letter-spacing: 0.24px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-date-value[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    line-height: 18px;
    color: var(--color-black, #000);
}

.card-amount-group[b-z3njhwejli] {
    justify-content: flex-end;
}

.card-amount-value[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    line-height: 18px;
    color: var(--color-black, #000);
    text-align: right;
    font-feature-settings: 'zero' 1;
}

.card-item .card-currency[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 10px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.overdue-icon[b-z3njhwejli] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── 13. Overdue Card State ── */
.card-item.overdue[b-z3njhwejli] {
    border-color: var(--color-border-overdue, rgba(164, 82, 0, 0.28));
}

/* ── 14. Comment Badge (speech bubble from Figma) ── */
.card-comment-badge[b-z3njhwejli] {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-comment-badge .comment-bubble-bg[b-z3njhwejli] {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
}

.card-comment-badge .comment-bubble-count[b-z3njhwejli] {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-white, #fff);
    text-align: center;
}

/* ── 15. Invoice Tabs (header row, middle panel) ── */
.invoice-tabs[b-z3njhwejli] {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    align-items: flex-end;
    padding: 0 16px;
    gap: 0;
    background: var(--color-dark-green, #023E2C);
    border-bottom: none;
    overflow: visible;
    position: relative;
    z-index: 2;
}

/* ── 15b. Invoice Tab Buttons — Figma scalloped tab shape ── */
.tab-btn[b-z3njhwejli] {
    position: relative;
    height: 40px;
    padding: 0 24px;
    border: none;
    outline: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.55);
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
}

/* All tabs get scalloped shape — gray by default */
.tab-btn[b-z3njhwejli]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -16px;
    right: -20px;
    height: 56px;
    -webkit-mask-image: url('/images/tab-shape-mask.svg');
    mask-image: url('/images/tab-shape-mask.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background: #EDEDED;
    z-index: -2;
    pointer-events: none;
}

.tab-btn:hover[b-z3njhwejli] {
    color: rgba(0, 0, 0, 0.8);
}

.tab-btn.active[b-z3njhwejli] {
    color: var(--color-black, #000);
    font-weight: 500;
}

/* Active tab — white shape connecting to content area */
.tab-btn.active[b-z3njhwejli]::before {
    background: #FFFFFF;
    z-index: -1;
}

/* ── 16. Attachment Tabs(header row, right panel) — Figma node 391:5559 ── */
.attachment-tabs[b-z3njhwejli] {
    grid-row: 1;
    grid-column: 3;
    display: flex;
    align-items: flex-end;
    padding: 24px 34px 0 17px;
    gap: 0;
    background: var(--color-dark-green, #023E2C);
    overflow: visible;
    position: relative;
    z-index: 2;
}

/* ── 17. Attachment Tab Buttons — Figma scalloped tab shape (gray variant) ── */
.att-tab[b-z3njhwejli] {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    border: none;
    outline: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.55);
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
}

/* All attachment tabs get scalloped shape — gray by default */
.att-tab[b-z3njhwejli]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -16px;
    right: -20px;
    height: 56px;
    -webkit-mask-image: url('/images/tab-shape-mask.svg');
    mask-image: url('/images/tab-shape-mask.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background: #D5D5D5;
    z-index: -2;
    pointer-events: none;
}

.att-tab-icon[b-z3njhwejli] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.55;
}

.att-tab-label[b-z3njhwejli] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-tab:hover[b-z3njhwejli] {
    color: rgba(0, 0, 0, 0.8);
}

.att-tab.active[b-z3njhwejli] {
    color: var(--color-black, #000);
}

.att-tab.active[b-z3njhwejli]::before {
    background: #EDEDED;
    z-index: -1;
}

.att-tab.active .att-tab-icon[b-z3njhwejli] {
    opacity: 1;
    filter: none;
}

/* ── 18. Invoice Content (middle panel body) ── */
.invoice-content[b-z3njhwejli] {
    grid-row: 2;
    grid-column: 2;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-top-left-radius: 24px;
    z-index: 0;
}

/* ── 19. Attachment Content — Figma node 355:24704 ── */
.attachment-content[b-z3njhwejli] {
    grid-row: 2;
    grid-column: 3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #EDEDED;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-right-radius: 24px;
    z-index: 0;
}

.attachment-placeholder[b-z3njhwejli] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(0, 0, 0, 0.3);
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
}

/* ── 19b. Embedded Attachment Viewer — matches Figma PDF.js viewer ── */
[b-z3njhwejli] .attachment-viewer-embedded {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #d4d4d7;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
}

[b-z3njhwejli] .embedded-frame {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
    border-radius: 0;
    min-height: 0;
}

[b-z3njhwejli] .embedded-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex: 1;
    min-height: 0;
}

[b-z3njhwejli] .embedded-xml {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    overflow: auto;
    margin: 0;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 0;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 12px;
    line-height: 18px;
    color: var(--color-black, #000);
    white-space: pre-wrap;
    word-break: break-all;
}

[b-z3njhwejli] .embedded-unsupported {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(0, 0, 0, 0.4);
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
}

/* ── 20–21. Invoice Info 2-Column Layout ── */
.invoice-info[b-z3njhwejli] {
    display: flex;
    gap: 16px;
    padding: 16px 32px;
    background: var(--color-white, #fff);
}

.info-column[b-z3njhwejli] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.info-row[b-z3njhwejli] {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-row.vendor-header[b-z3njhwejli] {
    border-bottom: none;
}

.info-row.vendor-address[b-z3njhwejli] {
    border-bottom: none;
    padding-bottom: 0;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 13px;
    letter-spacing: 0.65px;
    color: var(--color-black, #000);
    font-feature-settings: 'zero' 1;
}

.vendor-name-large[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-black, #000);
    line-height: 1;
}

/* ── 22–23. Info Field Typography (Figma: IBM Plex Sans Medium labels, IBM Plex Mono values) ── */
.info-row .field-label[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.65px;
    line-height: normal;
    color: rgba(0,0,0,0.5);
    min-width: 80px;
    flex-shrink: 0;
    white-space: nowrap;
    font-feature-settings: 'zero' 1;
}

.info-row .field-value[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.65px;
    color: var(--color-black, #000);
    text-transform: uppercase;
    margin-left: auto;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-feature-settings: 'zero' 1;
}

.info-row .field-value.numeric[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-feature-settings: 'zero' 1;
}

.info-row .field-value.total[b-z3njhwejli] {
    font-weight: 700;
}

/* ── 24. Eindagi Overdue Row (Figma: orange tint bg, rounded) ── */
.info-row.overdue-row[b-z3njhwejli] {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    border-bottom: none;
}

.info-row.overdue-row .field-label[b-z3njhwejli] {
    color: rgba(170, 109, 8, 0.81);
}

.info-row.overdue-row .field-value[b-z3njhwejli] {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.7px;
}

/* ── 25. Invoice Lines — Simplified Expandable ── */
.invoice-lines-section[b-z3njhwejli] {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
}

.lines-header[b-z3njhwejli] {
    display: flex;
    align-items: center;
    height: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.lines-header .col-description[b-z3njhwejli] {
    flex: 1;
    padding-left: 16px;
}

.lines-header .col-qty[b-z3njhwejli] {
    width: 50px;
    text-align: right;
}

.lines-header .col-unitcost[b-z3njhwejli] {
    width: 105px;
    text-align: right;
    padding: 0 8px;
}

.lines-header .col-total[b-z3njhwejli] {
    width: 128px;
    text-align: right;
}

.lines-header .col-expand[b-z3njhwejli] {
    width: 32px;
}

.line-row[b-z3njhwejli] {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.line-row.line-approved[b-z3njhwejli] {
    opacity: 0.5;
}

.line-main[b-z3njhwejli] {
    display: flex;
    align-items: center;
    min-height: 48px;
    cursor: pointer;
    padding: 0;
}

.line-main:hover[b-z3njhwejli] {
    background: rgba(200,221,105,0.1);
}

.line-main .col-description[b-z3njhwejli] {
    flex: 1;
    padding: 8px 16px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.line-main .col-qty[b-z3njhwejli] {
    width: 50px;
    text-align: right;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    font-feature-settings: 'zero' 1;
}

.line-main .col-unitcost[b-z3njhwejli] {
    width: 105px;
    text-align: right;
    padding: 0 8px;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    font-feature-settings: 'zero' 1;
}

.line-main .col-total[b-z3njhwejli] {
    width: 128px;
    text-align: right;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    font-feature-settings: 'zero' 1;
}

.line-main .col-expand[b-z3njhwejli] {
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-detail[b-z3njhwejli] {
    background: rgba(0,0,0,0.02);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 12px 16px 12px 32px;
}

.line-detail-grid[b-z3njhwejli] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}

.detail-row[b-z3njhwejli] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
}

.detail-label[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    min-width: 100px;
}

.detail-value[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black, #000);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── 31. LCY Totals (shown when currency differs) ── */
.invoice-totals-lcy[b-z3njhwejli] {
    padding: 8px 32px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 32px;
    justify-content: start;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 8px;
}

.invoice-totals-lcy .total-label[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 13px;
    color: rgba(0,0,0,0.5);
}

.invoice-totals-lcy .total-value[b-z3njhwejli] {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 13px;
    font-weight: 400;
    text-align: right;
    font-feature-settings: 'zero' 1;
}

/* ── 34. Actions Bar ── */
.invoice-actions-bar[b-z3njhwejli] {
    height: 64px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid var(--color-border-light, rgba(0, 0, 0, 0.1));
    margin-top: auto;
    flex-shrink: 0;
}

/* ── 35. Action Pill Buttons (Figma ButtonActions — 36px h, IBM Plex Sans SemiBold 14px) ── */
.action-pill[b-z3njhwejli] {
    flex: 1;
    height: 36px;
    border-radius: 20px;
    border: 1px solid;
    outline: none;
    background: transparent;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    padding: 0 10px;
}

.action-pill.approve[b-z3njhwejli] {
    background: var(--color-light-green, #C8DD69);
    border-color: rgba(2, 62, 44, 0.5);
    color: var(--color-dark-green, #023E2C);
}

.action-pill.approve:hover[b-z3njhwejli] {
    background: linear-gradient(90deg, rgba(2,62,44,0.05), rgba(2,62,44,0.05)), #C8DD69;
}

.action-pill.reject[b-z3njhwejli] {
    border-color: rgba(200, 221, 105, 0.5);
    color: var(--color-black, #000);
}

.action-pill.reject:hover[b-z3njhwejli] {
    background: rgba(200, 221, 105, 0.24);
    border-color: rgba(200, 221, 105, 0.75);
}

.action-pill.send[b-z3njhwejli] {
    border-color: rgba(200, 221, 105, 0.5);
    color: var(--color-black, #000);
}

.action-pill.send:hover[b-z3njhwejli] {
    background: rgba(200, 221, 105, 0.24);
    border-color: rgba(200, 221, 105, 0.75);
}

.action-pill:disabled[b-z3njhwejli] {
    opacity: 0.45;
    cursor: not-allowed;
}

.action-pill.approve:disabled[b-z3njhwejli] {
    background: rgba(200, 221, 105, 0.16);
    border-color: rgba(200, 221, 105, 0.5);
}

.action-pill:disabled:hover[b-z3njhwejli] {
    background: transparent;
}

/* Count badge on action buttons (Figma: 16px circle, absolute right:9px) */

.action-pill .action-icon[b-z3njhwejli] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── 36. Overdue Date Styling (superseded by .overdue-row above) ── */
.field-value.overdue[b-z3njhwejli] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── 37. Dropdown / Popover Fields ── */
.field-dropdown[b-z3njhwejli] {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border-light, rgba(0, 0, 0, 0.1));
    border-radius: var(--radius-input, 4px);
    padding: 6px 12px;
    font-size: var(--text-md, 13px);
    height: 32px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* ── 38. Comments Tab ── */
/* ── Comments Tab — Chat layout (Figma node 356:30715) ── */
.comments-panel[b-z3njhwejli] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.comments-list[b-z3njhwejli] {
    padding: 24px 24px 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-loading[b-z3njhwejli] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 32px;
    color: rgba(0, 0, 0, 0.5);
}

.comments-empty[b-z3njhwejli] {
    color: rgba(0, 0, 0, 0.4);
    padding: 32px;
    text-align: center;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
}

.chat-message[b-z3njhwejli] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chat-avatar[b-z3njhwejli] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-avatar span[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 700;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}

.chat-body[b-z3njhwejli] {
    flex: 1;
    min-width: 0;
}

.chat-meta[b-z3njhwejli] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.chat-name[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 15px;
    color: #000;
    font-feature-settings: 'zero' 1;
}

.chat-time[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.4);
    font-feature-settings: 'zero' 1;
}

.chat-bubble[b-z3njhwejli] {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px 20px 20px 20px;
    padding: 8px 16px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    display: inline-block;
    max-width: 100%;
}

.chat-message:nth-child(even) .chat-bubble[b-z3njhwejli] {
    background: rgba(200, 221, 105, 0.5);
}

.comment-input-bar[b-z3njhwejli] {
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.comment-input-wrapper[b-z3njhwejli] {
    flex: 1;
    position: relative;
}

.comment-input[b-z3njhwejli] {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 22px;
    padding: 0 20px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 16px;
    color: #000;
    background: #fff;
    box-shadow: inset 0px 2px 4px rgba(200, 221, 105, 0.5);
    outline: none;
}

.comment-input[b-z3njhwejli]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.comment-send-btn[b-z3njhwejli] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ededed;
    color: #023E2C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.comment-send-btn:hover:not(:disabled)[b-z3njhwejli] {
    background: #ddd;
}

.comment-send-btn:disabled[b-z3njhwejli] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Recent Invoices Tab — Card grid (Figma node 370:6478) ── */
.recent-invoices-panel[b-z3njhwejli] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.recent-invoices-grid[b-z3njhwejli] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.recent-invoice-card[b-z3njhwejli] {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.15s;
    overflow: hidden;
}

.recent-invoice-card:hover[b-z3njhwejli] {
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.recent-card-header[b-z3njhwejli] {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 4px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.recent-card-status[b-z3njhwejli] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.recent-status-icon[b-z3njhwejli] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.recent-vendor-name[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 15px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-card-row[b-z3njhwejli] {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.recent-row-label[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 10px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.5);
}

.recent-row-label-bold[b-z3njhwejli] {
    font-weight: 700;
    color: #000;
}

.recent-row-value[b-z3njhwejli] {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #000;
}

.recent-currency[b-z3njhwejli] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 700;
    font-size: 8px;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 0.4px;
    margin-left: 4px;
}

/* ── 39. PDF Viewer ── */
.pdf-viewer-container[b-z3njhwejli] {
    flex: 1;
    border-radius: var(--radius-card, 8px);
    overflow: hidden;
    background: #525659;
}

/* ── 40. Logo in Header ── */
.header-logo-cell[b-z3njhwejli] {
    grid-row: 1;
    grid-column: 1;
    background: var(--color-dark-green, #023E2C);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
}

.detail-logo[b-z3njhwejli] {
    height: 28px;
}

.detail-logo-text[b-z3njhwejli] {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white, #fff);
    white-space: nowrap;
}

/* ── 41. Invoice Line Description Box ── */
.line-description-text[b-z3njhwejli] {
    display: inline-block;
    background: var(--color-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* ── 42. Dimension Dropdown Controls (Figma: popover-menu-invoice 468:18364) ── */
.dim-dropdown-box[b-z3njhwejli] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--color-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 0 2px 0 10px;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.24px;
    width: 180px;
    height: 32px;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.dim-dropdown-box > span:first-child[b-z3njhwejli] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dim-dropdown-btn[b-z3njhwejli] {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.dim-dropdown-btn img[b-z3njhwejli] {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Laptop (≤ 1280px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
    .approval-detail-page[b-z3njhwejli] {
        grid-template-columns: 300px 1fr 1fr;
    }

    .invoice-info[b-z3njhwejli] {
        padding: 16px 16px;
    }

    .invoice-totals-lcy[b-z3njhwejli] {
        padding: 8px 16px;
    }

    .comments-list[b-z3njhwejli] {
        padding: 16px;
    }

    .comment-input-bar[b-z3njhwejli] {
        padding: 12px 16px;
    }

    .recent-invoices-grid[b-z3njhwejli] {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Mobile (≤ 640px)
   Single-column stacked layout
   ═══════════════════════════════════════════════════════════ */
/* ── Mobile detail header (hidden on desktop) ── */
.mobile-detail-header[b-z3njhwejli] {
    display: none;
}

@media (max-width: 640px) {
    .approval-detail-page[b-z3njhwejli] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        grid-template-columns: 1fr;
        grid-template-rows: 48px auto 1fr;
        z-index: 200;
        overflow: hidden;
        max-width: 100vw;
    }

    .mobile-detail-header[b-z3njhwejli] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        height: 48px;
        background: var(--color-dark-green, #023E2C);
        grid-column: 1;
        grid-row: 1;
    }

    .mobile-back-link[b-z3njhwejli] {
        font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
        font-size: 14px;
        font-weight: 500;
        color: var(--color-light-green, #C8DD69);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-header-title[b-z3njhwejli] {
        font-family: var(--font-heading, 'Space Grotesk', sans-serif);
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
    }

    .mobile-hamburger[b-z3njhwejli] {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 18px;
        padding: 8px;
        cursor: pointer;
    }

    .approval-card-list[b-z3njhwejli] {
        display: none;
    }

    .invoice-tabs[b-z3njhwejli],
    .attachment-tabs[b-z3njhwejli] {
        grid-column: 1;
        grid-row: 2;
        background: transparent;
        padding: 0 12px;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
    }

    .attachment-tabs[b-z3njhwejli] {
        display: none;
    }

    .tab-btn[b-z3njhwejli] {
        padding: 0 12px;
        font-size: 13px;
    }

    .tab-btn[b-z3njhwejli]::before {
        left: -8px;
        right: -8px;
    }

    .invoice-content[b-z3njhwejli] {
        grid-column: 1;
        grid-row: 3;
        overflow-y: auto;
        overflow-x: hidden;
        min-width: 0;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        border-top-left-radius: 0;
    }

    .attachment-content[b-z3njhwejli] {
        display: none;
    }

    .invoice-info[b-z3njhwejli] {
        flex-direction: column;
        gap: 0;
        padding: 12px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .info-column[b-z3njhwejli] {
        min-width: 0;
        max-width: 100%;
    }

    .info-row[b-z3njhwejli] {
        min-width: 0;
        max-width: 100%;
    }

    .info-row .field-value[b-z3njhwejli] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    .vendor-name-large[b-z3njhwejli] {
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .line-detail-grid[b-z3njhwejli] {
        grid-template-columns: 1fr;
    }

    .invoice-lines-section[b-z3njhwejli] {
        overflow-x: hidden;
        min-width: 0;
    }

    .lines-header[b-z3njhwejli],
    .line-row[b-z3njhwejli] {
        min-width: 0;
        overflow: hidden;
    }

    .lines-header .col-unitcost[b-z3njhwejli],
    .line-main .col-unitcost[b-z3njhwejli] {
        width: 75px;
        padding: 0 4px;
    }

    .lines-header .col-total[b-z3njhwejli],
    .line-main .col-total[b-z3njhwejli] {
        width: 85px;
    }

    .lines-header .col-expand[b-z3njhwejli],
    .line-main .col-expand[b-z3njhwejli] {
        width: 24px;
    }

    .lines-header .col-description[b-z3njhwejli],
    .line-main .col-description[b-z3njhwejli] {
        padding-left: 8px;
    }

    .invoice-totals-lcy[b-z3njhwejli] {
        padding: 8px 16px;
    }

    .invoice-actions-bar[b-z3njhwejli] {
        padding: 10px 12px;
        min-width: 0;
        overflow: hidden;
    }

    .att-tab[b-z3njhwejli] {
        padding: 0 12px;
        font-size: 13px;
    }

    .header-logo-cell[b-z3njhwejli] {
        display: none;
    }
}
/* /Components/Pages/EnvironmentCompanySelector.razor.rz.scp.css */
.env-name[b-7i8pivh260] {
    max-width: none;
    width: fit-content;
    white-space: nowrap;
}

.env-picker[b-7i8pivh260] {
    flex: 0 1 auto;
    min-width: 260px;
    max-width: none;
    width: fit-content;
    max-inline-size: 100vw;
    padding: 0.45rem 0.6rem;
    gap: 0.4rem;
}

.picker-header[b-7i8pivh260] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    width: fit-content;
}

.picker-header-meta[b-7i8pivh260] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.env-picker-row[b-7i8pivh260] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
    width: 100%;
}

.company-select[b-7i8pivh260] {
    flex: 1 1 0;
    min-width: 260px;
    max-width: none;
}

.picker-label[b-7i8pivh260] {
    margin-right: 0.4rem;
    align-self: center;
    white-space: nowrap;
}

.picker-chip.status-chip.locked i[b-7i8pivh260] {
    color: #c62828;
}

.picker-chip.status-chip.active i[b-7i8pivh260] {
    color: #1b5e20;
}

.picker-chip.status-chip.idle i[b-7i8pivh260] {
    color: #6b7280;
}
/* /Components/Pages/Landing.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   Landing Page — Variant A (iMac Hero)
   Figma: Eg181SfVVkWViznhArPWzJ  node 428:6369
   ═══════════════════════════════════════════════════════ */

*[b-ajfkx7ly0r], *[b-ajfkx7ly0r]::before, *[b-ajfkx7ly0r]::after { box-sizing: border-box; }

/* ── Section ── */
.landing[b-ajfkx7ly0r] {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 800px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, rgba(102,60,0,0) 0%, rgba(102,60,0,0.05) 100%),
        #EFECE5;
}

/* ── Top-right login ── */
.top-login[b-ajfkx7ly0r] {
    position: absolute;
    top: 32px;
    right: 40px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px;
    border-radius: 18px;
    text-decoration: none;
    width: 172px;
    cursor: pointer;
    background: rgba(200,221,105,0.25);
    border: 1px solid rgba(200,221,105,0.5);
}

.top-login span[b-ajfkx7ly0r] {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Dark green band at bottom — Figma: y=850, h=230 at 1080px */
.landing-band[b-ajfkx7ly0r] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 21.3%; /* 230/1080 */
    background:
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%),
        #023E2C;
    z-index: 0;
}

/* ── Text content — positioned left, vertically centered ──
   Figma: left: calc(50% - 329px), top: calc(50% - 82px)
   with transform: translate(-50%, -50%)  */
.landing-content[b-ajfkx7ly0r] {
    position: absolute;
    z-index: 2;
    left: calc(50% - 329px);
    top: calc(50% - 82px);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 48px;
}

/* ── Logo ── */
.landing-logo[b-ajfkx7ly0r] {
    width: 230px;
    height: 20px;
}

.landing-logo img[b-ajfkx7ly0r] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Main text ── */
.landing-main[b-ajfkx7ly0r] {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 540px;
}

.landing-title[b-ajfkx7ly0r] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 44px;
    color: #023E2C;
    margin: 0;
}

.landing-body[b-ajfkx7ly0r] {
    padding-right: 24px;
}

.landing-body p[b-ajfkx7ly0r] {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
}

/* ── Checklist ── */
.landing-checklist[b-ajfkx7ly0r] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item[b-ajfkx7ly0r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon[b-ajfkx7ly0r] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.check-item span[b-ajfkx7ly0r] {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    color: #000000;
}

/* ── Buttons ── */
.landing-buttons[b-ajfkx7ly0r] {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-contact[b-ajfkx7ly0r],
.btn-login[b-ajfkx7ly0r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px;
    border-radius: 18px;
    text-decoration: none;
    width: 172px;
    cursor: pointer;
}

.btn-contact[b-ajfkx7ly0r] {
    background: #C8DD69;
    border: 1px solid rgba(179,208,47,0.5);
}

.btn-login[b-ajfkx7ly0r] {
    background: rgba(200,221,105,0.25);
    border: 1px solid rgba(200,221,105,0.5);
}

.btn-icon[b-ajfkx7ly0r] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-contact span[b-ajfkx7ly0r],
.btn-login span[b-ajfkx7ly0r] {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ════════════════════════════════════════════════════════
   iMac — 5-layer composite from Figma
   Figma node I527:13665 "iMac 24"
   right: 197px, top: calc(50% + 11.5px), translateY(-50%)
   ════════════════════════════════════════════════════════ */
.imac-hero[b-ajfkx7ly0r] {
    position: absolute;
    z-index: 1;
    right: 197px;
    top: calc(50% + 11.5px);
    transform: translateY(-50%);
    pointer-events: none;
}

.imac-wrapper[b-ajfkx7ly0r] {
    position: relative;
    width: 987px;
    height: 987px;
    overflow: hidden;
}

/* Layer 1: Base iMac image */
.imac-layer[b-ajfkx7ly0r] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Layer 2: Color overlay — mask + solid #A9BDA2 + mix-blend-mode: hue
   Figma uses mask-alpha with the color-mask image to tint the iMac green */
.imac-color-overlay[b-ajfkx7ly0r] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: hue;
    -webkit-mask-image: url('/images/landing/imac-color-mask.png');
    mask-image: url('/images/landing/imac-color-mask.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
}

.imac-color-fill[b-ajfkx7ly0r] {
    position: absolute;
    inset: 0;
    background: #A9BDA2;
    border-radius: 50px;
}

/* Layer 3: Detail line on right edge */
.imac-detail[b-ajfkx7ly0r] {
    position: absolute;
    left: 85.5%;  /* 844.35/987 */
    top: 4.14%;   /* 40.87/987 */
    width: 2.16%; /* 21.334/987 */
    height: 67.5%; /* 665.968/987 */
    mix-blend-mode: color;
    pointer-events: none;
}

/* Layer 4: Screen content */
.imac-screen[b-ajfkx7ly0r] {
    position: absolute;
    left: 27.03%;  /* 266.8/987 */
    top: 6.56%;    /* 64.77/987 */
    width: 57.37%; /* 566.24/987 */
    height: 53.07%; /* 523.83/987 */
    object-fit: cover;
    pointer-events: none;
}

/* Layer 5: Specular highlight */
.imac-specular[b-ajfkx7ly0r] {
    mix-blend-mode: screen;
}

/* ════════════════════════════════════════════════════════
   LAPTOP (641–1280px) — Figma 1280×832
   ════════════════════════════════════════════════════════ */
@media (max-width: 1280px) and (min-width: 641px) {
    .landing[b-ajfkx7ly0r] {
        min-height: 700px;
    }

    .landing-content[b-ajfkx7ly0r] {
        left: calc(50% - 260px);
        top: calc(50% - 60px);
        gap: 48px;
        padding: 40px;
    }

    .landing-main[b-ajfkx7ly0r] {
        width: 420px;
    }

    .landing-title[b-ajfkx7ly0r] {
        font-size: 34px;
        line-height: 40px;
    }

    .landing-body p[b-ajfkx7ly0r] {
        font-size: 16px;
    }

    .check-item span[b-ajfkx7ly0r] {
        font-size: 16px;
    }

    .imac-hero[b-ajfkx7ly0r] {
        right: 40px;
    }

    .imac-wrapper[b-ajfkx7ly0r] {
        width: 680px;
        height: 680px;
    }
}

/* ════════════════════════════════════════════════════════
   MOBILE (≤640px) — Figma ~393px
   ════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .landing[b-ajfkx7ly0r] {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .landing-band[b-ajfkx7ly0r],
    .imac-hero[b-ajfkx7ly0r] {
        display: none;
    }

    .landing-content[b-ajfkx7ly0r] {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        padding: 48px 32px;
        gap: 48px;
    }

    .landing-logo[b-ajfkx7ly0r] {
        width: 207px;
        height: 18px;
    }

    .landing-main[b-ajfkx7ly0r] {
        width: 100%;
    }

    .landing-title[b-ajfkx7ly0r] {
        font-size: 36px;
        line-height: 40px;
    }

    .landing-body[b-ajfkx7ly0r] {
        padding-right: 20px;
    }

    .landing-body p[b-ajfkx7ly0r] {
        font-size: 16px;
    }

    .check-item span[b-ajfkx7ly0r] {
        font-size: 16px;
    }

    .landing-buttons[b-ajfkx7ly0r] {
        width: 100%;
    }

    .btn-contact[b-ajfkx7ly0r],
    .btn-login[b-ajfkx7ly0r] {
        flex: 1;
        width: auto;
    }
}

/* /Components/Shared/AddTenantModal.razor.rz.scp.css */
.modal-backdrop[b-hloj4owim3] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.modal-container[b-hloj4owim3] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    pointer-events: none;
}

.modal-card[b-hloj4owim3] {
    pointer-events: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.25);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 440px;
}

.modal-header-row[b-hloj4owim3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon[b-hloj4owim3] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.modal-title[b-hloj4owim3] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.form-group[b-hloj4owim3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-label[b-hloj4owim3] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 15px;
    color: #023E2C;
    letter-spacing: 0.75px;
    padding: 0 16px;
}

.field-input[b-hloj4owim3] {
    height: 48px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0 24px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 18px;
    color: #000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.15s ease;
}

.field-input:focus[b-hloj4owim3] {
    border-color: #023E2C;
}

.field-input[b-hloj4owim3]::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-weight: 400;
}

.button-row[b-hloj4owim3] {
    display: flex;
    gap: 16px;
    padding-top: 16px;
}

.btn-cancel[b-hloj4owim3],
.btn-add[b-hloj4owim3] {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    border: none;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-cancel[b-hloj4owim3] {
    background: rgba(200, 221, 105, 0.5);
    color: #000;
}

.btn-add[b-hloj4owim3] {
    background: #C8DD69;
    color: #000;
}

.btn-cancel:hover[b-hloj4owim3],
.btn-add:hover[b-hloj4owim3] {
    opacity: 0.85;
}

.btn-cancel:disabled[b-hloj4owim3],
.btn-add:disabled[b-hloj4owim3] {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message[b-hloj4owim3] {
    background: #fce4e4;
    color: #a94442;
    border-radius: 12px;
    padding: 10px 16px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
}

.success-message[b-hloj4owim3] {
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 12px;
    padding: 10px 16px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 14px;
}
/* /Components/Shared/LogoutModal.razor.rz.scp.css */
/* ── Backdrop ── */
.logout-modal-overlay[b-5bmcfhoxxk] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
}

/* ── Card ── */
.logout-modal-card[b-5bmcfhoxxk] {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.25);
    padding: 24px;
    max-width: 400px;
    width: 90%;
}

/* ── Header row ── */
.logout-modal-header[b-5bmcfhoxxk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-modal-icon[b-5bmcfhoxxk] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.logout-modal-title[b-5bmcfhoxxk] {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000000;
    line-height: 1.2;
}

/* ── Body text ── */
.logout-modal-body[b-5bmcfhoxxk] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    margin: 16px 0;
    padding-bottom: 16px;
}

/* ── Button row ── */
.logout-modal-buttons[b-5bmcfhoxxk] {
    display: flex;
    gap: 16px;
    padding-top: 16px;
}

.logout-btn[b-5bmcfhoxxk] {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.logout-btn:hover[b-5bmcfhoxxk] {
    opacity: 0.85;
}

.logout-btn-cancel[b-5bmcfhoxxk] {
    background: rgba(200, 221, 105, 0.5);
    border: 1px solid rgba(200, 221, 105, 0);
}

.logout-btn-confirm[b-5bmcfhoxxk] {
    background: #C8DD69;
    border: 1px solid rgba(200, 221, 105, 0.5);
}
/* /Components/Shared/PopoverSelect.razor.rz.scp.css */
.popover-select[b-ffjiudxv45] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* ── Pill button ── */
.popover-select__pill[b-ffjiudxv45] {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 22px;
    padding: 0 8px 0 16px;
    gap: 8px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #000000;
    white-space: nowrap;
    min-width: 0;
    outline: none;
    transition: border-color 0.15s ease;
}

.popover-select__pill:hover:not(:disabled)[b-ffjiudxv45] {
    border-color: rgba(0, 0, 0, 0.2);
}

.popover-select__pill:disabled[b-ffjiudxv45] {
    opacity: 0.5;
    cursor: not-allowed;
}

.popover-select--open .popover-select__pill[b-ffjiudxv45] {
    border-color: rgba(0, 0, 0, 0.2);
}

.popover-select__text[b-ffjiudxv45] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.popover-select__icon[b-ffjiudxv45] {
    font-size: 18px;
    color: var(--rdn-dark, #023E2C);
    flex-shrink: 0;
}

/* ── Backdrop (click-outside-to-close) ── */
.popover-select__backdrop[b-ffjiudxv45] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* ── Dropdown (opens UPWARD) ── */
.popover-select__dropdown[b-ffjiudxv45] {
    position: absolute;
    bottom: calc(100% + 4px);
    left: -16px;
    right: -4px;
    min-width: calc(100% + 20px);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 22px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 4px;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

/* ── Group label ── */
.popover-select__group-label[b-ffjiudxv45] {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px 4px 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Menu items ── */
.popover-select__item[b-ffjiudxv45] {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 18px;
    padding: 0 12px;
    gap: 0;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
    transition: background 0.12s ease;
}

.popover-select__item:hover[b-ffjiudxv45] {
    background: rgba(0, 0, 0, 0.05);
}

.popover-select__item--selected[b-ffjiudxv45] {
    background: rgba(0, 0, 0, 0.03);
}

/* Checkmark area */
.popover-select__check[b-ffjiudxv45] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--rdn-dark, #023E2C);
}

.popover-select__item-text[b-ffjiudxv45] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
/* /Components/Shared/SettingsModal.razor.rz.scp.css */
/* ── Backdrop ── */
.settings-backdrop[b-9oq94o0q1r] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* ── Card ── */
.settings-card[b-9oq94o0q1r] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.25);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 580px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
}

/* ── Header ── */
.settings-header[b-9oq94o0q1r] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-gear-icon[b-9oq94o0q1r] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.settings-title[b-9oq94o0q1r] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

/* ── Section labels ── */
.settings-section[b-9oq94o0q1r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-label[b-9oq94o0q1r] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 15px;
    color: #023E2C;
    letter-spacing: 0.75px;
    padding: 0 16px;
}

/* ── Language pill dropdown ── */
.language-pill[b-9oq94o0q1r] {
    position: relative;
    height: 48px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 100%);
    display: flex;
    align-items: center;
}

.language-select[b-9oq94o0q1r] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 48px 0 24px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    cursor: pointer;
    outline: none;
    border-radius: 24px;
}

.language-chevron[b-9oq94o0q1r] {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Invoice fields container ── */
.fields-container[b-9oq94o0q1r] {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 100%);
}

.fields-grid[b-9oq94o0q1r] {
    display: flex;
    gap: 40px;
}

.fields-column[b-9oq94o0q1r] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Field row ── */
.field-row[b-9oq94o0q1r] {
    display: flex;
    align-items: center;
    height: 40px;
    padding-left: 8px;
    gap: 8px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s ease;
}

.field-row:hover[b-9oq94o0q1r] {
    background: rgba(0, 0, 0, 0.03);
}

/* ── Custom checkbox ── */
.custom-checkbox[b-9oq94o0q1r] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.custom-checkbox.checked[b-9oq94o0q1r] {
    background: #023E2C;
    border-color: #023E2C;
}

.check-icon[b-9oq94o0q1r] {
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
}

.field-label[b-9oq94o0q1r] {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.75px;
    color: #000000;
}

/* ── Button row ── */
.settings-buttons[b-9oq94o0q1r] {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    justify-content: flex-end;
}

.btn-cancel[b-9oq94o0q1r],
.btn-save[b-9oq94o0q1r] {
    height: 44px;
    border-radius: 22px;
    border: none;
    padding: 0 28px;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.btn-cancel[b-9oq94o0q1r] {
    background: rgba(200, 221, 105, 0.5);
    color: #000000;
}

.btn-save[b-9oq94o0q1r] {
    background: #C8DD69;
    color: #000000;
}

.btn-cancel:hover[b-9oq94o0q1r],
.btn-save:hover[b-9oq94o0q1r] {
    filter: brightness(0.95);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .settings-card[b-9oq94o0q1r] {
        width: 95vw;
        padding: 20px;
        gap: 20px;
    }

    .fields-grid[b-9oq94o0q1r] {
        flex-direction: column;
        gap: 0;
    }
}
