@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* _content/CMCDriverQuerySystem/Frontend/Components/FileUpload.razor.rz.scp.css */
.preview-container[b-w80779fhdf] {
    position: relative;
    width: 60px;
    height: 60px;
}

.preview-image[b-w80779fhdf] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.clear-button[b-w80779fhdf] {
    position: absolute;
    top: -5px;
    right: -5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
/* _content/CMCDriverQuerySystem/Frontend/Components/MediaMessage.razor.rz.scp.css */
.media-container[b-w16p1upzzm] {
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

/* New style for fixed-size, square thumbnails */
.media-thumbnail[b-w16p1upzzm] {
    width: 200px;
    height: 200px;
    object-fit: cover; /* This makes the image/video fill the square without distortion */
    cursor: pointer;
    border: none;
    padding: 0;
}

.media-audio[b-w16p1upzzm] {
    width: 100%;
    min-width: 350px;
}

.document-link[b-w16p1upzzm] {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--bs-secondary-bg);
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    transition: background-color 0.2s;
}

.document-link:hover[b-w16p1upzzm] {
    background-color: var(--bs-secondary-bg-subtle);
}
/* _content/CMCDriverQuerySystem/Frontend/Components/TimelineView.razor.rz.scp.css */
/* New parent container for the entire chat view */
.chat-window[b-wc7u4ezwjh] {
    position: relative; /* <-- ADD THIS */
    display: flex;
    flex-direction: column;
    height: 100%; /* This makes the component fill its parent wrapper */
    margin: 0 auto;
    background-color: var(--bs-tertiary-bg);
}
/* * The max-height and its media query are no longer needed, 
 * so they have been removed. 
*/
/* Modified timeline to be a scrolling flex item */
.timeline-container[b-wc7u4ezwjh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 3rem;
    overflow-y: scroll;
    flex-grow: 1; /* This makes the timeline fill available space */
}

/* New style for the integrated reply bar */
.reply-bar[b-wc7u4ezwjh] {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(0, 101, 31, 0.9);
    border-top: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
}

/* --- YOUR EXISTING STYLES (UNCHANGED) --- */

.timeline-item[b-wc7u4ezwjh] {
    display: flex;
    width: 100%;
}

.timeline-item.incoming[b-wc7u4ezwjh] {
    justify-content: flex-start;
}

.timeline-item.outgoing[b-wc7u4ezwjh] {
    justify-content: flex-end;
}

.message-bubble[b-wc7u4ezwjh] {
    max-width: 70%;
    min-width: 10%;
    padding: 6px 7px;
    box-shadow: 0 1px 1px var(--bs-tertiary-bg);
}

.timeline-item.incoming .message-bubble[b-wc7u4ezwjh] {
    background-color: rgba(0, 82, 115, 0.7);
    border-left: 2px solid #00aaff;
    border-bottom: 1px solid #00aaff;
    color: #ffffff;
    border-radius: 15px 15px 15px 0px;

}

.timeline-item.outgoing .message-bubble[b-wc7u4ezwjh] {
    background-color: rgba(0, 91, 74, 0.8);
    border-right: 2px solid #4fff00;
    border-bottom: 1px solid #4fff00;
    color: #ffffff;
    border-radius: 15px 15px 0px 15px;
}

.message-sender[b-wc7u4ezwjh] {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 4px;
    opacity: 0.8;
}

.message-content[b-wc7u4ezwjh] {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message-timestamp[b-wc7u4ezwjh] {
    font-size: 0.75rem;
    text-align: right;
    color: #ffdcdc;
    margin-top: 2px;
}

.note-card[b-wc7u4ezwjh] {
    border-left: 8px solid rgba(249, 255, 0, 0.8);
    background-color: rgba(154, 142, 135, 0.7);
    padding: 1rem;
    color: #ffffff;
    align-content: center;
    justify-content: center;
    border-radius: 5px;
    width: 66% !important;
}

.note-header[b-wc7u4ezwjh] {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.note-timestamp[b-wc7u4ezwjh] {
    font-size: 0.75rem;
    text-align: right;
    color: #ffdcdc;
    margin-top: 5px;
}


.timeline-item.incoming .message-bubble.merged-message[b-wc7u4ezwjh] {
    background-color: rgba(75, 85, 99, 0.7); /* Muted grey-blue */
    border-left: 2px solid #6b7280;
    border-bottom: 1px solid #6b7280;
}

.timeline-item.outgoing .message-bubble.merged-outgoing-message[b-wc7u4ezwjh] {
    background-color: rgba(91, 55, 129, 0.8); /* Muted purple */
    border-right: 2px solid #8b5cf6;
    border-bottom: 1px solid #8b5cf6;
}

.call-card[b-wc7u4ezwjh] {
    border-left: 8px solid rgba(0, 102, 255, 0.8);
    background-color: rgba(61, 75, 95, 0.7);
    padding: 1rem;
    color: #ffffff;
    align-content: center;
    justify-content: center;
    border-radius: 5px;
    width: 66% !important;
}

.action-text[b-wc7u4ezwjh] {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

[data-bs-theme="light"] .timeline-container[b-wc7u4ezwjh] {
    background-image: url('/assets/chat_bg.png');
}

[data-bs-theme="dark"] .timeline-container[b-wc7u4ezwjh] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/chat_bg.png');
}

.conversation-tab[b-wc7u4ezwjh] {
    position: absolute;
    top: 0;
    left: 50%; /* Center the element */
    transform: translateX(-50%); /* Adjust for its own width */

    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- NEW: Container for the prefetch icon --- */
.prefetch-container[b-wc7u4ezwjh] {
    position: absolute;
    top: 4px;
    left: calc(50% + 150px); /* Position it to the right of the tab */
    transform: translateX(-50%);
    z-index: 11;
}

@keyframes glow-b-wc7u4ezwjh {
    0%, 100% { box-shadow: 0 0 5px 2px rgba(25, 135, 84, 0.7); }
    50% { box-shadow: 0 0 15px 2px rgba(25, 135, 84, 1); }
}

.glowing-icon[b-wc7u4ezwjh] {
    animation: glow-b-wc7u4ezwjh 2.5s infinite;
    border-radius: 50%;
}
/* _content/CMCDriverQuerySystem/Frontend/Layout/AdminLayout.razor.rz.scp.css */


.sticky-nav[b-iw6exc9btj] {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1000;
}


.OutletContainer[b-iw6exc9btj] {
    overflow-y: auto;

    margin-top: 0;
    margin-left: 260px; /* Should match the width of the side panel */
    padding-left:10px;
    padding-right:10px;
}


.not-authorized[b-iw6exc9btj] {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
    color: #721c24;
    margin: 2rem auto;
    max-width: 40rem;
    padding: 1rem;
    text-align: center;
}

    .not-authorized h2[b-iw6exc9btj] {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .not-authorized p[b-iw6exc9btj] {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-iw6exc9btj] {
        display: none;
    }

    .top-row.auth[b-iw6exc9btj] {
        justify-content: space-between;
    }

    .top-row a[b-iw6exc9btj], .top-row .btn-link[b-iw6exc9btj] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-iw6exc9btj] {
        flex-direction: row;
    }

    .sidebar[b-iw6exc9btj] {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-iw6exc9btj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-iw6exc9btj], article[b-iw6exc9btj] {
        padding-left: 1rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/CMCDriverQuerySystem/Frontend/Layout/EmptyLayout.razor.rz.scp.css */
#blazor-error-ui[b-wo18gu7tye] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-wo18gu7tye] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/CMCDriverQuerySystem/Frontend/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-vrvmtdn7i8] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-vrvmtdn7i8] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/CMCDriverQuerySystem/Frontend/Layout/NavMenu.razor.rz.scp.css */

.navbar-toggler[b-uugvcczke1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-uugvcczke1] {
    height: 3.5rem;
    background: linear-gradient(to right, #a5a5a5,white);
    border-bottom: 1px solid grey;
}



.navbar-brand[b-uugvcczke1] {
    font-size: 1.1rem;
}


.side-panel[b-uugvcczke1] {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px; 
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid grey;
    z-index: 1000; /* Ensure it's above other content */
    /* Add more styling as needed */
}

.main-content[b-uugvcczke1] {
    margin-left: 250px; /* Should match the width of the side panel */
    /* Rest of your styling */
}


.account-card[b-uugvcczke1]{
    position:fixed;
    bottom:20px
}


@keyframes outline-b-uugvcczke1 {
    0% {
        outline-color: #495057;
    }

    50% {
        outline-color: #343a40;
    }

    100% {
        outline-color: #212529;
    }
}




.nav-item[b-uugvcczke1] {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-uugvcczke1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-uugvcczke1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-uugvcczke1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        /*        .nav-item ::deep a.active {
            background-color: #87878750;
            color: white;
        }*/

        .nav-item[b-uugvcczke1]  a:hover {
            background-color: #87878750;
            color: white;
        }


@media (min-width: 641px) {
    .navbar-toggler[b-uugvcczke1] {
        display: none;
    }

    .collapse[b-uugvcczke1] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-uugvcczke1] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/CMCDriverQuerySystem/Frontend/Pages/Authed/Role/AddUpdateRole.razor.rz.scp.css */
/* _content/CMCDriverQuerySystem/Frontend/Pages/Authed/Role/Roles.razor.rz.scp.css */
/* _content/CMCDriverQuerySystem/Frontend/Pages/Authed/Tickets/TicketDetail.razor.rz.scp.css */
.full-height-container[b-zesr8ltsa6] {
    display: flex;
    flex-direction: column;
    /* * This calculates the available height by taking the full viewport height (100vh)
     * and subtracting the approximate height of your top navigation bars.
     * You may need to adjust the 120px value to perfectly match your layout.
    */
    height: calc(100vh - 60px);
}

@media (max-width: 600.98px) {
    .full-height-container[b-zesr8ltsa6] {
        max-height: calc(100vh - 120px);
    }
}

.timeline-wrapper[b-zesr8ltsa6] {
    flex-grow: 1;
    /* This is a critical flexbox property that allows a child to scroll correctly within a flex container */
    min-height: 0;
}

.page-content-body[b-zesr8ltsa6] {
    position: relative;
}

.page-actions-dropdown[b-zesr8ltsa6] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20; /* Ensure it's above the timeline tab */
}
