/* /Components/Account/Login.razor.rz.scp.css */
/* Styles for Login are in wwwroot/app.css (.login-card, .login-form, etc.)
   Scoped CSS does not apply to static SSR components. */

    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);[b-fog98kb75w]
}

/* ---- Brand header ---- */
.login-brand[b-fog98kb75w] {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eef0f3;
}

.login-brand-title[b-fog98kb75w] {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wms-primary, #1a3a5c);
    margin: 0;
    letter-spacing: 0.06em;
}

.login-brand-subtitle[b-fog98kb75w] {
    font-size: 0.85rem;
    color: #666;
    margin: 0.25rem 0 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Form layout ---- */
.login-form[b-fog98kb75w] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ---- Error alert ---- */
.login-error[b-fog98kb75w] {
    background: #fff0f0;
    border: 1px solid var(--kendo-color-error, #c0392b);
    color: var(--kendo-color-error, #c0392b);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---- Field ---- */
.login-field[b-fog98kb75w] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.login-label[b-fog98kb75w] {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--wms-primary, #1a3a5c);
}

/* Reach InputText's rendered <input> via ::deep */
[b-fog98kb75w] .login-input {
    width: 100%;
    min-height: var(--wms-touch-target, 48px);
    padding: 0.5rem 1rem;
    border: 2px solid #ccd0d8;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

[b-fog98kb75w] .login-input:focus {
    border-color: var(--wms-primary, #1a3a5c);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
    outline: none;
}

.login-validation[b-fog98kb75w] {
    color: var(--kendo-color-error, #c0392b);
    font-size: 0.85rem;
}

/* ---- Submit button ---- */
.login-submit-btn[b-fog98kb75w] {
    width: 100%;
    min-height: var(--wms-touch-target, 48px);
    background: var(--wms-accent, #f5a623);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.login-submit-btn:hover[b-fog98kb75w] {
    background: #e09010;
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.5);
}

.login-submit-btn:active[b-fog98kb75w] {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* Styles for LoginLayout are in wwwroot/app.css (.login-shell)
   Scoped CSS does not apply to static SSR components. */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   WMS Mobile Tablet App Layout
   Touch-optimized for 10-12" industrial warehouse tablets
   ============================================================ */

/* App shell */
.wms-app[b-s8twgqobkj] {
    min-height: 100vh;
}

/* Main scrollable content area
   Padded top/bottom to clear the fixed AppBar and bottom nav */
.wms-main[b-s8twgqobkj] {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: var(--wms-header-height, 60px);
    padding-bottom: var(--wms-bottom-nav-height, 64px);
}

/* AppBar content styles (::deep to reach inside TelerikAppBar) */
[b-s8twgqobkj] .wms-app-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

[b-s8twgqobkj] .wms-username {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* ---- Bottom Navigation Bar ---- */
.wms-bottom-nav[b-s8twgqobkj] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--wms-bottom-nav-height, 64px);
    display: flex;
    background-color: var(--wms-primary, #1a3a5c);
    z-index: 100;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}

/* NavLink renders as <a> — use ::deep to reach it */
[b-s8twgqobkj] .wms-nav-item {
    flex: 1;
    min-height: 48px;
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 4px;
    gap: 3px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 150ms ease;
    cursor: pointer;
}

[b-s8twgqobkj] .wms-nav-item:last-child {
    border-right: none;
}

[b-s8twgqobkj] .wms-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

[b-s8twgqobkj] .wms-nav-item:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -3px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

[b-s8twgqobkj] .wms-nav-item.wms-nav-active {
    background-color: rgba(245, 166, 35, 0.2);
    color: #ffffff;
    border-bottom: 3px solid var(--wms-accent, #f5a623);
}

[b-s8twgqobkj] .wms-nav-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Blazor error UI ---- */
#blazor-error-ui[b-s8twgqobkj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-s8twgqobkj] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ---- Responsive ---- */
@media (min-width: 1024px) {
    [b-s8twgqobkj] .wms-nav-label {
        font-size: 0.7rem;
    }
}

/* ---- Logout button ---- */
[b-s8twgqobkj] .wms-logout-btn {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 150ms ease;
    white-space: nowrap;
}

[b-s8twgqobkj] .wms-logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

[b-s8twgqobkj] .wms-logout-btn:active {
    background: rgba(255, 255, 255, 0.1);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jmhen4r6v5],
.components-reconnect-repeated-attempt-visible[b-jmhen4r6v5],
.components-reconnect-failed-visible[b-jmhen4r6v5],
.components-pause-visible[b-jmhen4r6v5],
.components-resume-failed-visible[b-jmhen4r6v5],
.components-rejoining-animation[b-jmhen4r6v5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-retrying[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-failed[b-jmhen4r6v5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-jmhen4r6v5] {
    display: block;
}


#components-reconnect-modal[b-jmhen4r6v5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-jmhen4r6v5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-jmhen4r6v5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-jmhen4r6v5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-jmhen4r6v5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-jmhen4r6v5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-jmhen4r6v5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-jmhen4r6v5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-jmhen4r6v5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-jmhen4r6v5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-jmhen4r6v5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-jmhen4r6v5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-jmhen4r6v5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-jmhen4r6v5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-jmhen4r6v5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-jmhen4r6v5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-jmhen4r6v5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-jmhen4r6v5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-jmhen4r6v5 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Keep dashboard tile styles local to Home to reduce global CSS footprint. */
[b-2roipov1m3] .home-dashboard .k-tilelayout-item-body {
    padding: 0;
}

[b-2roipov1m3] .home-tile-link {
    width: 100%;
    height: 100%;
    min-height: 48px;
    color: var(--kendo-color-primary, #1a3a5c);
    gap: 10px;
    padding: 12px 8px;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 150ms ease, transform 100ms ease;
}

[b-2roipov1m3] .home-tile-link:hover {
    background-color: var(--kendo-color-primary-subtle, #dce5ee);
    color: var(--kendo-color-primary, #1a3a5c);
}

[b-2roipov1m3] .home-tile-link:focus-visible {
    outline: 3px solid var(--kendo-color-primary, #1a3a5c);
    outline-offset: -3px;
    background-color: var(--kendo-color-primary-subtle, #dce5ee);
}

[b-2roipov1m3] .home-tile-link:active {
    transform: scale(0.96);
    background-color: #b9c9d8;
}

[b-2roipov1m3] .home-tile-label {
    font-size: 0.85rem;
    line-height: 1.2;
    color: var(--kendo-color-primary, #1a3a5c);
}

@media (max-width: 768px) {
    [b-2roipov1m3] .home-tile-label {
        font-size: 0.75rem;
    }
}
