@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* Login layout styles are in wwwroot/resources/css/login.css (global) */
/* Body-level styling cannot be scoped, so we use the global stylesheet */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-u1aqhcx0bu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-u1aqhcx0bu] {
    flex: 1;
}

.sidebar[b-u1aqhcx0bu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-u1aqhcx0bu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-u1aqhcx0bu]  a, .top-row[b-u1aqhcx0bu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-u1aqhcx0bu]  a:hover, .top-row[b-u1aqhcx0bu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-u1aqhcx0bu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-u1aqhcx0bu] {
        justify-content: space-between;
    }

    .top-row[b-u1aqhcx0bu]  a, .top-row[b-u1aqhcx0bu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-u1aqhcx0bu] {
        flex-direction: row;
    }

    .sidebar[b-u1aqhcx0bu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-u1aqhcx0bu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-u1aqhcx0bu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-u1aqhcx0bu], article[b-u1aqhcx0bu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-u1aqhcx0bu] {
    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-u1aqhcx0bu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qepue4rsqn] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-qepue4rsqn] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-qepue4rsqn] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qepue4rsqn] {
    font-size: 1.1rem;
}

.bi[b-qepue4rsqn] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-qepue4rsqn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-qepue4rsqn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-qepue4rsqn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-qepue4rsqn] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qepue4rsqn] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qepue4rsqn] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qepue4rsqn]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-qepue4rsqn]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qepue4rsqn]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-qepue4rsqn] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-qepue4rsqn] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qepue4rsqn] {
        display: none;
    }

    .nav-scrollable[b-qepue4rsqn] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-li05rpn3u0],
.components-reconnect-repeated-attempt-visible[b-li05rpn3u0],
.components-reconnect-failed-visible[b-li05rpn3u0],
.components-pause-visible[b-li05rpn3u0],
.components-resume-failed-visible[b-li05rpn3u0],
.components-rejoining-animation[b-li05rpn3u0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-retrying[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-failed[b-li05rpn3u0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-li05rpn3u0] {
    display: block;
}


#components-reconnect-modal[b-li05rpn3u0] {
    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-li05rpn3u0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-li05rpn3u0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-li05rpn3u0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-li05rpn3u0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-li05rpn3u0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-li05rpn3u0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-li05rpn3u0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-li05rpn3u0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-li05rpn3u0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-li05rpn3u0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-li05rpn3u0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-li05rpn3u0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-li05rpn3u0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-li05rpn3u0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-li05rpn3u0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-li05rpn3u0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-li05rpn3u0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-li05rpn3u0 {
    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/Aftersales/Dashboard.razor.rz.scp.css */
/* Dashboard Viewport */
.dashboard-viewport[b-0q4zclr46c] {
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 350px 1fr 380px;
    gap: 20px;
    padding: 20px;
    background-color: var(--bg-page);
    overflow: hidden;
}

.dashboard-col[b-0q4zclr46c] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar for columns */
.dashboard-col[b-0q4zclr46c]::-webkit-scrollbar {
    width: 4px;
}

.dashboard-col[b-0q4zclr46c]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

:global(body.dark-mode) .dashboard-col[b-0q4zclr46c]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.stat-strip[b-0q4zclr46c] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-card[b-0q4zclr46c] {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-container[b-0q4zclr46c] {
    flex: 1;
    min-height: 300px;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    position: relative;
}

.live-feed[b-0q4zclr46c] {
    flex: 1;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
}

.task-item[b-0q4zclr46c] {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.priority-dot[b-0q4zclr46c] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.user-badge[b-0q4zclr46c] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to right, var(--accent-amber), #fbbf24);
    color: #0f172a;
    border-radius: 12px;
    margin-bottom: 10px;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.hero-banner[b-t8gi3de3q5] {
    position: relative;
    height: 600px;
    background: url('/resources/images/shacman_hero_truck.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-amber);
}

.hero-banner[b-t8gi3de3q5]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-text[b-t8gi3de3q5] {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    padding: 0 40px;
    text-align: left;
}

.hero-banner .hero-text h4[b-t8gi3de3q5] {
    font-size: 0.95rem !important;
    color: #ffffff !important;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
    text-transform: none !important;
}

.hero-text h1[b-t8gi3de3q5] {
    font-size: 4.5rem;
    margin: 0;
    line-height: 1.1;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
}

.hero-text p[b-t8gi3de3q5] {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
}

.stats-strip[b-t8gi3de3q5] {
    background-color: var(--bg-page);
    padding: 40px 0;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

.stats-container[b-t8gi3de3q5] {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3[b-t8gi3de3q5] {
    font-size: 2.5rem;
    color: var(--accent-amber);
    margin: 0;
}

.stat-item p[b-t8gi3de3q5] {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title[b-t8gi3de3q5] {
    text-align: center;
    padding: 80px 0 40px;
}

.section-title h2[b-t8gi3de3q5] {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.news-grid[b-t8gi3de3q5] {
    max-width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.news-card[b-t8gi3de3q5] {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.news-card:hover[b-t8gi3de3q5] {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-img[b-t8gi3de3q5] {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-body[b-t8gi3de3q5] {
    padding: 25px;
    color: var(--text-main);
}

.news-tag[b-t8gi3de3q5] {
    background: var(--accent-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.news-body h4[b-t8gi3de3q5] {
    font-size: 1.25rem;
    margin: 0 0 10px;
    color: var(--text-main);
}

.news-body p[b-t8gi3de3q5] {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--text-main);
}

.featured-section[b-t8gi3de3q5] {
    padding: 100px 0;
    background: var(--bg-page);
}

.featured-content[b-t8gi3de3q5] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.featured-text[b-t8gi3de3q5] {
    flex: 1;
}

.featured-image[b-t8gi3de3q5] {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-image img[b-t8gi3de3q5] {
    width: 100%;
    display: block;
}
