@import '_content/esmartx.ui/esmartx.ui.qkggs2ibsz.bundle.scp.css';

/* /Components/Auth/AdminOtpProfileSwitchForm.razor.rz.scp.css */
.admin-otp-profile-switch[b-igya4ghn1l] {
    display: grid;
    gap: 16px;
}

.otp-profile-field[b-igya4ghn1l] {
    display: grid;
    gap: 6px;
}

.otp-profile-field label[b-igya4ghn1l] {
    color: #262626;
    font-size: 14px;
    font-weight: 500;
}

.profile-switch-target[b-igya4ghn1l] {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fafafa;
}

.profile-switch-target span[b-igya4ghn1l] {
    color: #8c8c8c;
    font-size: 13px;
}

.profile-switch-target strong[b-igya4ghn1l] {
    color: #262626;
    font-size: 18px;
}

.profile-switch-verification[b-igya4ghn1l] {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #91caff;
    border-radius: 10px;
    background: #e6f4ff;
}

.profile-switch-verification strong[b-igya4ghn1l] {
    color: #0958d9;
}

.profile-switch-verification span[b-igya4ghn1l] {
    color: #595959;
    font-size: 13px;
}

.profile-switch-code[b-igya4ghn1l] {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2em;
    text-align: center;
}

.otp-profile-help[b-igya4ghn1l] {
    color: #8c8c8c;
    font-size: 12px;
}

.profile-switch-code-support[b-igya4ghn1l] {
    display: grid;
    gap: 8px;
}
/* /Components/Layout/HeaderLanguageMenu.razor.rz.scp.css */
.header-language-btn[b-4tinyvcdru] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    max-width: 180px;
    padding: 0 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.header-language-btn:hover[b-4tinyvcdru] {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.header-language-btn:active[b-4tinyvcdru] {
    transform: scale(0.96);
}

.header-language-btn:focus-visible[b-4tinyvcdru] {
    outline: 2px solid var(--esmart-primary);
    outline-offset: 2px;
}

.header-language-btn[b-4tinyvcdru]  .anticon {
    font-size: 1.125rem;
}

.header-language-btn[b-4tinyvcdru]  .header-language-caret {
    font-size: 0.75rem;
}

.header-language-label[b-4tinyvcdru] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-language-btn[b-4tinyvcdru] {
        height: 34px;
        padding: 0 8px;
    }

    .header-language-label[b-4tinyvcdru],
    .header-language-btn[b-4tinyvcdru]  .header-language-caret {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-language-btn[b-4tinyvcdru] {
        transition: none;
    }

    .header-language-btn:active[b-4tinyvcdru] {
        transform: none;
    }
}
/* /Components/Layout/HomeMessageFooter.razor.rz.scp.css */
.home-message-footer[b-n79fsrdx8v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding: 16px 4px 8px;
    border-top: 1px solid var(--border-color, #e5e7eb);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary, #6b7280);
}

/* Legacy HOME_MESSAGE text is written in white or light <font> colours and needs a dark ground. */
.home-message[b-n79fsrdx8v] {
    min-width: 0;
    padding: 8px 14px;
    border-radius: 8px;
    background: #1f2937;
    color: #f9fafb;
    text-align: left;
    overflow-wrap: anywhere;
}

.home-copyright[b-n79fsrdx8v] {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .home-message-footer[b-n79fsrdx8v] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .home-copyright[b-n79fsrdx8v] {
        margin-left: 0;
        text-align: left;
        white-space: normal;
    }
}
/* /Components/Layout/ModuleLauncher.razor.rz.scp.css */
.module-launcher[b-cqrzzwtoa5] {
    display: flex;
    flex-direction: column;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    font-family: var(--font-family);
    color: var(--text-primary);
}

button[b-cqrzzwtoa5] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

button:focus-visible[b-cqrzzwtoa5] {
    outline: 2px solid rgba(234, 88, 12, 0.45);
    outline-offset: -2px;
}

button:disabled[b-cqrzzwtoa5] {
    cursor: not-allowed;
    opacity: 0.45;
}

.launcher-search-scope[b-cqrzzwtoa5] {
    display: flex;
    flex-direction: column;
}

.launcher-search[b-cqrzzwtoa5] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 12px 0;
    padding: 0 6px 0 10px;
    min-height: 36px;
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.launcher-search:focus-within[b-cqrzzwtoa5] {
    border-color: var(--esmart-primary);
    box-shadow: 0 0 0 3px var(--app-field-control-focus-ring);
}

.launcher-search input[b-cqrzzwtoa5] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 7px 0;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: var(--copy-default-size);
    caret-color: var(--esmart-primary);
}

.launcher-search input[b-cqrzzwtoa5]::placeholder {
    color: var(--text-secondary);
}

.launcher-search input[b-cqrzzwtoa5]::-webkit-search-cancel-button {
    display: none;
}

.launcher-search .launcher-search-clear[b-cqrzzwtoa5] {
    display: none;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
}

.launcher-search .launcher-search-clear:hover[b-cqrzzwtoa5] {
    background: rgba(249, 115, 22, 0.05);
    color: var(--esmart-primary);
}

[data-searching] .launcher-search .launcher-search-clear[b-cqrzzwtoa5] {
    display: inline-flex;
}

.launcher-search-scope [hidden][b-cqrzzwtoa5],
[data-searching] .launcher-label[b-cqrzzwtoa5],
[data-searching] .launcher-admin:not(:has([data-menu-search-item]:not([hidden])))[b-cqrzzwtoa5] {
    display: none;
}

.launcher-search-empty[b-cqrzzwtoa5] {
    display: none;
    margin: 0;
    padding: 12px 22px 16px;
    color: var(--text-secondary);
    font-size: var(--copy-default-size);
}

[data-searching][data-empty] .launcher-search-empty[b-cqrzzwtoa5] {
    display: block;
}

.launcher-tile[b-cqrzzwtoa5] {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg-secondary);
    color: #374151;
    font-size: 16px;
}

/* Same Ant Design palette as the document workflow side panel. */
.launcher-tile[data-tone][b-cqrzzwtoa5] {
    background: var(--tone-bg);
    color: var(--tone-fg);
}

.launcher-tile[data-tone="blue"][b-cqrzzwtoa5] { --tone-fg: #1890ff; --tone-bg: #e6f7ff; }
.launcher-tile[data-tone="geekblue"][b-cqrzzwtoa5] { --tone-fg: #2f54eb; --tone-bg: #f0f5ff; }
.launcher-tile[data-tone="cyan"][b-cqrzzwtoa5] { --tone-fg: #13c2c2; --tone-bg: #e6fffb; }
.launcher-tile[data-tone="green"][b-cqrzzwtoa5] { --tone-fg: #52c41a; --tone-bg: #f6ffed; }
.launcher-tile[data-tone="gold"][b-cqrzzwtoa5] { --tone-fg: #faad14; --tone-bg: #fffbe6; }
.launcher-tile[data-tone="orange"][b-cqrzzwtoa5] { --tone-fg: #fa8c16; --tone-bg: #fff7e6; }
.launcher-tile[data-tone="red"][b-cqrzzwtoa5] { --tone-fg: #f5222d; --tone-bg: #fff1f0; }
.launcher-tile[data-tone="magenta"][b-cqrzzwtoa5] { --tone-fg: #eb2f96; --tone-bg: #fff0f6; }
.launcher-tile[data-tone="purple"][b-cqrzzwtoa5] { --tone-fg: #722ed1; --tone-bg: #f9f0ff; }

.launcher-row.active .launcher-tile[data-tone][b-cqrzzwtoa5] {
    box-shadow: inset 0 0 0 1px var(--tone-fg);
}

.launcher-label[b-cqrzzwtoa5] {
    grid-column: 1 / -1;
    padding: 4px 10px 6px;
    font-size: var(--copy-compact-size);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--copy-default-letter-spacing);
    color: var(--text-secondary);
}

.launcher-arrow[b-cqrzzwtoa5] {
    display: inline-flex;
    color: var(--text-muted);
    font-size: 16px;
}

.launcher-admin-copy[b-cqrzzwtoa5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.launcher-body[b-cqrzzwtoa5] {
    display: flex;
    padding: 8px 6px 10px;
}

.launcher-modules[b-cqrzzwtoa5] {
    display: grid;
    gap: 2px 8px;
    align-content: start;
    padding: 0 6px;
}

.launcher-columns-1[b-cqrzzwtoa5] {
    grid-template-columns: minmax(220px, max-content);
}

.launcher-columns-2[b-cqrzzwtoa5] {
    grid-template-columns: repeat(2, minmax(220px, max-content));
}

/* Dashboard is home, not a module: its own row above the module grid. */
.launcher-home[b-cqrzzwtoa5] {
    grid-column: 1 / -1;
}

.launcher-divider[b-cqrzzwtoa5] {
    grid-column: 1 / -1;
    height: 1px;
    margin: 4px 10px 6px;
    background: var(--sidebar-border);
}

[data-searching] .launcher-divider[b-cqrzzwtoa5] {
    display: none;
}

.launcher-license-notice[b-cqrzzwtoa5] {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    max-width: 300px;
    padding: 7px 10px;
    font-size: var(--copy-default-size);
    color: var(--text-primary);
}

.launcher-license-copy[b-cqrzzwtoa5] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.launcher-license-copy p[b-cqrzzwtoa5] {
    margin: 0;
}

.launcher-license-activate[b-cqrzzwtoa5] {
    width: auto;
    padding: 5px 10px;
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    color: var(--esmart-primary-dark, #c2410c);
    font-weight: var(--font-weight-medium);
}

.launcher-license-activate:hover:not(:disabled)[b-cqrzzwtoa5] {
    border-color: #fdba74;
    background: rgba(249, 115, 22, 0.05);
}

.launcher-row[b-cqrzzwtoa5] {
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: #374151;
    font-size: var(--copy-guided-size);
    font-weight: var(--font-weight-medium);
}

.launcher-row-title[b-cqrzzwtoa5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.launcher-row:hover:not(:disabled)[b-cqrzzwtoa5] {
    background: rgba(249, 115, 22, 0.05);
    color: var(--text-primary);
}

.launcher-row:hover:not(:disabled) .launcher-tile:not([data-tone])[b-cqrzzwtoa5] {
    color: var(--esmart-primary);
}

.launcher-row.active[b-cqrzzwtoa5] {
    background: rgba(249, 115, 22, 0.08);
    color: var(--esmart-primary);
    font-weight: var(--font-weight-semibold);
}

.launcher-row.active .launcher-tile:not([data-tone])[b-cqrzzwtoa5],
.launcher-admin-head.active .launcher-tile[b-cqrzzwtoa5] {
    background: var(--card-bg);
    color: var(--esmart-primary);
    box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.25);
}

.launcher-admin[b-cqrzzwtoa5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 220px;
    margin-right: 6px;
    padding: 8px;
    border-radius: 10px;
    background: var(--glass-bg-base);
}

.launcher-admin .launcher-tile:not([data-tone])[b-cqrzzwtoa5] {
    background: var(--card-bg);
}

.launcher-admin-head[b-cqrzzwtoa5] {
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid var(--sidebar-border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
}

.launcher-admin-head:hover:not(:disabled)[b-cqrzzwtoa5] {
    border-color: #fdba74;
}

.launcher-admin .launcher-admin-head .launcher-tile[b-cqrzzwtoa5] {
    background: var(--tone-fg, #374151);
    color: #fff;
}

.launcher-admin-head .launcher-arrow[b-cqrzzwtoa5] {
    margin-left: auto;
}

.launcher-admin-title[b-cqrzzwtoa5] {
    font-size: var(--copy-guided-size);
    font-weight: var(--font-weight-medium);
}

.launcher-admin-tier[b-cqrzzwtoa5] {
    font-size: var(--copy-compact-size);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .launcher-body[b-cqrzzwtoa5] {
        flex-direction: column;
        gap: 8px;
    }

    .launcher-columns-1[b-cqrzzwtoa5],
    .launcher-columns-2[b-cqrzzwtoa5] {
        grid-template-columns: minmax(0, 1fr);
    }

    .launcher-admin[b-cqrzzwtoa5] {
        width: auto;
        margin: 0 6px;
    }
}
/* /Components/Layout/ModuleMenuSearch.razor.rz.scp.css */
module-menu-search[b-hi1oqcd195] {
    display: block;
}

.menu-search-field[b-hi1oqcd195] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 4px 12px;
    padding: 0 8px;
    min-height: 40px;
    border: var(--border-hairline);
    border-radius: var(--radius-sm);
    background: var(--glass-bg-white);
    color: var(--text-secondary);
}

.menu-search-field:focus-within[b-hi1oqcd195] {
    border-color: var(--esmart-primary);
    box-shadow: 0 0 0 3px var(--app-field-control-focus-ring);
}

input[b-hi1oqcd195] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 8px 0;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: var(--copy-default-size);
    caret-color: var(--esmart-primary);
}

input[b-hi1oqcd195]::placeholder {
    color: var(--text-secondary);
}

input[b-hi1oqcd195]::-webkit-search-cancel-button {
    display: none;
}

button[b-hi1oqcd195] {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

button:hover[b-hi1oqcd195], a:hover[b-hi1oqcd195] {
    background: var(--sidebar-accent-glow);
    color: var(--esmart-primary);
}

button:focus-visible[b-hi1oqcd195], a:focus-visible[b-hi1oqcd195] {
    outline: 2px solid var(--esmart-primary);
    outline-offset: -2px;
}

.menu-search-results[b-hi1oqcd195] {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

a[b-hi1oqcd195] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: var(--copy-default-size);
    overflow-wrap: anywhere;
    text-decoration: none;
}

small[b-hi1oqcd195] {
    color: var(--text-secondary);
    font-size: var(--copy-compact-size);
}

.menu-search-empty[b-hi1oqcd195] {
    display: none;
    padding: 12px;
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--copy-default-size);
}

[data-searching] button[b-hi1oqcd195] {
    display: inline-flex;
}

[data-searching] .menu-search-results[b-hi1oqcd195],
[data-searching][data-empty] .menu-search-empty[b-hi1oqcd195] {
    display: block;
}
/* /Components/Layout/ProtectedLayout.razor.rz.scp.css */
/* ==========================================================================
   ProtectedLayout - Scoped Component Styles
   Modern SaaS Dashboard Design
   ========================================================================== */

/* Nav section visibility — keeps DOM nodes stable to prevent Blazor/AntDesign insertBefore errors */
[b-gfn7tz80w7] .nav-hidden {
    display: none !important;
}

.impersonation-banner[b-gfn7tz80w7] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid #ffc53d;
    background: #fff7e6;
    color: #613400;
}

.impersonation-banner-icon[b-gfn7tz80w7] {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #fa8c16;
    color: #fff;
}

.impersonation-banner-copy[b-gfn7tz80w7] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    gap: 1px;
}

.impersonation-banner-copy span[b-gfn7tz80w7] {
    color: #874d00;
    font-size: 12px;
}

.impersonation-banner-return[b-gfn7tz80w7] {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #d46b08;
    border-radius: 8px;
    background: #fff;
    color: #ad4e00;
    cursor: pointer;
    font-weight: 600;
}

.impersonation-banner-return:hover:not(:disabled)[b-gfn7tz80w7] {
    background: #fff1b8;
}

.impersonation-banner-return:disabled[b-gfn7tz80w7] {
    cursor: wait;
    opacity: 0.65;
}

/* --------------------------------------------------------------------------
   Mobile Menu Toggle - Hidden on desktop, visible on tablet/mobile
   -------------------------------------------------------------------------- */
.mobile-menu-toggle[b-gfn7tz80w7] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-md, 12px);
    cursor: pointer;
    color: var(--text-secondary, #6b7280);
    transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover[b-gfn7tz80w7] {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary, #111827);
}

.mobile-menu-toggle:active[b-gfn7tz80w7] {
    transform: scale(0.9);
}

.mobile-menu-toggle .anticon[b-gfn7tz80w7] {
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   Sidebar Overlay - Backdrop for mobile sidebar
   -------------------------------------------------------------------------- */
.sidebar-overlay[b-gfn7tz80w7] {
    display: none;
}

/* --------------------------------------------------------------------------
   Responsive: Large Desktop (> 1200px) — default styles apply
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Responsive: Small Desktop / Large Tablet (992px – 1200px)
   Compact nav tabs, tighter header spacing
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .modern-header[b-gfn7tz80w7] {
        padding: 0 20px;
        gap: 16px;
    }

    .identity-trigger[b-gfn7tz80w7] {
        min-width: 160px;
        max-width: 220px;
    }

    .identity-name[b-gfn7tz80w7],
    .identity-level[b-gfn7tz80w7] {
        max-width: 132px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768px – 992px)
   Sidebar becomes off-canvas overlay, header simplifies
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Sidebar: Fixed overlay off-canvas with slide transition */
    .modern-sidebar[b-gfn7tz80w7] {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1),
                    box-shadow 300ms cubic-bezier(0.25, 1, 0.5, 1);
    }

    .modern-sidebar.collapsed[b-gfn7tz80w7] {
        transform: translateX(-100%);
        box-shadow: none;
    }

    /* Show overlay backdrop when sidebar is open */
    .sidebar-overlay[b-gfn7tz80w7] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        animation: overlayFadeIn-b-gfn7tz80w7 250ms cubic-bezier(0.25, 1, 0.5, 1) both;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle[b-gfn7tz80w7] {
        display: flex;
    }

    /* Header: Compact */
    .modern-header[b-gfn7tz80w7] {
        padding: 0 16px;
        gap: 12px;
    }

    /* Keep module selector reachable while the sidebar is off-canvas. */
    .header-left[b-gfn7tz80w7] {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
    }

    .brand-logo[b-gfn7tz80w7] {
        flex: 0 0 auto;
    }

    .current-module[b-gfn7tz80w7] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Content: Reduced padding */
    .modern-content[b-gfn7tz80w7] {
        padding: 12px 20px 16px;
    }

    /* Collapse toggle in sidebar: hide on mobile (use overlay to close) */
    .collapse-toggle[b-gfn7tz80w7] {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (480px – 768px)
   Touch-optimized targets, simplified header
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .impersonation-banner[b-gfn7tz80w7] {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .impersonation-banner-copy[b-gfn7tz80w7] {
        flex-basis: calc(100% - 46px);
    }

    .impersonation-banner-return[b-gfn7tz80w7] {
        width: 100%;
    }

    .modern-header[b-gfn7tz80w7] {
        padding: 0 12px;
        gap: 8px;
        height: 56px;
    }

    .header-actions[b-gfn7tz80w7] {
        gap: 2px;
        flex: 0 0 auto;
    }

    .brand-divider[b-gfn7tz80w7],
    .current-module[b-gfn7tz80w7] {
        display: none;
    }

    .header-btn[b-gfn7tz80w7] {
        width: 36px;
        height: 36px;
    }

    .identity-trigger[b-gfn7tz80w7] {
        width: auto;
        min-width: 150px;
        max-width: 190px;
        height: 40px;
    }

    .identity-avatar[b-gfn7tz80w7] {
        width: 30px;
        height: 30px;
    }

    .identity-name[b-gfn7tz80w7],
    .identity-level[b-gfn7tz80w7] {
        max-width: 108px;
    }

    .nav-all-btn[b-gfn7tz80w7] {
        width: 34px;
        height: 34px;
    }

    .modern-content[b-gfn7tz80w7] {
        padding: 8px 12px 16px;
    }

    /* Breadcrumb: tighter on mobile */
    .page-breadcrumb[b-gfn7tz80w7] {
        margin: 4px 0 8px 0;
    }

    /* Unauthorized card: full width on mobile */
    .unauthorized-card[b-gfn7tz80w7] {
        margin: 40px 16px;
        padding: 32px 24px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Small Mobile (< 480px)
   Minimum viable layout, dropdown-only navigation
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .modern-header[b-gfn7tz80w7] {
        padding: 0 8px;
        gap: 6px;
        height: 52px;
    }

    /* Make the "all modules" dropdown button more prominent */
    .brand-logo[b-gfn7tz80w7] {
        width: 40px;
        height: 40px;
        border-radius: var(--radius-lg, 16px);
    }

    /* Wrapper adjusts */
    .top-nav-wrapper[b-gfn7tz80w7] {
        flex: 0 0 auto;
    }

    .mobile-menu-toggle[b-gfn7tz80w7] {
        width: 36px;
        height: 36px;
    }

    .header-btn[b-gfn7tz80w7] {
        width: 34px;
        height: 34px;
    }

    .identity-trigger[b-gfn7tz80w7] {
        width: auto;
        min-width: 132px;
        max-width: 152px;
        height: 38px;
        gap: 6px;
        padding-right: 6px;
    }

    .identity-avatar[b-gfn7tz80w7] {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .identity-name[b-gfn7tz80w7],
    .identity-level[b-gfn7tz80w7] {
        max-width: 78px;
    }

    .identity-caret[b-gfn7tz80w7] {
        display: none;
    }

    .header-btn .anticon[b-gfn7tz80w7] {
        font-size: 1rem;
    }

    .modern-content[b-gfn7tz80w7] {
        padding: 8px 8px 12px;
    }

    /* Unauthorized card: edge-to-edge on small phones */
    .unauthorized-card[b-gfn7tz80w7] {
        margin: 24px 8px;
        padding: 24px 16px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Landscape Mobile
   Shorter header, maximize vertical content space
   -------------------------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
    .modern-header[b-gfn7tz80w7] {
        height: 48px;
    }

    .mobile-menu-toggle[b-gfn7tz80w7] {
        width: 36px;
        height: 36px;
    }

    .header-btn[b-gfn7tz80w7] {
        width: 34px;
        height: 34px;
    }

    .identity-trigger[b-gfn7tz80w7] {
        width: auto;
        min-width: 132px;
        height: 38px;
    }

    .modern-content[b-gfn7tz80w7] {
        padding: 6px 16px 8px;
    }

    /* Sidebar: narrower in landscape to save horizontal space */
    .modern-sidebar[b-gfn7tz80w7] {
        width: 240px;
    }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

/* Animation for sidebar toggle — smooth exponential deceleration */
[b-gfn7tz80w7] .modern-sidebar {
    transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1),
                padding 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth transitions for menu items */
[b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-item,
[b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-submenu-title {
    transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
}

[b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-item:active,
[b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-submenu-title:active {
    transform: scale(0.98);
}

.legacy-workflow-group-title[b-gfn7tz80w7] {
    padding: 8px 18px 4px 34px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

@keyframes fadeIn-b-gfn7tz80w7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes overlayFadeIn-b-gfn7tz80w7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Accessibility: Focus styles
   -------------------------------------------------------------------------- */
[b-gfn7tz80w7] .header-btn:focus-visible,
[b-gfn7tz80w7] .collapse-toggle:focus-visible,
[b-gfn7tz80w7] .mobile-menu-toggle:focus-visible,
[b-gfn7tz80w7] .nav-all-btn:focus-visible {
    outline: 2px solid var(--esmart-primary);
    outline-offset: 2px;
}

[b-gfn7tz80w7] .identity-trigger:focus-visible {
    outline: 2px solid rgba(234, 88, 12, 0.38);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.08);
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    [b-gfn7tz80w7] .modern-sidebar {
        transition: none;
    }

    [b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-item,
    [b-gfn7tz80w7] .modern-sidebar-menu .ant-menu-submenu-title {
        transition: none;
        transform: none !important;
    }

    .sidebar-overlay[b-gfn7tz80w7] {
        animation: none;
    }

    .nav-all-btn[b-gfn7tz80w7],
    .mobile-menu-toggle[b-gfn7tz80w7],
    .header-btn[b-gfn7tz80w7],
    [b-gfn7tz80w7] .collapse-toggle,
    [b-gfn7tz80w7] .team-toggle,
    [b-gfn7tz80w7] .team-logo,
    [b-gfn7tz80w7] .team-selector {
        transition: none;
        animation: none;
    }

    [b-gfn7tz80w7] .collapse-toggle .anticon,
    [b-gfn7tz80w7] .team-toggle .anticon {
        transition: none;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   Print styles
   -------------------------------------------------------------------------- */
@media print {
    .modern-sidebar[b-gfn7tz80w7],
    .modern-header[b-gfn7tz80w7],
    .sidebar-overlay[b-gfn7tz80w7] {
        display: none !important;
    }

    /* overrides height:100vh, overflow:hidden */
    .modern-layout[b-gfn7tz80w7] {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* overrides flex column with min-height:0 */
    .modern-main[b-gfn7tz80w7] {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* overrides overflow-y:auto */
    .modern-content[b-gfn7tz80w7] {
        padding: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
/* Search owns its result list; the existing menu keeps its expanded state. */
.sidebar-nav[b-gfn7tz80w7]  module-menu-search[data-searching] + .modern-sidebar-menu {
    display: none;
}

/* Explicit route opt-in changes only visible chrome; authorization and DOM owners remain intact. */
.compact-popup-layout[b-gfn7tz80w7] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    background: var(--surface-default, #fff);
}
.compact-popup-layout > .modern-sidebar[b-gfn7tz80w7],
.compact-popup-layout > .sidebar-overlay[b-gfn7tz80w7],
.compact-popup-layout .modern-header[b-gfn7tz80w7],
.compact-popup-layout .page-breadcrumb[b-gfn7tz80w7] { display: none; }
.compact-popup-layout .modern-main[b-gfn7tz80w7] {
    display: block;
    min-width: 0;
    background: var(--surface-default, #fff);
}
.compact-popup-layout .modern-content[b-gfn7tz80w7] {
    padding: var(--spacing-sm, .5rem);
    min-width: 0;
    overflow: visible;
    background: var(--surface-default, #fff);
    animation: none;
}
/* /Components/Layout/ShellCompanyLogo.razor.rz.scp.css */
.team-logo.team-logo--company[b-h132t8nonx] {
    width: auto;
    max-width: 196px;
    margin-right: auto;
    padding: 2px 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.team-logo--company img[b-h132t8nonx] {
    display: block;
    height: 34px;
    max-width: 100%;
    object-fit: contain;
}
/* /Components/Layout/ShellCompanyName.razor.rz.scp.css */
.shell-company[b-ad2vdyugl3] {
    min-width: 0;
    max-width: 320px;
    margin-right: 8px;
    padding-right: 16px;
    border-right: 1px solid var(--border-color, #e5e7eb);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    text-align: right;
    overflow: hidden;
}

.shell-company-name[b-ad2vdyugl3] {
    max-width: 100%;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: var(--text-primary, #111827);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-company-desc[b-ad2vdyugl3] {
    max-width: 100%;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--text-secondary, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-company[b-ad2vdyugl3]  font[size] {
    font-size: inherit;
}

.shell-company[b-ad2vdyugl3]  font[color] {
    color: inherit;
}

@media (max-width: 768px) {
    .shell-company[b-ad2vdyugl3] {
        display: none;
    }
}
/* /Components/Pages/ChangePassword.razor.rz.scp.css */
/* ChangePassword Page - Matches Login.razor visual style */

/* ==================== Page Layout ==================== */

.cp-page[b-cyf7ao0lkm] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-cyf7ao0lkm] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-cyf7ao0lkm] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-cyf7ao0lkm] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-cyf7ao0lkm 25s ease-in-out infinite;
}

.shape-2[b-cyf7ao0lkm] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-cyf7ao0lkm 20s ease-in-out infinite;
}

.shape-3[b-cyf7ao0lkm] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-cyf7ao0lkm 22s ease-in-out infinite;
}

.shape-4[b-cyf7ao0lkm] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-cyf7ao0lkm 18s ease-in-out infinite;
}

.shape-5[b-cyf7ao0lkm] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-cyf7ao0lkm 23s ease-in-out infinite;
}

@keyframes float1-b-cyf7ao0lkm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-cyf7ao0lkm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-cyf7ao0lkm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-cyf7ao0lkm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-cyf7ao0lkm {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.cp-container[b-cyf7ao0lkm] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-cyf7ao0lkm] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-cyf7ao0lkm] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-cyf7ao0lkm]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-cyf7ao0lkm] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-cyf7ao0lkm] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Card ==================== */

.cp-card[b-cyf7ao0lkm] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-cyf7ao0lkm] {
    width: 100%;
}

.form-header[b-cyf7ao0lkm] {
    text-align: center;
    margin-bottom: 28px;
}

.form-title[b-cyf7ao0lkm] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-cyf7ao0lkm] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Form Styling ==================== */

[b-cyf7ao0lkm] .cp-form .ant-form-item {
    margin-bottom: 20px;
}

[b-cyf7ao0lkm] .cp-form .ant-form-item-label > label {
    color: #334155;
    font-weight: 500;
    font-size: 13px;
    height: auto;
    margin-bottom: 6px;
}

[b-cyf7ao0lkm] .cp-form .ant-form-item-label > label::before {
    color: #ef4444 !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input,
[b-cyf7ao0lkm] .cp-form .ant-input-affix-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input:hover,
[b-cyf7ao0lkm] .cp-form .ant-input-affix-wrapper:hover {
    border-color: #94a3b8 !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input:focus,
[b-cyf7ao0lkm] .cp-form .ant-input-affix-wrapper:focus,
[b-cyf7ao0lkm] .cp-form .ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input::placeholder {
    color: #94a3b8 !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 0 16px !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password:hover {
    border-color: #94a3b8 !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password.ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password .ant-input {
    background: transparent !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password-icon {
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

[b-cyf7ao0lkm] .cp-form .ant-input-password-icon:hover {
    color: #334155;
}

[b-cyf7ao0lkm] .cp-form .ant-input-disabled,
[b-cyf7ao0lkm] .cp-form .ant-input-affix-wrapper-disabled {
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: not-allowed;
}

[b-cyf7ao0lkm] .form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ==================== Buttons ==================== */

[b-cyf7ao0lkm] .submit-btn.ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-cyf7ao0lkm] .submit-btn.ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-cyf7ao0lkm] .submit-btn.ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* ==================== Status Icon (success) ==================== */

.status-icon[b-cyf7ao0lkm] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-cyf7ao0lkm 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-cyf7ao0lkm {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.success[b-cyf7ao0lkm] {
    background: rgba(16, 185, 129, 0.1);
}

.status-icon.success[b-cyf7ao0lkm]  .anticon {
    font-size: 32px;
    color: #10b981;
}

/* ==================== Password Rules ==================== */

.password-rules[b-cyf7ao0lkm] {
    margin-bottom: 8px;
}

[b-cyf7ao0lkm] .password-rules .ant-alert {
    border-radius: 12px;
}

/* ==================== Alerts ==================== */

.alert-container[b-cyf7ao0lkm] {
    margin-top: 20px;
}

[b-cyf7ao0lkm] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-cyf7ao0lkm] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Back Link ==================== */

.back-link[b-cyf7ao0lkm] {
    text-align: center;
    margin-top: 20px;
}

.back-link a[b-cyf7ao0lkm] {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.back-link a:hover[b-cyf7ao0lkm] {
    color: #ea580c;
}

/* ==================== Footer ==================== */

.cp-footer[b-cyf7ao0lkm] {
    text-align: center;
    margin-top: 32px;
}

.cp-footer p[b-cyf7ao0lkm] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-cyf7ao0lkm] {
    animation: fadeSlideIn-b-cyf7ao0lkm 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-cyf7ao0lkm {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-cyf7ao0lkm] {
    animation: shake-b-cyf7ao0lkm 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-cyf7ao0lkm {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .cp-page[b-cyf7ao0lkm] {
        padding: 16px;
    }

    .cp-container[b-cyf7ao0lkm] {
        max-width: 100%;
    }

    .logo-section[b-cyf7ao0lkm] {
        margin-bottom: 24px;
    }

    .brand-logo[b-cyf7ao0lkm] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-cyf7ao0lkm]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-cyf7ao0lkm] {
        font-size: 26px;
    }

    .cp-card[b-cyf7ao0lkm] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-cyf7ao0lkm] {
        font-size: 22px;
    }

    .status-icon[b-cyf7ao0lkm] {
        width: 56px;
        height: 56px;
    }

    .status-icon.success[b-cyf7ao0lkm]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-cyf7ao0lkm], .shape-2[b-cyf7ao0lkm] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-cyf7ao0lkm], .shape-4[b-cyf7ao0lkm], .shape-5[b-cyf7ao0lkm] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-cyf7ao0lkm],
    .animate-fade-in[b-cyf7ao0lkm],
    .animate-shake[b-cyf7ao0lkm],
    .status-icon[b-cyf7ao0lkm] {
        animation: none;
    }

    [b-cyf7ao0lkm] .submit-btn.ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* /Components/Pages/HelpShow.razor.rz.scp.css */
.help-show[b-10rez1jhu2] {
    min-height: 100vh;
    padding: 18px 20px;
    color: #111827;
    background: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
/* /Components/Pages/Login.razor.rz.scp.css */
@font-face {
    font-family: "Noto Sans Thai";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("/fonts/noto-sans-thai/noto-sans-thai-thai.woff2") format("woff2");
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

.login-page[b-99uvfypezx] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #eef0f4;
    color: #111827;
    --copy-placeholder-color: #6b7280;
}

.login-page [b-99uvfypezx]::selection {
    background: rgba(234, 88, 12, 0.18);
    color: #111827;
}

.login-frame[b-99uvfypezx] {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    width: min(1200px, calc(100% - 48px));
    min-height: min(720px, calc(100dvh - 120px));
    margin: 24px auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}

.login-panel[b-99uvfypezx] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
    padding: 36px 40px 40px;
    border-radius: 16px;
    container-type: inline-size;
    overflow: hidden;
    isolation: isolate;
    background: #f5f5f7;
}

.login-panel[b-99uvfypezx]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/Images/login/lobby.webp") var(--lobby-light-position, center) / cover no-repeat;
    animation: panelSettle-b-99uvfypezx 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes panelSettle-b-99uvfypezx {
    from {
        opacity: 0.4;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.login-company[b-99uvfypezx] {
    display: contents;
}

.login-company-logo[b-99uvfypezx] {
    display: block;
    max-width: 180px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.login-company-name[b-99uvfypezx] {
    margin-top: auto;
    font-family: Inter, "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.75rem, 10.2cqi, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111827;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.login-company-name[b-99uvfypezx]  .login-name-word {
    white-space: nowrap;
}

.login-company-name[b-99uvfypezx]  font[size] {
    font-size: inherit;
}

.login-company-name[b-99uvfypezx]  small {
    display: block;
    margin-top: 10px;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    color: #111827;
    opacity: 0.72;
}

.login-system-brand[b-99uvfypezx] {
    display: contents;
}

.login-system-logo[b-99uvfypezx] {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.login-system-tagline[b-99uvfypezx] {
    margin: auto 0 0;
    max-width: 14ch;
    font-size: clamp(1.75rem, 10.2cqi, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111827;
    text-wrap: balance;
}

.login-card[b-99uvfypezx] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-width: 0;
    padding: 48px 40px 28px;
}

.login-language[b-99uvfypezx] {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}

.login-language-btn[b-99uvfypezx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    max-width: 220px;
    padding: 0 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.login-language-btn:hover[b-99uvfypezx] {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.login-language-btn:active[b-99uvfypezx] {
    transform: scale(0.96);
}

.login-language-btn:focus-visible[b-99uvfypezx] {
    outline: 2px solid var(--esmart-primary);
    outline-offset: 2px;
}

.login-language-btn[b-99uvfypezx]  .anticon {
    font-size: 1.125rem;
}

.login-language-btn[b-99uvfypezx]  .login-language-caret {
    font-size: 0.75rem;
}

.login-language-label[b-99uvfypezx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-desk[b-99uvfypezx] {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

.form-content[b-99uvfypezx] {
    width: 100%;
}

.admin-otp-profile-switch-flow[b-99uvfypezx] {
    display: grid;
    gap: 16px;
}

.form-header[b-99uvfypezx] {
    margin-bottom: 28px;
}

.form-title[b-99uvfypezx] {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111827;
}

.form-subtitle[b-99uvfypezx] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
}

.login-card[b-99uvfypezx]  .login-form .ant-form-item {
    margin-bottom: 18px;
}

.login-card[b-99uvfypezx]  .login-form .ant-form-item-label {
    padding-bottom: 6px;
}

.login-card[b-99uvfypezx]  .login-form .ant-form-item-label > label {
    height: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
}

.login-card[b-99uvfypezx]  .login-form .ant-form-item-label > label::before {
    display: none;
}

.login-card[b-99uvfypezx]  .login-form .ant-input {
    height: 42px;
    padding: 0 12px;
    font-size: 0.875rem;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
    caret-color: #ea580c;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-card[b-99uvfypezx]  .login-form .ant-input:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14) !important;
    outline: none;
}

.login-card[b-99uvfypezx]  .login-form .ant-form-item-explain-error {
    margin-top: 4px;
    font-size: 0.8125rem;
}

.login-card[b-99uvfypezx]  .login-options-form-item.ant-form-item {
    margin: 2px 0 22px;
}

.login-session-options[b-99uvfypezx] {
    display: grid;
    gap: 10px;
}

.login-option[b-99uvfypezx] {
    min-width: 0;
}

.login-remember-option[b-99uvfypezx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-option-label[b-99uvfypezx] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111827;
}

.login-option-help[b-99uvfypezx] {
    margin: 2px 0 0 24px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b7280;
}

.login-password-safety[b-99uvfypezx] {
    color: #6b7280;
}

.login-reset-link[b-99uvfypezx] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111827;
    text-decoration: underline;
    text-decoration-color: #d1d5db;
    text-underline-offset: 3px;
    transition: text-decoration-color 160ms ease;
}

.login-reset-link:hover[b-99uvfypezx],
.login-reset-link:focus-visible[b-99uvfypezx] {
    color: #111827;
    text-decoration-color: #111827;
}

.login-reset-link:focus-visible[b-99uvfypezx] {
    border-radius: 6px;
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox-wrapper {
    align-items: center;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox {
    top: 0;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox-inner {
    border-color: #cbd5e1;
    border-radius: 6px;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox-checked .ant-checkbox-inner {
    background: #ea580c;
    border-color: #ea580c;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox-wrapper:hover .ant-checkbox-inner,
.login-card[b-99uvfypezx]  .login-option .ant-checkbox-input:focus-visible + .ant-checkbox-inner {
    border-color: #ea580c;
}

.login-card[b-99uvfypezx]  .login-option .ant-checkbox-input:focus-visible + .ant-checkbox-inner {
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.login-card[b-99uvfypezx]  .form-submit.ant-form-item {
    margin-bottom: 0;
}

.login-card[b-99uvfypezx]  .ant-btn-primary {
    height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #c2410c;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.22);
    transition: filter 160ms ease, box-shadow 160ms ease;
}

.login-card[b-99uvfypezx]  .ant-btn-primary:hover:not(:disabled) {
    background: #c2410c;
    filter: brightness(0.9);
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.26);
}

.login-card[b-99uvfypezx]  .ant-btn-primary:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

.login-card[b-99uvfypezx]  .ant-btn-primary:disabled {
    color: #ffffff;
    background: #c2410c;
    opacity: 0.45;
    box-shadow: none;
    cursor: not-allowed;
}

.login-card[b-99uvfypezx]  .back-btn.ant-btn,
.login-card[b-99uvfypezx]  .azure-login-btn.ant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.login-card[b-99uvfypezx]  .back-btn.ant-btn {
    margin-top: 10px;
}

.login-card[b-99uvfypezx]  .back-btn.ant-btn:hover:not(:disabled),
.login-card[b-99uvfypezx]  .azure-login-btn.ant-btn:hover:not(:disabled) {
    color: #111827;
    border-color: #ea580c;
    background: #fff7ed;
}

.login-card[b-99uvfypezx]  .back-btn.ant-btn:focus-visible,
.login-card[b-99uvfypezx]  .azure-login-btn.ant-btn:focus-visible {
    border-color: #ea580c;
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

.login-card[b-99uvfypezx]  .azure-login-btn.ant-btn + .azure-login-btn.ant-btn {
    margin-top: 8px;
}

.azure-divider[b-99uvfypezx] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
}

.azure-divider[b-99uvfypezx]::before,
.azure-divider[b-99uvfypezx]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.azure-divider-text[b-99uvfypezx] {
    font-size: 0.8125rem;
    color: #6b7280;
    white-space: nowrap;
}

.azure-remark[b-99uvfypezx] {
    margin: 10px 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: center;
    color: #6b7280;
    overflow-wrap: anywhere;
}

.azure-remark[b-99uvfypezx]  font[color] {
    color: #111827;
    font-weight: 500;
}

.org-cards-container[b-99uvfypezx] {
    display: grid;
    gap: 8px;
    max-height: 320px;
    margin-bottom: 20px;
    padding: 2px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.org-card[b-99uvfypezx] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    text-align: left;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.org-card:hover[b-99uvfypezx] {
    border-color: #cbd5e1;
    background: #f9fafb;
}

.org-card:focus-visible[b-99uvfypezx] {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

.org-card.selected[b-99uvfypezx] {
    border-color: #ea580c;
    background: #fff7ed;
}

.org-card-icon[b-99uvfypezx] {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f5f5f7;
    color: #6b7280;
    font-size: 17px;
}

.org-card.selected .org-card-icon[b-99uvfypezx] {
    background: #ffffff;
    color: #c2410c;
}

.org-card-content[b-99uvfypezx] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.org-card-name[b-99uvfypezx] {
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-card-level[b-99uvfypezx] {
    font-size: 0.8125rem;
    color: #6b7280;
}

.org-card-check[b-99uvfypezx] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    transition: border-color 160ms ease, border-width 160ms ease;
}

.org-card.selected .org-card-check[b-99uvfypezx] {
    border: 5px solid #ea580c;
}

.action-buttons[b-99uvfypezx] {
    display: grid;
}

.action-buttons[b-99uvfypezx]  .back-btn.ant-btn {
    margin-top: 10px;
}

.alert-container[b-99uvfypezx] {
    margin-top: 16px;
}

.alert-container[b-99uvfypezx]  .ant-alert,
.login-card[b-99uvfypezx]  .warning-alert {
    border-radius: 12px;
    font-size: 0.8125rem;
}

.login-card[b-99uvfypezx]  .warning-alert {
    margin-bottom: 16px;
}

.login-powered-by[b-99uvfypezx] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.login-powered-mark[b-99uvfypezx] {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.login-powered-by strong[b-99uvfypezx] {
    font-weight: 600;
    color: #111827;
}

.login-footer[b-99uvfypezx]  .home-message-footer {
    margin: 0;
    padding: 12px max(24px, calc((100% - 1200px) / 2));
    border: 0;
    border-radius: 0;
    background: #111827;
    color: #d1d5db;
}

.login-footer[b-99uvfypezx]  .home-message {
    padding: 0;
    background: none;
}

.login-footer p[b-99uvfypezx] {
    margin: 0 0 20px;
    font-size: 0.8125rem;
    text-align: center;
    color: #6b7280;
}

.animate-fade-in[b-99uvfypezx] {
    animation: fadeRise-b-99uvfypezx 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeRise-b-99uvfypezx {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.animate-shake[b-99uvfypezx] {
    animation: shake-b-99uvfypezx 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-99uvfypezx {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

@media (max-width: 900px) {
    .login-frame[b-99uvfypezx] {
        grid-template-columns: minmax(0, 1fr);
        width: min(560px, calc(100% - 32px));
        min-height: 0;
        margin: 16px auto;
    }

    .login-panel[b-99uvfypezx] {
        min-height: 200px;
        padding: 24px 28px 28px;
        gap: 24px;
    }

    .login-panel[b-99uvfypezx] {
        --lobby-light-position: center 88%;
    }

    .login-company-name[b-99uvfypezx],
    .login-system-tagline[b-99uvfypezx] {
        max-width: none;
        font-size: 1.625rem;
    }

    .login-card[b-99uvfypezx] {
        padding: 32px 28px 24px;
    }

    .login-card:has(.login-language)[b-99uvfypezx] {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .login-page[b-99uvfypezx] {
        background: #ffffff;
    }

    .login-frame[b-99uvfypezx] {
        width: 100%;
        margin: 0;
        padding: 8px;
        border-radius: 0;
        box-shadow: none;
    }

    .login-panel[b-99uvfypezx] {
        min-height: 168px;
        padding: 20px 22px 22px;
    }

    .login-company-logo[b-99uvfypezx] {
        max-height: 40px;
    }

    .login-system-logo[b-99uvfypezx] {
        height: 40px;
    }

    .login-company-name[b-99uvfypezx],
    .login-system-tagline[b-99uvfypezx] {
        font-size: 1.375rem;
    }

    .login-card[b-99uvfypezx] {
        padding: 28px 14px 20px;
    }

    .login-card:has(.login-language)[b-99uvfypezx] {
        padding-top: 56px;
    }

    .login-language[b-99uvfypezx] {
        top: 8px;
        right: 8px;
    }

    .form-title[b-99uvfypezx] {
        font-size: 1.5rem;
    }

    .login-remember-option[b-99uvfypezx] {
        flex-wrap: wrap;
    }

    .login-footer[b-99uvfypezx]  .home-message-footer {
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-panel[b-99uvfypezx]::before,
    .animate-fade-in[b-99uvfypezx],
    .animate-shake[b-99uvfypezx] {
        animation: none;
    }

    .org-card[b-99uvfypezx],
    .org-card-check[b-99uvfypezx],
    .login-language-btn[b-99uvfypezx],
    .login-card[b-99uvfypezx]  .ant-input,
    .login-card[b-99uvfypezx]  .ant-btn-primary {
        transition: none;
    }
}
/* /Components/Pages/LoginEmailOtp.razor.rz.scp.css */
/* LoginEmailOtp Page - Reuses Login page styling pattern */

/* ==================== Page Layout ==================== */

.login-page[b-sczc07w4pl] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-sczc07w4pl] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-sczc07w4pl] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-sczc07w4pl] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-sczc07w4pl 25s ease-in-out infinite;
}

.shape-2[b-sczc07w4pl] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-sczc07w4pl 20s ease-in-out infinite;
}

.shape-3[b-sczc07w4pl] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-sczc07w4pl 22s ease-in-out infinite;
}

.shape-4[b-sczc07w4pl] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-sczc07w4pl 18s ease-in-out infinite;
}

.shape-5[b-sczc07w4pl] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-sczc07w4pl 23s ease-in-out infinite;
}

@keyframes float1-b-sczc07w4pl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-sczc07w4pl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-sczc07w4pl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-sczc07w4pl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-sczc07w4pl {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.login-container[b-sczc07w4pl] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-sczc07w4pl] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-sczc07w4pl] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-sczc07w4pl]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-sczc07w4pl] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-sczc07w4pl] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Login Card ==================== */

.login-card[b-sczc07w4pl] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-sczc07w4pl] {
    width: 100%;
}

.form-header[b-sczc07w4pl] {
    text-align: center;
    margin-bottom: 24px;
}

.form-title[b-sczc07w4pl] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-sczc07w4pl] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Status Icon ==================== */

.status-icon[b-sczc07w4pl] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-sczc07w4pl 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-sczc07w4pl {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.info[b-sczc07w4pl] {
    background: rgba(234, 88, 12, 0.1);
}

.status-icon.info[b-sczc07w4pl]  .anticon {
    font-size: 32px;
    color: #ea580c;
}

/* ==================== OTP Info Section ==================== */

.otp-info-section[b-sczc07w4pl] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.otp-info-row[b-sczc07w4pl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.otp-info-row + .otp-info-row[b-sczc07w4pl] {
    border-top: 1px solid #f1f5f9;
}

.otp-info-label[b-sczc07w4pl] {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.otp-info-value[b-sczc07w4pl] {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
}

/* ==================== Timer Section ==================== */

.otp-timer-section[b-sczc07w4pl] {
    text-align: center;
    margin-bottom: 20px;
}

.otp-timer[b-sczc07w4pl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 14px;
    font-weight: 500;
}

.otp-timer[b-sczc07w4pl]  .anticon {
    font-size: 16px;
}

.otp-timer.expired[b-sczc07w4pl] {
    background: #fef2f2;
    color: #dc2626;
}

/* ==================== OTP Input Section ==================== */

.otp-input-section[b-sczc07w4pl] {
    margin-bottom: 24px;
}

[b-sczc07w4pl] .otp-input-section .ant-input {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
}

[b-sczc07w4pl] .otp-input-section .ant-input:hover {
    border-color: #94a3b8 !important;
}

[b-sczc07w4pl] .otp-input-section .ant-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-sczc07w4pl] .otp-input-section .ant-input::placeholder {
    color: #94a3b8 !important;
    font-size: 15px !important;
    letter-spacing: normal !important;
}

[b-sczc07w4pl] .otp-input-section .ant-input:disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

/* ==================== Action Buttons ==================== */

.otp-actions[b-sczc07w4pl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Primary Button */
[b-sczc07w4pl] .ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-sczc07w4pl] .ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-sczc07w4pl] .ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

[b-sczc07w4pl] .ant-btn-primary:disabled {
    background: #94a3b8;
    box-shadow: none;
    opacity: 0.6;
}

[b-sczc07w4pl] .continue-btn.ant-btn-primary {
    margin-bottom: 0;
}

/* Resend Button */
[b-sczc07w4pl] .resend-btn.ant-btn-default {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-sczc07w4pl] .resend-btn.ant-btn-default:hover:not(:disabled) {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
}

[b-sczc07w4pl] .resend-btn.ant-btn-default:disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    opacity: 0.7;
}

/* Back Button */
[b-sczc07w4pl] .back-btn.ant-btn-default {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-sczc07w4pl] .back-btn.ant-btn-default:hover:not(:disabled) {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* ==================== Alerts ==================== */

.alert-container[b-sczc07w4pl] {
    margin-top: 20px;
}

[b-sczc07w4pl] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-sczc07w4pl] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Footer ==================== */

.login-footer[b-sczc07w4pl] {
    text-align: center;
    margin-top: 32px;
}

.login-footer p[b-sczc07w4pl] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-sczc07w4pl] {
    animation: fadeSlideIn-b-sczc07w4pl 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-sczc07w4pl {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-sczc07w4pl] {
    animation: shake-b-sczc07w4pl 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-sczc07w4pl {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .login-page[b-sczc07w4pl] {
        padding: 16px;
    }

    .login-container[b-sczc07w4pl] {
        max-width: 100%;
    }

    .logo-section[b-sczc07w4pl] {
        margin-bottom: 24px;
    }

    .brand-logo[b-sczc07w4pl] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-sczc07w4pl]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-sczc07w4pl] {
        font-size: 26px;
    }

    .login-card[b-sczc07w4pl] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-sczc07w4pl] {
        font-size: 22px;
    }

    .status-icon[b-sczc07w4pl] {
        width: 56px;
        height: 56px;
    }

    .status-icon.info[b-sczc07w4pl]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-sczc07w4pl], .shape-2[b-sczc07w4pl] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-sczc07w4pl], .shape-4[b-sczc07w4pl], .shape-5[b-sczc07w4pl] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-sczc07w4pl],
    .animate-fade-in[b-sczc07w4pl],
    .animate-shake[b-sczc07w4pl],
    .status-icon[b-sczc07w4pl] {
        animation: none;
    }

    [b-sczc07w4pl] .ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* /Components/Pages/ModuleHome.razor.rz.scp.css */
/* Centered empty state on the work surface: illustration, module name, purpose, next step. */
.module-home[b-ckqx9h14v2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 180px);
    padding: 24px 16px 48px;
    text-align: center;
}

.module-home__art[b-ckqx9h14v2] {
    margin-bottom: 20px;
    animation: module-home-rise-b-ckqx9h14v2 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.module-home__title[b-ckqx9h14v2] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text-primary, #111827);
    text-wrap: balance;
}

.module-home__description[b-ckqx9h14v2] {
    margin: 8px 0 0;
    max-width: 46ch;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary, #6b7280);
    text-wrap: pretty;
}

.module-home__hint[b-ckqx9h14v2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--copy-label-color, #4b5563);
}

.module-home__hint[b-ckqx9h14v2]  .anticon {
    color: var(--esmart-primary, #ea580c);
}

@keyframes module-home-rise-b-ckqx9h14v2 {
    from { opacity: 0.4; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .module-home__art[b-ckqx9h14v2] { animation: none; }
}

@media (max-width: 768px) {
    .module-home[b-ckqx9h14v2] { min-height: calc(100vh - 140px); padding: 16px 8px 32px; }
    .module-home__title[b-ckqx9h14v2] { font-size: 1.125rem; }
}
/* /Components/Pages/ModuleHomeIllustration.razor.rz.scp.css */
.ill[b-pmjplpah8h] {
    display: block;
    width: min(320px, 82vw);
    height: auto;
    aspect-ratio: 8 / 7;
    object-fit: contain;
    margin: 0 auto;
}
/* /Components/Pages/ModuleMonitoring/MonitoringProcess.razor.rz.scp.css */
.admin-mode-banner[b-8wwnvptid5] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fecaca;
    margin-bottom: 16px;
}

.design-mode-banner[b-8wwnvptid5] {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #9a3412;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fed7aa;
    margin-bottom: 16px;
}
/* /Components/Pages/ModuleMR/PendingDocument/PlanDetail.razor.rz.scp.css */
/* ไฟล์นี้ว่างโดยตั้งใจ

   CSS ของ Section A/B ย้ายไปอยู่ใน <style> ที่หัว PlanDetail.razor แล้ว
   เพราะ scoped css (.razor.css) ยิงไม่ถึง ModuleFieldWrapper / AppField
   ซึ่งอยู่คนละ assembly (esmartx.ui) — ::deep ทะลุได้แค่ลูกที่ render
   จาก markup ของไฟล์นี้เอง ไม่ทะลุเข้า component ต่าง assembly

   ถ้าจะเพิ่ม style ที่ผูกกับ markup ของไฟล์นี้โดยตรง ค่อยมาเขียนที่นี่ได้ */
/* /Components/Pages/Modules/Administrator/Admin/CommonCalendarYear.razor.rz.scp.css */
.calendar-toolbar[b-kznb140ima] { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.calendar-months[b-kznb140ima] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.calendar-month[b-kznb140ima] { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .8125rem; }
.calendar-month th[b-kznb140ima] { padding: 6px 2px; text-align: center; background: var(--app-btn-bg-hover); border: 1px solid var(--app-field-control-border); color: var(--app-field-label); }
.calendar-month td[b-kznb140ima] { height: 48px; padding: 4px; border: 1px solid var(--app-field-control-border); vertical-align: top; }
.calendar-empty[b-kznb140ima] { background: var(--app-btn-bg-hover); }
.calendar-day-event[b-kznb140ima] { background: color-mix(in srgb, var(--app-field-control-focus) 8%, var(--app-btn-bg)); }
.calendar-year-controls[b-kznb140ima] { display: flex; align-items: flex-end; gap: 8px; }
/* /Components/Pages/Modules/DocumentControl/report/ControlledDocumentReport.razor.rz.scp.css */
.zoom-filter[b-9z8s11vt2f] {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-xs);
    min-width: 0;
}

.zoom-filter > button[b-9z8s11vt2f] {
    flex: 0 0 36px;
}

/* Doc number link */
.doc-link[b-9z8s11vt2f] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.doc-link:hover[b-9z8s11vt2f] {
    color: var(--esmart-primary);
}

/* Date issue highlight */
.date-issue[b-9z8s11vt2f] {
    color: var(--accent-rose-solid);
}
/* /Components/Pages/Modules/Legal/LegalMasterData/LegalDialogList.razor.rz.scp.css */
.legal-dialog-list[b-8a5ndejru9] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.legal-dialog-list__header[b-8a5ndejru9],
.legal-dialog-list__actions[b-8a5ndejru9] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-dialog-list__header[b-8a5ndejru9] {
    justify-content: space-between;
    gap: 16px;
}

.legal-dialog-list__header h1[b-8a5ndejru9] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.legal-dialog-list__form[b-8a5ndejru9] {
    display: grid;
    gap: 16px;
}

.legal-dialog-list__form-actions[b-8a5ndejru9] {
    justify-content: flex-end;
}

@media (max-width: 575px) {
    .legal-dialog-list__header[b-8a5ndejru9] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Pages/Modules/Legal/LegalMasterData/LegalReportGraphMinistryDetail.razor.rz.scp.css */
/* Migration print-layout adaptation: let long law identifiers/subjects wrap
   without changing native widths, fields, values, links or the screen layout. */
@media print {
    [data-native-graph-ministry-page][b-nh26jvt2fg]  table[data-native-graph-table] tr[data-native-graph-row] > td:nth-child(2),
    [data-native-graph-ministry-page][b-nh26jvt2fg]  table[data-native-graph-table] tr[data-native-graph-row] > td:nth-child(3) {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Keep one law's seven cells together; pages may still break between laws. */
    [data-native-graph-ministry-page][b-nh26jvt2fg]  table[data-native-graph-table] tr[data-native-graph-row] {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
/* /Components/Pages/NotAuthorized.razor.rz.scp.css */
/* Same composition as AppErrorState: one centered column, illustration above the heading. */
.not-authorized-page[b-v7y23muy80] {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px 24px;
    background: var(--content-bg, #f9f9f9);
    color: var(--text-primary, #111827);
}

.not-authorized-content[b-v7y23muy80] {
    width: 100%;
    max-width: 480px;
}

h1[b-v7y23muy80] {
    margin: 16px 0;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p[b-v7y23muy80] {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
}
/* /Components/Pages/RequestResetPassword.razor.rz.scp.css */
/* RequestResetPassword Page - Matches Login.razor visual style */

/* ==================== Page Layout ==================== */

.rrp-page[b-786bkkkky8] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* ==================== Background Shapes ==================== */

.bg-shapes[b-786bkkkky8] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape[b-786bkkkky8] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1[b-786bkkkky8] {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    bottom: -150px;
    left: -100px;
    animation: float1-b-786bkkkky8 25s ease-in-out infinite;
}

.shape-2[b-786bkkkky8] {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fb923c, #ea580c, #c2410c);
    top: -100px;
    right: -50px;
    animation: float2-b-786bkkkky8 20s ease-in-out infinite;
}

.shape-3[b-786bkkkky8] {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #22d3d1, #14b8a6, #0d9488);
    top: 10%;
    left: 5%;
    animation: float3-b-786bkkkky8 22s ease-in-out infinite;
}

.shape-4[b-786bkkkky8] {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    bottom: 10%;
    right: 10%;
    animation: float4-b-786bkkkky8 18s ease-in-out infinite;
}

.shape-5[b-786bkkkky8] {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6, #7c3aed);
    top: 40%;
    right: 25%;
    animation: float5-b-786bkkkky8 23s ease-in-out infinite;
}

@keyframes float1-b-786bkkkky8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2-b-786bkkkky8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float3-b-786bkkkky8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 25px) scale(0.9); }
}

@keyframes float4-b-786bkkkky8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.05); }
}

@keyframes float5-b-786bkkkky8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(0.95); }
}

/* ==================== Main Container ==================== */

.rrp-container[b-786bkkkky8] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================== Logo Section ==================== */

.logo-section[b-786bkkkky8] {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo[b-786bkkkky8] {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
}

.brand-logo[b-786bkkkky8]  .logo-icon {
    font-size: 36px;
    color: white;
}

.brand-title[b-786bkkkky8] {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-tagline[b-786bkkkky8] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* ==================== Card ==================== */

.rrp-card[b-786bkkkky8] {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.04);
}

/* ==================== Form Content ==================== */

.form-content[b-786bkkkky8] {
    width: 100%;
}

.form-header[b-786bkkkky8] {
    text-align: center;
    margin-bottom: 28px;
}

.form-title[b-786bkkkky8] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.form-subtitle[b-786bkkkky8] {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==================== Form Styling ==================== */

[b-786bkkkky8] .rrp-form .ant-form-item {
    margin-bottom: 20px;
}

[b-786bkkkky8] .rrp-form .ant-form-item-label > label {
    color: #334155;
    font-weight: 500;
    font-size: 13px;
    height: auto;
    margin-bottom: 6px;
}

[b-786bkkkky8] .rrp-form .ant-form-item-label > label::before {
    color: #ef4444 !important;
}

[b-786bkkkky8] .rrp-form .ant-input,
[b-786bkkkky8] .rrp-form .ant-input-affix-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    transition: all 0.2s ease;
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
}

[b-786bkkkky8] .rrp-form .ant-input:hover,
[b-786bkkkky8] .rrp-form .ant-input-affix-wrapper:hover {
    border-color: #94a3b8 !important;
}

[b-786bkkkky8] .rrp-form .ant-input:focus,
[b-786bkkkky8] .rrp-form .ant-input-affix-wrapper:focus,
[b-786bkkkky8] .rrp-form .ant-input-affix-wrapper-focused {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

[b-786bkkkky8] .rrp-form .ant-input::placeholder {
    color: #94a3b8 !important;
}

[b-786bkkkky8] .form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ==================== Buttons ==================== */

[b-786bkkkky8] .submit-btn.ant-btn-primary {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-786bkkkky8] .submit-btn.ant-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

[b-786bkkkky8] .submit-btn.ant-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* ==================== Status Icon (success) ==================== */

.status-icon[b-786bkkkky8] {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce-b-786bkkkky8 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce-b-786bkkkky8 {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.status-icon.success[b-786bkkkky8] {
    background: rgba(16, 185, 129, 0.1);
}

.status-icon.success[b-786bkkkky8]  .anticon {
    font-size: 32px;
    color: #10b981;
}

/* ==================== Alerts ==================== */

.alert-container[b-786bkkkky8] {
    margin-top: 20px;
}

[b-786bkkkky8] .alert-container .ant-alert {
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

[b-786bkkkky8] .alert-container .ant-alert-message {
    color: #b91c1c;
}

/* ==================== Back Link ==================== */

.back-link[b-786bkkkky8] {
    text-align: center;
    margin-top: 20px;
}

.back-link a[b-786bkkkky8] {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.back-link a:hover[b-786bkkkky8] {
    color: #ea580c;
}

/* ==================== Footer ==================== */

.rrp-footer[b-786bkkkky8] {
    text-align: center;
    margin-top: 32px;
}

.rrp-footer p[b-786bkkkky8] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==================== Animations ==================== */

.animate-fade-in[b-786bkkkky8] {
    animation: fadeSlideIn-b-786bkkkky8 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn-b-786bkkkky8 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-shake[b-786bkkkky8] {
    animation: shake-b-786bkkkky8 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake-b-786bkkkky8 {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ==================== Responsive Design ==================== */

@media (max-width: 480px) {
    .rrp-page[b-786bkkkky8] {
        padding: 16px;
    }

    .rrp-container[b-786bkkkky8] {
        max-width: 100%;
    }

    .logo-section[b-786bkkkky8] {
        margin-bottom: 24px;
    }

    .brand-logo[b-786bkkkky8] {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .brand-logo[b-786bkkkky8]  .logo-icon {
        font-size: 30px;
    }

    .brand-title[b-786bkkkky8] {
        font-size: 26px;
    }

    .rrp-card[b-786bkkkky8] {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .form-title[b-786bkkkky8] {
        font-size: 22px;
    }

    .status-icon[b-786bkkkky8] {
        width: 56px;
        height: 56px;
    }

    .status-icon.success[b-786bkkkky8]  .anticon {
        font-size: 28px;
    }

    .shape-1[b-786bkkkky8], .shape-2[b-786bkkkky8] {
        width: 300px;
        height: 300px;
    }

    .shape-3[b-786bkkkky8], .shape-4[b-786bkkkky8], .shape-5[b-786bkkkky8] {
        width: 200px;
        height: 200px;
    }
}

/* ==================== Reduced Motion ==================== */

@media (prefers-reduced-motion: reduce) {
    .shape[b-786bkkkky8],
    .animate-fade-in[b-786bkkkky8],
    .animate-shake[b-786bkkkky8],
    .status-icon[b-786bkkkky8] {
        animation: none;
    }

    [b-786bkkkky8] .submit-btn.ant-btn-primary:hover:not(:disabled) {
        transform: none;
    }
}
/* /Components/Pages/SiteSwitch.razor.rz.scp.css */
.site-switch[b-91c436m9n0] {
    align-items: center;
    color: var(--text-primary, #111827);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 240px;
    text-align: center;
}

.site-switch h2[b-91c436m9n0] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 8px 0 0;
}

.site-switch p[b-91c436m9n0] {
    color: var(--text-secondary, #6b7280);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}
/* /Components/Shared/AccessDeniedState.razor.rz.scp.css */
.access-denied-state[b-fnd13is4ay] {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 48px);
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

.access-denied-state__header[b-fnd13is4ay] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.access-denied-state__signal[b-fnd13is4ay] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 20px;
}

.access-denied-state__eyebrow[b-fnd13is4ay] {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #dc2626;
}

.access-denied-state__body[b-fnd13is4ay] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.access-denied-state__title[b-fnd13is4ay] {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.access-denied-state__description[b-fnd13is4ay] {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
}

.access-denied-state__help[b-fnd13is4ay] {
    margin: 0;
    padding-top: 4px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
}

.access-denied-state__actions[b-fnd13is4ay] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
}

@media (max-width: 480px) {
    .access-denied-state[b-fnd13is4ay] {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .access-denied-state__body[b-fnd13is4ay] {
        margin-bottom: 24px;
    }

    .access-denied-state__actions[b-fnd13is4ay] {
        flex-wrap: wrap;
    }
}
/* /Components/Shared/DocumentReference/DocumentReferenceModal.razor.rz.scp.css */
.document-reference-modal[b-xscgrfads7] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.document-reference-modal form[b-xscgrfads7] { margin: 0 !important; }
.document-reference-summary[b-xscgrfads7] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.document-reference-summary h2[b-xscgrfads7] { margin: 0; color: var(--text-primary, #1e293b); font-size: 16px; font-weight: 600; }
.document-reference-summary > span[b-xscgrfads7] { color: var(--text-secondary, #64748b); }
.document-reference-modal[b-xscgrfads7]  .document-reference-data-table { min-width: 760px; }
.document-reference-issued[b-xscgrfads7]  .app-table { max-height: 280px; overflow-y: auto; }
.document-reference-current[b-xscgrfads7]  .app-table { max-height: 200px; overflow-y: auto; }
.document-reference-modal[b-xscgrfads7]  .document-reference-data-table th { position: sticky; top: 0; z-index: 1; }
.document-reference-modal[b-xscgrfads7]  .document-reference-selection-cell { width: 32px; }
.document-reference-modal[b-xscgrfads7]  .document-reference-center { text-align: center; }
.document-reference-modal[b-xscgrfads7]  .document-reference-date { white-space: nowrap; text-align: right; }
.document-reference-modal[b-xscgrfads7]  .document-reference-empty,
.document-reference-zoom[b-xscgrfads7]  .document-reference-empty { padding: 24px 16px; text-align: center; color: var(--text-secondary, #64748b); }
.document-reference-modal[b-xscgrfads7]  .document-reference-selected { background: var(--table-selected-row-bg, #fff7ed); }
.document-reference-modal[b-xscgrfads7]  .document-reference-sort { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.document-reference-modal[b-xscgrfads7]  .document-reference-status-issued { color: var(--success-color, #16a34a); }
.document-reference-modal[b-xscgrfads7]  .document-reference-status-other,
.document-reference-alert-warning[b-xscgrfads7] { color: var(--error-color, #dc2626); }
.document-reference-alert-warning[b-xscgrfads7] { font-size: 12px; }
.document-reference-actions[b-xscgrfads7],
.document-reference-pager[b-xscgrfads7] { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.document-reference-pager[b-xscgrfads7] { justify-content: center; padding-top: 8px; }
.document-reference-pager select[b-xscgrfads7] { padding: 6px 10px; border: 1px solid var(--border-color, #d9d9d9); border-radius: 6px; background: var(--component-background, #fff); font: inherit; }
.document-reference-page-links[b-xscgrfads7] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.document-reference-page-links a[b-xscgrfads7] { display: inline-block; padding: 4px 8px; border-radius: 6px; }
.document-reference-page-links .document-reference-current-page[b-xscgrfads7] { color: #fff; background: var(--primary-color, #fa742b); font-weight: 600; }
.document-reference-zoom[b-xscgrfads7] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.document-reference-zoom[b-xscgrfads7]  .document-reference-zoom-results { max-height: 400px; overflow-y: auto; border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; }
.document-reference-lookup-item[b-xscgrfads7] { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
@media (max-width: 767px) { .document-reference-actions[b-xscgrfads7] { justify-content: flex-start; } }
/* /Components/Shared/FileAttach/AttachFilePanel.razor.rz.scp.css */
.attach-file-panel[b-3v9rdd5w9i] {
    color: var(--text-primary, #111827);
    display: grid;
    gap: 12px;
    min-width: 0;
}

.attach-file-panel__header[b-3v9rdd5w9i] {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.attach-file-panel__header h3[b-3v9rdd5w9i] {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.attach-file-panel__header p[b-3v9rdd5w9i] {
    color: var(--text-secondary, #6b7280);
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 2px 0 0;
}

.attach-file-panel__upload[b-3v9rdd5w9i] {
    flex: 0 0 auto;
    position: relative;
}

.attach-file-panel__upload-visual[b-3v9rdd5w9i] {
    display: block;
}

.attach-file-panel__upload:focus-within[b-3v9rdd5w9i] {
    border-radius: 6px;
    outline: 3px solid color-mix(in srgb, var(--esmart-primary, #ea580c) 30%, transparent);
    outline-offset: 2px;
}

/* InputFile renders the input inside its own component, so the rule must cross the scope boundary. */
.attach-file-panel__upload[b-3v9rdd5w9i]  .attach-hidden-input {
    cursor: pointer;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.attach-file-panel__upload[b-3v9rdd5w9i]  .attach-hidden-input:disabled {
    cursor: not-allowed;
}

.attach-file-panel__loading[b-3v9rdd5w9i] {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 96px;
}

.attach-file-panel__table-shell[b-3v9rdd5w9i] {
    min-width: 0;
}

.attach-file-panel__file[b-3v9rdd5w9i] {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.attach-file-panel__pending-name[b-3v9rdd5w9i] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.attach-file-panel__tabular[b-3v9rdd5w9i] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.attach-file-panel[b-3v9rdd5w9i]  .attach-file-panel__file-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--esmart-primary-dark, #c2410c);
    height: auto;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0;
    text-align: left;
    white-space: normal;
}

.attach-file-panel[b-3v9rdd5w9i]  .attach-file-panel__file-button:hover {
    background: var(--esmart-primary-soft, #fff7ed);
    color: var(--esmart-primary, #ea580c);
}

.attach-file-panel[b-3v9rdd5w9i]  .attach-file-panel__file-button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--esmart-primary, #ea580c) 30%, transparent);
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .attach-file-panel__header[b-3v9rdd5w9i] {
        align-items: stretch;
        flex-direction: column;
    }

    .attach-file-panel__upload[b-3v9rdd5w9i] {
        width: 100%;
    }

    .attach-file-panel__upload[b-3v9rdd5w9i]  .app-btn {
        width: 100%;
    }

    .attach-file-panel__upload-visual[b-3v9rdd5w9i] {
        width: 100%;
    }
}
/* /Components/Shared/ReconnectionState.razor.rz.scp.css */
.components-reconnect-hide[b-6tqssig5uk] { display: none; }

.reconnect-state[b-6tqssig5uk] {
    position: fixed;
    z-index: 2000;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(400px, calc(100vw - 32px));
    padding: 16px;
    background: var(--surface, #fff);
    color: var(--text-primary, #111827);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    font-size: .875rem;
    visibility: hidden;
    opacity: 0;
    animation: reconnect-state-reveal-b-6tqssig5uk .5s ease-out 3s forwards;
}

@keyframes reconnect-state-reveal-b-6tqssig5uk {
    from { visibility: visible; opacity: 0; }
    to { visibility: visible; opacity: 1; }
}

.reconnect-state p[b-6tqssig5uk] { margin: 0; }
.reconnect-state__failed[b-6tqssig5uk],
.reconnect-state button[b-6tqssig5uk] { display: none; }

.components-reconnect-failed .reconnect-state__waiting[b-6tqssig5uk],
.components-reconnect-rejected .reconnect-state__waiting[b-6tqssig5uk] { display: none; }

.components-reconnect-failed .reconnect-state__failed[b-6tqssig5uk],
.components-reconnect-rejected .reconnect-state__failed[b-6tqssig5uk],
.components-reconnect-failed button[b-6tqssig5uk],
.components-reconnect-rejected button[b-6tqssig5uk] { display: block; }

.reconnect-state button[b-6tqssig5uk] {
    margin-top: 8px;
    padding: 6px 12px;
    font: inherit;
    color: var(--text-primary, #111827);
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 6px;
    cursor: pointer;
}

.reconnect-state button:focus-visible[b-6tqssig5uk] {
    outline: 2px solid var(--esmart-primary, #ea580c);
    outline-offset: 2px;
}
/* /Components/Shared/StandardPicker/StandardPickerModal.razor.rz.scp.css */
/* Standard zoom picker: filters, list summary, and grouped tree table. */
.standard-picker[b-emoiajjv5x] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.standard-picker__summary[b-emoiajjv5x] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 4px;
    color: #111827;
}

.standard-picker__summary-title[b-emoiajjv5x] {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.standard-picker__summary-total[b-emoiajjv5x],
.standard-picker__count[b-emoiajjv5x],
.standard-picker__footer-count[b-emoiajjv5x] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.standard-picker__state[b-emoiajjv5x] {
    display: grid;
    place-items: center;
    min-height: 120px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.standard-picker__cell[b-emoiajjv5x] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.standard-picker__icon[b-emoiajjv5x] {
    color: #9ca3af;
}

.standard-picker__code[b-emoiajjv5x] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ea580c;
}

.standard-picker__footer[b-emoiajjv5x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.standard-picker[b-emoiajjv5x]  .ant-table {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.8125rem;
}

.standard-picker[b-emoiajjv5x]  .ant-table-tbody > tr.standard-picker__group > td {
    background: #f5f5f7;
}

.standard-picker[b-emoiajjv5x]  .ant-table-tbody > tr.standard-picker__item {
    cursor: pointer;
}

.standard-picker[b-emoiajjv5x]  .ant-table-tbody > tr.standard-picker__item:hover > td {
    background: color-mix(in srgb, #3b82f6 5%, white);
}
