/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* =========================================================
   MainLayout - Production-ready, no Bootstrap
   ========================================================= */

.page-layout[b-r2vh7ytm6i] {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

.main-content[b-r2vh7ytm6i] {
    padding-top: var(--th-6);
    padding-bottom: var(--th-8);
}

@media (min-width: 768px) {
    .main-content[b-r2vh7ytm6i] {
        padding-top: var(--th-8);
    }
}

/* Blazor Error UI */
#blazor-error-ui[b-r2vh7ytm6i] {
    background: #fff3cd;
    border-top: 2px solid #ffc107;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    display: none;
    left: 0;
    padding: var(--th-4) var(--th-6);
    position: fixed;
    width: 100%;
    z-index: 9999;
    color: var(--th-text);
    font-size: var(--th-fs-14);
}

#blazor-error-ui .dismiss[b-r2vh7ytm6i],
#blazor-error-ui .reload[b-r2vh7ytm6i] {
    cursor: pointer;
    color: var(--th-brand);
    font-weight: 600;
    text-decoration: underline;
    margin-left: var(--th-4);
}

#blazor-error-ui .dismiss[b-r2vh7ytm6i] {
    position: absolute;
    right: var(--th-4);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--th-fs-20);
    text-decoration: none;
}
/* /Components/Layout/NavMenuStatic.razor.rz.scp.css */
/* =========================================================
   NavMenuStatic.razor.css - Static navigation styles
   Drawer slides from LEFT (not right)
   ========================================================= */

/* -----------------------------
   Navigation Container
   ----------------------------- */
.th-nav[b-n4fmmqv399] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #E5E7EB;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .th-nav[b-n4fmmqv399] {
        height: 64px;
        padding: 0 24px;
    }
}

/* -----------------------------
   Responsive Visibility Helpers
   ----------------------------- */
.th-hide-mobile[b-n4fmmqv399] {
    display: none !important;
}

@media (min-width: 768px) {
    .th-hide-mobile[b-n4fmmqv399] {
        display: flex !important;
    }
}

.th-hide-desktop[b-n4fmmqv399] {
    display: flex !important;
}

@media (min-width: 768px) {
    .th-hide-desktop[b-n4fmmqv399] {
        display: none !important;
    }
}

/* -----------------------------
   Hamburg Menu Button (Mobile Only)
   ----------------------------- */
.th-nav__icon[b-n4fmmqv399] {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.th-nav__icon:hover[b-n4fmmqv399] {
    background: rgba(2,6,23,0.05);
}

.th-nav__icon:focus-visible[b-n4fmmqv399] {
    outline: 2px solid #2E7DFF;
    outline-offset: 2px;
}

/* Hamburg Icon (Three Lines) */
.th-burger[b-n4fmmqv399] {
    width: 18px;
    height: 2px;
    background: #0B1220;
    position: relative;
    border-radius: 2px;
    display: block;
}

.th-burger[b-n4fmmqv399]::before,
.th-burger[b-n4fmmqv399]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #0B1220;
    border-radius: 2px;
}

.th-burger[b-n4fmmqv399]::before {
    top: -6px;
}

.th-burger[b-n4fmmqv399]::after {
    top: 6px;
}

/* -----------------------------
   Logo - Mobile: Centered, Desktop: Left
   ----------------------------- */
.th-nav__logo[b-n4fmmqv399] {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    text-decoration: none;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .th-nav__logo[b-n4fmmqv399] {
        position: static;
        transform: none;
        margin-right: 16px;
    }
}

.th-brand[b-n4fmmqv399] {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0B1220;
    font-size: 16px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .th-brand[b-n4fmmqv399] {
        font-size: 17px;
    }
}

/* -----------------------------
   Desktop Menu Links (Hidden on Mobile)
   ----------------------------- */
.th-nav__links[b-n4fmmqv399] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 16px;
}

.th-nav__link[b-n4fmmqv399] {
    font-size: 14px;
    font-weight: 600;
    color: #0B1220;
    opacity: 0.82;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, background 0.2s;
}

.th-nav__link:hover[b-n4fmmqv399] {
    opacity: 1;
    background: rgba(2,6,23,0.05);
    text-decoration: none;
}

.th-nav__link.active[b-n4fmmqv399] {
    opacity: 1;
    background: rgba(46, 125, 255, 0.10);
    color: #2E7DFF;
}

/* -----------------------------
   CTA Button (Always Visible, Right Side)
   ----------------------------- */
.th-nav__cta[b-n4fmmqv399] {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.th-nav__ctaBtn[b-n4fmmqv399] {
    height: 36px;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 767px) {
    .th-nav__ctaBtn[b-n4fmmqv399] {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }
}

/* -----------------------------
   Mobile Overlay (Backdrop)
   ----------------------------- */
.th-overlay[b-n4fmmqv399] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 55;
    display: none;
}

.th-overlay.open[b-n4fmmqv399] {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

/* -----------------------------
   Mobile Drawer (Slide from LEFT - Changed!)
   ----------------------------- */
.th-drawer[b-n4fmmqv399] {
    position: fixed;
    top: 0;
    left: 0;  /* Changed from right to left */
    width: min(86vw, 360px);
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);  /* Changed from 100% to -100% */
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    border-right: 1px solid #E5E7EB;  /* Changed from border-left to border-right */
    outline: none;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.th-drawer.open[b-n4fmmqv399] {
    transform: translateX(0);
}

/* Drawer Header */
.th-drawer__top[b-n4fmmqv399] {
    height: 56px;
    padding: 0 12px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.th-drawer__title[b-n4fmmqv399] {
    font-size: 16px;
    font-weight: 700;
    color: #0B1220;
}

/* Drawer Navigation Links */
.th-drawer__links[b-n4fmmqv399] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.th-drawer__link[b-n4fmmqv399] {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #0B1220;
    transition: background 0.2s;
}

.th-drawer__link:hover[b-n4fmmqv399] {
    background: rgba(2,6,23,0.05);
    text-decoration: none;
}

.th-drawer__link.active[b-n4fmmqv399] {
    background: rgba(46, 125, 255, 0.12);
    color: #2E7DFF;
}

/* Drawer Language Switcher */
.th-drawer__lang[b-n4fmmqv399] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.th-drawer__langLink[b-n4fmmqv399] {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
}

.th-drawer__langLink:hover[b-n4fmmqv399] {
    color: #0B1220;
    text-decoration: underline;
}

/* -----------------------------
   Accessibility & Focus States
   ----------------------------- */
.th-nav__icon:focus-visible[b-n4fmmqv399],
.th-nav__link:focus-visible[b-n4fmmqv399],
.th-drawer__link:focus-visible[b-n4fmmqv399],
.th-nav__logo:focus-visible[b-n4fmmqv399] {
    outline: 2px solid #2E7DFF;
    outline-offset: 2px;
    border-radius: 4px;
}

/* -----------------------------
   Reduced Motion
   ----------------------------- */
@media (prefers-reduced-motion: reduce) {
    .th-drawer[b-n4fmmqv399],
    .th-overlay[b-n4fmmqv399],
    .th-nav__link[b-n4fmmqv399],
    .th-drawer__link[b-n4fmmqv399] {
        transition: none !important;
    }
}
/* /Components/Layout/NavMenuStaticZh.razor.rz.scp.css */
/* =========================================================
   NavMenuStaticZh.razor.css - Static navigation styles (Chinese)
   Drawer slides from LEFT (unified behavior with English)
   ========================================================= */

/* -----------------------------
   Navigation Container
   ----------------------------- */
.th-nav[b-q0eps4ll62] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #E5E7EB;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .th-nav[b-q0eps4ll62] {
        height: 64px;
        padding: 0 24px;
    }
}

/* -----------------------------
   Responsive Visibility Helpers
   ----------------------------- */
.th-hide-mobile[b-q0eps4ll62] {
    display: none !important;
}

@media (min-width: 768px) {
    .th-hide-mobile[b-q0eps4ll62] {
        display: flex !important;
    }
}

.th-hide-desktop[b-q0eps4ll62] {
    display: flex !important;
}

@media (min-width: 768px) {
    .th-hide-desktop[b-q0eps4ll62] {
        display: none !important;
    }
}

/* -----------------------------
   Hamburg Menu Button (Mobile Only)
   ----------------------------- */
.th-nav__icon[b-q0eps4ll62] {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.th-nav__icon:hover[b-q0eps4ll62] {
    background: rgba(2,6,23,0.05);
}

.th-nav__icon:focus-visible[b-q0eps4ll62] {
    outline: 2px solid #2E7DFF;
    outline-offset: 2px;
}

/* Hamburg Icon (Three Lines) */
.th-burger[b-q0eps4ll62] {
    width: 18px;
    height: 2px;
    background: #0B1220;
    position: relative;
    border-radius: 2px;
    display: block;
}

.th-burger[b-q0eps4ll62]::before,
.th-burger[b-q0eps4ll62]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #0B1220;
    border-radius: 2px;
}

.th-burger[b-q0eps4ll62]::before {
    top: -6px;
}

.th-burger[b-q0eps4ll62]::after {
    top: 6px;
}

/* -----------------------------
   Logo - Mobile: Centered, Desktop: Left
   ----------------------------- */
.th-nav__logo[b-q0eps4ll62] {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    text-decoration: none;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .th-nav__logo[b-q0eps4ll62] {
        position: static;
        transform: none;
        margin-right: 16px;
    }
}

.th-brand[b-q0eps4ll62] {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0B1220;
    font-size: 16px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .th-brand[b-q0eps4ll62] {
        font-size: 17px;
    }
}

/* -----------------------------
   Desktop Menu Links (Hidden on Mobile)
   ----------------------------- */
.th-nav__links[b-q0eps4ll62] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 16px;
}

.th-nav__link[b-q0eps4ll62] {
    font-size: 14px;
    font-weight: 600;
    color: #0B1220;
    opacity: 0.82;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, background 0.2s;
}

.th-nav__link:hover[b-q0eps4ll62] {
    opacity: 1;
    background: rgba(2,6,23,0.05);
    text-decoration: none;
}

.th-nav__link.active[b-q0eps4ll62] {
    opacity: 1;
    background: rgba(46, 125, 255, 0.10);
    color: #2E7DFF;
}

/* -----------------------------
   CTA Button (Always Visible, Right Side)
   ----------------------------- */
.th-nav__cta[b-q0eps4ll62] {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.th-nav__ctaBtn[b-q0eps4ll62] {
    height: 36px;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 767px) {
    .th-nav__ctaBtn[b-q0eps4ll62] {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }
}

/* -----------------------------
   Mobile Overlay (Backdrop)
   ----------------------------- */
.th-overlay[b-q0eps4ll62] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 55;
    display: none;
}

.th-overlay.open[b-q0eps4ll62] {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

/* -----------------------------
   Mobile Drawer (Slide from LEFT - Unified!)
   ----------------------------- */
.th-drawer[b-q0eps4ll62] {
    position: fixed;
    top: 0;
    left: 0;  /* Changed from right to left */
    width: min(86vw, 360px);
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);  /* Changed from 100% to -100% */
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    border-right: 1px solid #E5E7EB;  /* Changed from border-left to border-right */
    outline: none;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.th-drawer.open[b-q0eps4ll62] {
    transform: translateX(0);
}

/* Drawer Header */
.th-drawer__top[b-q0eps4ll62] {
    height: 56px;
    padding: 0 12px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.th-drawer__title[b-q0eps4ll62] {
    font-size: 16px;
    font-weight: 700;
    color: #0B1220;
}

/* Drawer Navigation Links */
.th-drawer__links[b-q0eps4ll62] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.th-drawer__link[b-q0eps4ll62] {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #0B1220;
    transition: background 0.2s;
}

.th-drawer__link:hover[b-q0eps4ll62] {
    background: rgba(2,6,23,0.05);
    text-decoration: none;
}

.th-drawer__link.active[b-q0eps4ll62] {
    background: rgba(46, 125, 255, 0.12);
    color: #2E7DFF;
}

/* Drawer Language Switcher */
.th-drawer__lang[b-q0eps4ll62] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.th-drawer__langLink[b-q0eps4ll62] {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
}

.th-drawer__langLink:hover[b-q0eps4ll62] {
    color: #0B1220;
    text-decoration: underline;
}

/* -----------------------------
   Accessibility & Focus States
   ----------------------------- */
.th-nav__icon:focus-visible[b-q0eps4ll62],
.th-nav__link:focus-visible[b-q0eps4ll62],
.th-drawer__link:focus-visible[b-q0eps4ll62],
.th-nav__logo:focus-visible[b-q0eps4ll62] {
    outline: 2px solid #2E7DFF;
    outline-offset: 2px;
    border-radius: 4px;
}

/* -----------------------------
   Reduced Motion
   ----------------------------- */
@media (prefers-reduced-motion: reduce) {
    .th-drawer[b-q0eps4ll62],
    .th-overlay[b-q0eps4ll62],
    .th-nav__link[b-q0eps4ll62],
    .th-drawer__link[b-q0eps4ll62] {
        transition: none !important;
    }
}
