/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* ============================================================
   TeckOps Admin Layout – AdminLTE-inspired scoped styles
   ============================================================ */

/* ── Top App Bar ──────────────────────────────────────────── */

[b-j1lwdtooaf] .admin-appbar {
    background: #0d2137 !important;
    color: rgba(255,255,255,0.9);
    z-index: 1100;
}

[b-j1lwdtooaf] .admin-search {
    max-width: 280px;
}

[b-j1lwdtooaf] .admin-search .mud-input-outlined {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
}

[b-j1lwdtooaf] .admin-search .mud-input-outlined input::placeholder {
    color: rgba(255,255,255,0.5);
}

[b-j1lwdtooaf] .admin-search .mud-input-adornment-start .mud-icon-root {
    color: rgba(255,255,255,0.5);
}

/* ── Dark Sidebar ─────────────────────────────────────────── */

[b-j1lwdtooaf] .admin-drawer {
    background: #0d2137 !important;
}

[b-j1lwdtooaf] .admin-drawer .mud-drawer-content {
    background: #0d2137;
    overflow-y: auto;
}

/* Brand panel */
.admin-brand[b-j1lwdtooaf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
}

[b-j1lwdtooaf] .admin-brand-icon {
    color: #00b4d8;
}

[b-j1lwdtooaf] .admin-brand-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

[b-j1lwdtooaf] .admin-brand-subtitle {
    color: rgba(255,255,255,0.45);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* User mini-panel */
.admin-user-panel[b-j1lwdtooaf] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}

[b-j1lwdtooaf] .admin-user-name {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

[b-j1lwdtooaf] .admin-user-role {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

[b-j1lwdtooaf] .admin-status-dot {
    font-size: 8px !important;
}

/* Dividers */
[b-j1lwdtooaf] .admin-divider {
    border-color: rgba(255,255,255,0.08) !important;
}

/* Navigation section labels */
[b-j1lwdtooaf] .admin-nav-section-label {
    padding: 18px 16px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

/* Nav links */
[b-j1lwdtooaf] .admin-nav .mud-nav-link {
    color: rgba(255,255,255,0.7);
    border-radius: 4px;
    margin: 1px 8px;
    padding: 8px 12px;
    transition: all 0.15s ease;
}

[b-j1lwdtooaf] .admin-nav .mud-nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
}

[b-j1lwdtooaf] .admin-nav .mud-nav-link.active {
    background: rgba(0,180,216,0.15);
    color: #00b4d8;
    border-left: 3px solid #00b4d8;
    font-weight: 600;
}

[b-j1lwdtooaf] .admin-nav .mud-nav-link .mud-nav-link-icon {
    color: rgba(255,255,255,0.5);
}

[b-j1lwdtooaf] .admin-nav .mud-nav-link:hover .mud-nav-link-icon,
[b-j1lwdtooaf] .admin-nav .mud-nav-link.active .mud-nav-link-icon {
    color: #00b4d8;
}

/* Nav badge chips */
[b-j1lwdtooaf] .admin-nav-badge {
    margin-left: auto;
    height: 20px !important;
    font-size: 0.65rem;
}

/* ── Main Content Area ────────────────────────────────────── */

[b-j1lwdtooaf] .admin-main {
    background: #f4f6f9;
    min-height: 100vh;
}

/* Breadcrumb header bar */
.admin-content-header[b-j1lwdtooaf] {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
}

[b-j1lwdtooaf] .admin-breadcrumbs {
    padding: 8px 0;
}

[b-j1lwdtooaf] .admin-breadcrumbs .mud-breadcrumb-item {
    font-size: 0.82rem;
}

/* Page content area */
.admin-content-body[b-j1lwdtooaf] {
    padding: 24px;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 960px) {
    .admin-content-body[b-j1lwdtooaf] {
        padding: 16px;
    }

    [b-j1lwdtooaf] .admin-search {
        display: none;
    }
}
/* /Components/Layout/CustomerLayout.razor.rz.scp.css */
/* ============================================================
   TeckPortal Customer Layout – scoped styles
   ============================================================ */

/* ── Top App Bar ──────────────────────────────────────────── */

[b-qb1c87uhew] .tp-appbar {
    background: var(--dt-navy) !important;
    color: #ffffff;
}

[b-qb1c87uhew] .tp-brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

[b-qb1c87uhew] .tp-brand-drain {
    color: #ffffff;
}

[b-qb1c87uhew] .tp-brand-teck {
    color: var(--dt-cyan);
}

[b-qb1c87uhew] .tp-greeting {
    color: rgba(255,255,255,0.7);
    margin-right: 4px;
    display: none;
}

/* Show greeting on wider screens */
@media (min-width: 480px) {
    [b-qb1c87uhew] .tp-greeting {
        display: inline;
    }
}

/* ── Floating Action Button ───────────────────────────────── */

[b-qb1c87uhew] .tp-fab {
    position: fixed !important;
    bottom: 80px;
    right: 16px;
    z-index: 99;
    border-radius: 28px !important;
    box-shadow: 0 4px 16px rgba(255,107,53,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: none !important;
    font-weight: 600;
    letter-spacing: 0;
}

[b-qb1c87uhew] .tp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.45);
}

/* On small screens, collapse to icon-only FAB */
@media (max-width: 380px) {
    [b-qb1c87uhew] .tp-fab .mud-fab-label {
        display: none;
    }
}

/* ── Bottom Nav Polish ────────────────────────────────────── */

[b-qb1c87uhew] .tp-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-top: 1px solid var(--dt-border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

/* Safe area padding for iOS notch devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    [b-qb1c87uhew] .tp-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.dt-main-content[b-7tabd09kvc] {
    min-height: 60vh;
}

/* Hide Blazor reconnection UI on public pages */
[b-7tabd09kvc] #components-reconnect-modal {
    display: none !important;
}
        flex-direction: row;[b-7tabd09kvc]
    }

    .sidebar[b-7tabd09kvc] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7tabd09kvc] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7tabd09kvc]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7tabd09kvc], article[b-7tabd09kvc] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7tabd09kvc] {
    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-7tabd09kvc] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Nav styles are defined globally in app.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-53oi1hqd83],
.components-reconnect-repeated-attempt-visible[b-53oi1hqd83],
.components-reconnect-failed-visible[b-53oi1hqd83],
.components-pause-visible[b-53oi1hqd83],
.components-resume-failed-visible[b-53oi1hqd83],
.components-rejoining-animation[b-53oi1hqd83] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-retrying[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-failed[b-53oi1hqd83],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-53oi1hqd83] {
    display: block;
}


#components-reconnect-modal[b-53oi1hqd83] {
    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-53oi1hqd83 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-53oi1hqd83 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-53oi1hqd83 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-53oi1hqd83]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-53oi1hqd83 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-53oi1hqd83 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-53oi1hqd83 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-53oi1hqd83 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-53oi1hqd83] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-53oi1hqd83] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-53oi1hqd83] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-53oi1hqd83] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-53oi1hqd83] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-53oi1hqd83] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-53oi1hqd83] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-53oi1hqd83 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-53oi1hqd83] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-53oi1hqd83 {
    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;
    }
}
