/* _content/ReachLane.Web/Components/Layout/AuthLayout.razor.rz.scp.css */
.rl-auth-layout[b-a0e6rtrmn5] {
    display: flex;
    min-height: 100vh;
    background: var(--rl-bg);
}

.rl-auth-layout-brand[b-a0e6rtrmn5] {
    flex: 1;
    display: none;
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #fff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.rl-auth-layout-brand[b-a0e6rtrmn5]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.35) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.25) 0%, transparent 45%);
    pointer-events: none;
}

.rl-auth-layout-brand-inner[b-a0e6rtrmn5] {
    position: relative;
    max-width: 24rem;
    margin-top: 2rem;
}

.rl-brand-mark-lg[b-a0e6rtrmn5] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    object-fit: contain;
    padding: 4px;
    background: #fff;
}

.rl-auth-layout-title[b-a0e6rtrmn5] {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.rl-auth-layout-tagline[b-a0e6rtrmn5] {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.5rem;
}

.rl-auth-layout-features[b-a0e6rtrmn5] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rl-auth-layout-features li[b-a0e6rtrmn5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
}

.rl-auth-layout-features i[b-a0e6rtrmn5] {
    font-size: 1.1rem;
    opacity: 0.9;
}

.rl-auth-layout-main[b-a0e6rtrmn5] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .rl-auth-layout-brand[b-a0e6rtrmn5] {
        display: flex;
        align-items: center;
        max-width: 480px;
    }

    .rl-auth-layout-main[b-a0e6rtrmn5] {
        flex: 1.2;
    }
}

#blazor-error-ui[b-a0e6rtrmn5] {
    color-scheme: light only;
    background: #fef3c7;
    border-top: 1px solid #fcd34d;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

#blazor-error-ui .dismiss[b-a0e6rtrmn5] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/ReachLane.Web/Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-jhrfdoee6y] {
    --rl-sidebar-width: 280px;
}

html[data-sidebar-size="sm"][b-jhrfdoee6y] {
    --rl-sidebar-width: 84px;
}

.page[b-jhrfdoee6y] {
    position: relative;
    min-height: 100vh;
    background: var(--rl-bg);
}

.rl-sidebar[b-jhrfdoee6y] {
    width: var(--rl-sidebar-width);
    background: var(--rl-sidebar-gradient);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

/* Collapsed/expanded overflow + inner paint: see wwwroot/app.css (unscoped).
   Scoped rules here cannot target NavMenu's .rl-sidebar-inner. */

.rl-main[b-jhrfdoee6y] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rl-header[b-jhrfdoee6y] {
    height: 56px;
    background: var(--rl-surface);
    border-bottom: 1px solid var(--rl-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rl-header-left[b-jhrfdoee6y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.rl-header-right[b-jhrfdoee6y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rl-header-title[b-jhrfdoee6y] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    min-width: 0;
}

.rl-header-crumb[b-jhrfdoee6y] {
    color: var(--rl-text-muted);
    font-weight: 500;
}

.rl-header-page[b-jhrfdoee6y] {
    color: var(--rl-text);
    font-weight: 600;
}

.rl-header-sep[b-jhrfdoee6y] {
    font-size: 0.65rem;
    color: #cbd5e1;
}

.rl-header-toggle[b-jhrfdoee6y] {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rl-border);
    border-radius: 8px;
    background: var(--rl-surface);
    color: var(--rl-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}

.rl-header-toggle:hover[b-jhrfdoee6y] {
    background: var(--rl-bg);
    border-color: #cbd5e1;
    color: var(--rl-primary);
}

.rl-toggle-bars[b-jhrfdoee6y] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 16px;
}

.rl-toggle-bars span[b-jhrfdoee6y] {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rl-header-action[b-jhrfdoee6y] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rl-text-muted);
    border: 1px solid var(--rl-border);
    background: var(--rl-surface);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rl-header-action:hover[b-jhrfdoee6y] {
    background: var(--rl-bg);
    color: var(--rl-text);
    border-color: #cbd5e1;
}

.rl-header-action-primary[b-jhrfdoee6y] {
    background: linear-gradient(135deg, var(--rl-primary) 0%, #6366f1 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.rl-header-action-primary:hover[b-jhrfdoee6y] {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.rl-sidebar-backdrop[b-jhrfdoee6y] {
    display: none;
}

.content[b-jhrfdoee6y] {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

@media (min-width: 641px) {
    .page[b-jhrfdoee6y] {
        display: block;
    }

    .rl-sidebar[b-jhrfdoee6y] {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
    }

    /* Expanded only — collapsed overflow:visible is owned by wwwroot/app.css
       so flyouts can paint outside the 84px rail. */
    html[data-sidebar-size="lg"] .rl-sidebar[b-jhrfdoee6y],
    .rl-sidebar:not(.rl-sidebar--collapsed)[b-jhrfdoee6y] {
        overflow: hidden;
    }

    .rl-main[b-jhrfdoee6y] {
        margin-left: var(--rl-sidebar-width);
    }

    .content[b-jhrfdoee6y] {
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
    }
}

@media (max-width: 640.98px) {
    .page[b-jhrfdoee6y] {
        display: flex;
        flex-direction: column;
    }

    .rl-sidebar[b-jhrfdoee6y] {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 250px !important;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    html[data-sidebar-drawer-open="true"] .rl-sidebar[b-jhrfdoee6y] {
        transform: translateX(0);
    }

    html[data-sidebar-drawer-open="true"] .rl-sidebar-backdrop[b-jhrfdoee6y] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 150;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(2px);
        cursor: pointer;
    }

    .rl-header[b-jhrfdoee6y] {
        padding: 0 1rem;
    }

    .rl-header-title[b-jhrfdoee6y] {
        display: none;
    }

    .rl-header-action span[b-jhrfdoee6y] {
        display: none;
    }

    .rl-header-action[b-jhrfdoee6y] {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }
}

#blazor-error-ui[b-jhrfdoee6y] {
    color-scheme: light only;
    background: #fef3c7;
    border-top: 1px solid #fcd34d;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

#blazor-error-ui .reload[b-jhrfdoee6y] {
    color: var(--rl-primary);
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-jhrfdoee6y] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    opacity: 0.6;
}
/* _content/ReachLane.Web/Components/Layout/MarketingLayout.razor.rz.scp.css */
#blazor-error-ui[b-aibsq2f2vw] {
    color-scheme: light only;
    background: #fef3c7;
    border-top: 1px solid #fcd34d;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

#blazor-error-ui .dismiss[b-aibsq2f2vw] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/ReachLane.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* Brand/shell only — nav item styles live in wwwroot/app.css (.rl-sidebar)
   so they apply to DynamicNavMenu / NavMenuItemRecursive (scoped CSS does not pierce children). */

.rl-sidebar-inner[b-zutnnh7f8v] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    /* Expanded paint; collapsed paint/width overridden in wwwroot/app.css */
    background: var(--rl-sidebar-gradient);
}

.rl-sidebar-brand[b-zutnnh7f8v],
.sidebar-header[b-zutnnh7f8v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 64px;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.rl-brand-link[b-zutnnh7f8v],
.sidebar-brand[b-zutnnh7f8v] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    text-decoration: none;
    color: #fff !important;
}

.rl-brand-mark[b-zutnnh7f8v],
.brand-icon[b-zutnnh7f8v] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    object-fit: contain;
    padding: 3px;
}

.rl-brand-text[b-zutnnh7f8v],
.brand-text[b-zutnnh7f8v] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rl-brand-name[b-zutnnh7f8v],
.brand-title[b-zutnnh7f8v] {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    line-height: 1.15;
}

.rl-brand-tagline[b-zutnnh7f8v],
.brand-subtitle[b-zutnnh7f8v] {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.rl-sidebar-collapse-btn[b-zutnnh7f8v],
.sidebar-collapse-btn[b-zutnnh7f8v] {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s ease;
}

.rl-sidebar-collapse-btn:hover[b-zutnnh7f8v],
.sidebar-collapse-btn:hover[b-zutnnh7f8v] {
    background: rgba(255, 255, 255, 0.12);
}

.nav-scrollable[b-zutnnh7f8v],
.sidebar-nav[b-zutnnh7f8v] {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.85rem 0.65rem 1rem;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
}

/* Do not use Bootstrap .nav here — its flex-wrap:wrap creates a second "ghost" column. */
.nav-scrollable > .rl-sidebar-nav-list[b-zutnnh7f8v],
.sidebar-nav > .rl-sidebar-nav-list[b-zutnnh7f8v],
.nav-scrollable > .nav[b-zutnnh7f8v],
.sidebar-nav > .nav[b-zutnnh7f8v] {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap !important;
    flex: 0 0 auto;
    min-height: auto;
    width: 100%;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-scrollable[b-zutnnh7f8v]::-webkit-scrollbar,
.sidebar-nav[b-zutnnh7f8v]::-webkit-scrollbar {
    width: 5px;
}

.nav-scrollable[b-zutnnh7f8v]::-webkit-scrollbar-thumb,
.sidebar-nav[b-zutnnh7f8v]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}
