/* _content/Support.Posworx/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ee3tnn14q7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

html[b-ee3tnn14q7], body[b-ee3tnn14q7], .page[b-ee3tnn14q7] {
    min-height: 100vh;
    margin: 0;
}

body[b-ee3tnn14q7] {
    background-color: #e0f7fa;
}

main[b-ee3tnn14q7] {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.content[b-ee3tnn14q7] {
    background-color: #f0f8ff;
    flex-grow: 1;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
}

.sidebar[b-ee3tnn14q7] {
    background: linear-gradient(to bottom #0A0F66, steelblue, lightsteelblue);
    position: fixed; /* Keeps the sidebar fixed */
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
}

@media (max-width: 640.98px) {
    .sidebar[b-ee3tnn14q7] {
        width: 100%;
        height: auto;
        position: relative;
    }
}

@media (min-width: 641px) {
    .page[b-ee3tnn14q7] {
        flex-direction: row;
    }

    .sidebar[b-ee3tnn14q7] {
        width: 250px;
        height: 100vh;
        position: fixed;
        top: 0;
    }
}

#blazor-error-ui[b-ee3tnn14q7] {
    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-ee3tnn14q7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.filter-container[b-ee3tnn14q7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: lightsteelblue;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px; /* Adjust this value to suit your design */
    margin: auto;
}

    .filter-container label[b-ee3tnn14q7] {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
        color: #333;
        align-self: flex-start;
    }

.filter-dropdown[b-ee3tnn14q7] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

    .filter-dropdown option[b-ee3tnn14q7] {
        background-color: #fff;
        color: #333;
    }

    .filter-dropdown:focus[b-ee3tnn14q7] {
        border-color: steelblue;
        outline: none;
        box-shadow: 0 0 5px steelblue;
    }

.filter-container[b-ee3tnn14q7] {
    width: 100%;
    max-width: none;
}

.card[b-ee3tnn14q7] {
    width: 100%;
    padding: 10px;
}
/* _content/Support.Posworx/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-j6p7gwahms] {
    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);
}

    .navbar-toggler:checked[b-j6p7gwahms] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-j6p7gwahms] {
    background-color: #0A0F66;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

.navbar-brand[b-j6p7gwahms] {
    font-size: 1.1rem;
}

.bi[b-j6p7gwahms] {
    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-j6p7gwahms] {
    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-j6p7gwahms] {
    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-j6p7gwahms] {
    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");
}

.bi-lock-nav-menu[b-j6p7gwahms] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-j6p7gwahms] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-j6p7gwahms] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-j6p7gwahms] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-j6p7gwahms] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-j6p7gwahms] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-j6p7gwahms] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-j6p7gwahms] {
        padding-bottom: 1rem;
    }

    .nav-item[b-j6p7gwahms]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .nav-item[b-j6p7gwahms]  a.active {
        background-color: rgba(255, 255, 255, 0.37);
        color: white;
        width: 100%;
    }

    .nav-item[b-j6p7gwahms]  .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        width: 100%;
    }

.fa-solid[b-j6p7gwahms] {
    display: inline-block;
    visibility: visible;
}

.nav-scrollable[b-j6p7gwahms] {
    display: block; /* Always visible by default */
    height: calc(100vh - 3.5rem);
    overflow-y: auto;
}

.sidebar[b-j6p7gwahms] {
    background: linear-gradient(to bottom, #0A0F66, steelblue, lightsteelblue);
    position: fixed;
    top: 3.5rem;
    left: 0;
    width: 250px;
    height: calc(100vh - 3.5rem);
    z-index: 1000;
    transition: width 0.3s ease, left 0.3s ease;
}

    .sidebar.collapsed[b-j6p7gwahms] {
        width: 60px;
    }

.nav-link-container[b-j6p7gwahms] {
    cursor: pointer;
}

.menu-text[b-j6p7gwahms] {
    margin-left: 0.75rem;
    white-space: nowrap;
    color: #d7d7d7;
    display: inline-block;
}

.chevron-icon[b-j6p7gwahms] {
    margin-left: auto;
    color: #d7d7d7;
    transition: transform 0.3s ease;
    display: inline-block;
}

.sidebar.collapsed .menu-text[b-j6p7gwahms],
.sidebar.collapsed .chevron-icon[b-j6p7gwahms] {
    display: none; /* Hide text and chevron when collapsed */
}

.submenu[b-j6p7gwahms] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .submenu.expanded[b-j6p7gwahms] {
        max-height: 50px;
    }

.sub-link[b-j6p7gwahms] {
    padding-left: 2.5rem;
}

.nav-link[b-j6p7gwahms] {
    padding-left: 1rem;
}

.main-content[b-j6p7gwahms] {
    margin-left: 250px;
    margin-top: 3.5rem;
    padding: 1rem;
    min-height: calc(100vh - 3.5rem);
    box-sizing: border-box;
    transition: margin-left 0.3s ease;
    position: relative;
    z-index: 500;
    background-color: #f8f9fa;
}

.sidebar.collapsed ~ .main-content[b-j6p7gwahms] {
    margin-left: 60px;
}

@media (min-width: 641px) {
    .navbar-toggler[b-j6p7gwahms] {
        display: none;
    }

    .nav-scrollable[b-j6p7gwahms] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .sidebar[b-j6p7gwahms] {
        width: 250px;
        height: calc(100vh - 3.5rem);
        position: fixed;
        top: 3.5rem;
        left: 0;
    }

        .sidebar.collapsed[b-j6p7gwahms] {
            width: 60px;
        }
}

@media (max-width: 640.98px) {
    .sidebar[b-j6p7gwahms] {
        width: 250px;
        height: calc(100vh - 3.5rem);
        position: fixed;
        top: 3.5rem;
        left: -250px; /* Start off-screen */
        transition: left 0.3s ease;
    }

        .sidebar.collapsed[b-j6p7gwahms] {
            left: -250px; /* Ensure it�s off-screen when collapsed */
        }

        .sidebar:not(.collapsed)[b-j6p7gwahms] {
            left: 0; /* Slide in when not collapsed */
        }

    .main-content[b-j6p7gwahms] {
        margin-left: 0;
        margin-top: 3.5rem;
        padding: 1rem;
        min-height: calc(100vh - 3.5rem);
    }

    .sidebar:not(.collapsed) ~ .main-content[b-j6p7gwahms] {
        margin-left: 250px;
    }
}

.nav-item .nav-menu-item[b-j6p7gwahms] {
    margin-left: 1rem;
}
/* _content/Support.Posworx/Components/Pages/TicketDetail.razor.rz.scp.css */
/* -- Toast Styles -- */
.e-toast[b-hqnbapwuyd] {
    z-index: 9999 !important;
}

.e-toast-container[b-hqnbapwuyd] {
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 5% !important;
}

.js-toast[b-hqnbapwuyd] {
    z-index: 10000 !important;
    background-color: #d4edda !important; /* Bootstrap success alert background */
    color: #155724 !important; /* Bootstrap success alert text color */
    border: 1px solid #c3e6cb !important; /* Bootstrap success alert border */
}

/* -- Toggle Replies -- */
.toggle-replies[b-hqnbapwuyd] {
    margin-bottom: 10px;
}

/* -- Table Styles -- */
.fixed-table[b-hqnbapwuyd] {
    table-layout: fixed;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

    .fixed-table th[b-hqnbapwuyd], .fixed-table td[b-hqnbapwuyd] {
        width: calc(100% / 3);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        max-width: 0;
        padding: 8px;
    }

table[b-hqnbapwuyd] {
    border-collapse: collapse;
    width: 100%;
}

thead.gradient-header[b-hqnbapwuyd] {
    background: #007bff !important; /* Bootstrap primary color */
}

    thead.gradient-header th[b-hqnbapwuyd] {
        color: white !important;
        padding: 12px;
        border: none !important;
        text-align: left;
        background: none !important;
    }

th[b-hqnbapwuyd], td[b-hqnbapwuyd] {
    width: 33.33%;
}

/* -- Spinner -- */
.spinner[b-hqnbapwuyd] {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* -- Ticket Detail Container -- */
.ticket-detail-container[b-hqnbapwuyd] {
    width: calc(100vw - 310px);
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    margin-left: 20px;
}

/* -- Truncate Text -- */
.truncate-text[b-hqnbapwuyd] {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -- Enhanced Attachment Styles -- */
.attachment-section[b-hqnbapwuyd] {
    margin: 24px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.attachment-grid[b-hqnbapwuyd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.attachment-item[b-hqnbapwuyd] {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .attachment-item:hover[b-hqnbapwuyd] {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-color: #007bff; /* Bootstrap primary color */
    }

    .attachment-item:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
    }

.image-item[b-hqnbapwuyd] {
    aspect-ratio: 1;
}

.attachment-thumbnail[b-hqnbapwuyd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-overlay[b-hqnbapwuyd] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.8); /* Bootstrap primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.image-item:hover .attachment-overlay[b-hqnbapwuyd] {
    opacity: 1;
}

.file-item[b-hqnbapwuyd] {
    padding: 20px;
    text-align: center;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.file-icon[b-hqnbapwuyd] {
    font-size: 2.8rem;
    color: #007bff; /* Bootstrap primary color */
    margin-bottom: 10px;
}

.attachment-name[b-hqnbapwuyd] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.file-item .attachment-name[b-hqnbapwuyd] {
    position: static;
    background: none;
    color: #374151;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.file-size[b-hqnbapwuyd] {
    font-size: 0.75rem;
    color: #6b7280;
}

/* -- Enhanced Modal Styles -- */
.image-modal-backdrop[b-hqnbapwuyd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.image-modal-container[b-hqnbapwuyd] {
    background: #1f2937;
    border-radius: 16px;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.modal-header[b-hqnbapwuyd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #374151;
    border-bottom: 1px solid #4b5563;
}

.modal-title[b-hqnbapwuyd] {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.image-counter[b-hqnbapwuyd] {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-left: 12px;
}

.modal-close-btn[b-hqnbapwuyd] {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .modal-close-btn:hover[b-hqnbapwuyd] {
        color: white;
        background: rgba(255,255,255,0.1);
    }

    .modal-close-btn:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
    }

.modal-body[b-hqnbapwuyd] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 400px;
}

.image-container[b-hqnbapwuyd] {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image[b-hqnbapwuyd] {
    max-width: 80%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-btn[b-hqnbapwuyd] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 123, 255, 0.9); /* Bootstrap primary color with opacity */
    border: none;
    color: white;
    font-size: 1.6rem;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-btn:hover:not(:disabled)[b-hqnbapwuyd] {
        background: #007bff; /* Bootstrap primary color */
        transform: translateY(-50%) scale(1.1);
    }

    .nav-btn:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
    }

    .nav-btn:disabled[b-hqnbapwuyd] {
        opacity: 0.3;
        cursor: not-allowed;
    }

.prev-btn[b-hqnbapwuyd] {
    left: -8px;
}

.next-btn[b-hqnbapwuyd] {
    right: -8px;
}

.modal-footer[b-hqnbapwuyd] {
    padding: 20px 24px;
    background: #374151;
    border-top: 1px solid #4b5563;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-thumbnails[b-hqnbapwuyd] {
    display: flex;
    gap: 10px;
    max-width: 320px;
    overflow-x: auto;
    padding: 8px 0;
}

.thumb-nav[b-hqnbapwuyd] {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .thumb-nav:hover[b-hqnbapwuyd] {
        opacity: 0.8;
    }

    .thumb-nav.active[b-hqnbapwuyd] {
        opacity: 1;
        border-color: #007bff; /* Bootstrap primary color */
    }

@media (max-width: 768px) {
    .attachment-grid[b-hqnbapwuyd] {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .modal-image[b-hqnbapwuyd] {
        max-width: 95vw;
        max-height: 60vh;
    }

    .navDerivative-btn[b-hqnbapwuyd] {
        font-size: 1.3rem;
        padding: 12px 16px;
        width: 48px;
        height: 48px;
    }

    .prev-btn[b-hqnbapwuyd] {
        left: -50px;
    }

    .next-btn[b-hqnbapwuyd] {
        right: -50px;
    }

    .modal-footer[b-hqnbapwuyd] {
        flex-direction: column;
        gap: 12px;
    }
}

/* -- Enhanced Ticket Sidebar Styles -- */
.ticket-sidebar[b-hqnbapwuyd] {
    min-width: 340px;
    max-width: 380px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    position: sticky;
    display:flex;
    top: 2rem;
    z-index: 1020;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

    /* Ticket Sidebar Header */
    .ticket-sidebar .card-header[b-hqnbapwuyd],
    .ticket-sidebar .ticket-header[b-hqnbapwuyd] {
        background: #007bff; /* Bootstrap primary color */
        color: white;
        padding: 24px;
        border-bottom: none;
        border-radius: 20px 20px 0 0;
    }

        .ticket-sidebar .card-header h5[b-hqnbapwuyd],
        .ticket-sidebar .ticket-header h5[b-hqnbapwuyd] {
            margin: 0;
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
        }

    /* Ticket Sidebar Body */
    .ticket-sidebar .card-body[b-hqnbapwuyd],
    .ticket-sidebar .ticket-body[b-hqnbapwuyd] {
        padding: 24px;
    }

/* Form Elements in Ticket Sidebar */
.ticket-info-form .form-label[b-hqnbapwuyd] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    margin-top: 16px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

    .ticket-info-form .form-label:first-child[b-hqnbapwuyd] {
        margin-top: 0;
    }

.ticket-info-form select[b-hqnbapwuyd],
.ticket-info-form input[b-hqnbapwuyd],
.ticket-info-form textarea[b-hqnbapwuyd] {
    min-height: 42px;
    font-size: 0.9rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 10px 14px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

    .ticket-info-form select:focus[b-hqnbapwuyd],
    .ticket-info-form input:focus[b-hqnbapwuyd],
    .ticket-info-form textarea:focus[b-hqnbapwuyd] {
        border-color: #86b7fe; /* Bootstrap focus border color */
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
    }

    .ticket-info-form select:hover[b-hqnbapwuyd],
    .ticket-info-form input:hover[b-hqnbapwuyd],
    .ticket-info-form textarea:hover[b-hqnbapwuyd] {
        border-color: #d1d5db;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    }

.ticket-info-form textarea[b-hqnbapwuyd] {
    min-height: 100px;
    resize: vertical;
}

/* Buttons in Ticket Sidebar */
.ticket-sidebar .btn-primary[b-hqnbapwuyd] {
    background: #28498d; /* Bootstrap primary color */
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(40, 72, 141, 0.3); 
    width: 100%;
    margin-top: 8px;
}

    .ticket-sidebar .btn-primary:hover[b-hqnbapwuyd] {
        background: #1f3681; /* Bootstrap primary hover color */
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(40, 72, 141, 0.4); /* Adjusted to Bootstrap primary */
    }

    .ticket-sidebar .btn-primary:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem #0069d9; /* Bootstrap button focus shadow */
    }

.ticket-sidebar .btn-secondary[b-hqnbapwuyd] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #374151;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 8px;
}

    .ticket-sidebar .btn-secondary:hover[b-hqnbapwuyd] {
        background: #e2e8f0;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .ticket-sidebar .btn-secondary:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
    }

/* Toggle Button */
.btn-sidebar-toggle[b-hqnbapwuyd] {
    background: #28498d; /* Bootstrap primary color */
    border: none;
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px 0 4px 12px rgba(40, 72, 141, 0.3); /* Adjusted to Bootstrap primary */
    transition: all 0.2s ease;
}

    .btn-sidebar-toggle:hover[b-hqnbapwuyd] {
        background: #1f3681; /* Bootstrap primary hover color */
        transform: translateY(-2px);
        box-shadow: 0 6px 16px 0 4px 12px rgba(40, 72, 141, 0.4); /* Adjusted to Bootstrap primary */
    }

    .btn-sidebar-toggle:focus[b-hqnbapwuyd] {
        outline: 0;
        box-shadow: 0 0 0 0.25rem 0 4px 12px rgba(40, 72, 141, 0.5) /* Bootstrap button focus shadow */
    }

/* Status Badge Styles */
.ticket-sidebar .badge[b-hqnbapwuyd] {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.ticket-sidebar .badge-success[b-hqnbapwuyd] {
    background: #28a745; /* Bootstrap success color */
    color: white;
}

.ticket-sidebar .badge-warning[b-hqnbapwuyd] {
    background: #ffc107; /* Bootstrap warning color */
    color: #212529;
}

.ticket-sidebar .badge-danger[b-hqnbapwuyd] {
    background: #dc3545; /* Bootstrap danger color */
    color: white;
}

.ticket-sidebar .badge-info[b-hqnbapwuyd] {
    background: #17a2b8; /* Bootstrap info color */
    color: white;
}

/* Ticket Sidebar Sections */
.ticket-sidebar .ticket-section[b-hqnbapwuyd] {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

    .ticket-sidebar .ticket-section:last-child[b-hqnbapwuyd] {
        border-bottom: none;
        margin-bottom: 0;
    }

.ticket-sidebar .section-title[b-hqnbapwuyd] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .ticket-sidebar[b-hqnbapwuyd] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100vw;
        min-width: unset;
        z-index: 1050;
        border-radius: 0;
        padding-bottom: 80px;
        height: 100vh;
        overflow-y: auto;
    }

        .ticket-sidebar .card-header[b-hqnbapwuyd],
        .ticket-sidebar .ticket-header[b-hqnbapwuyd] {
            border-radius: 0;
        }

    .btn-sidebar-toggle[b-hqnbapwuyd] {
        position: fixed;
        left: 1rem;
        top: 1rem;
        z-index: 1051;
    }
}

/* Enhanced focus states for accessibility */
.ticket-sidebar .btn:focus[b-hqnbapwuyd],
.ticket-sidebar .form-control:focus[b-hqnbapwuyd],
.ticket-sidebar select:focus[b-hqnbapwuyd] {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
}

/* Smooth animations */
.ticket-sidebar[b-hqnbapwuyd] {
    animation: slideInFromRight-b-hqnbapwuyd 0.3s ease-out;
}

@keyframes slideInFromRight-b-hqnbapwuyd {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom scrollbar for ticket sidebar */
.ticket-sidebar[b-hqnbapwuyd] {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

    .ticket-sidebar[b-hqnbapwuyd]::-webkit-scrollbar {
        width: 6px;
    }

    .ticket-sidebar[b-hqnbapwuyd]::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .ticket-sidebar[b-hqnbapwuyd]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

        .ticket-sidebar[b-hqnbapwuyd]::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
/* _content/Support.Posworx/Components/Pages/Tickets.razor.rz.scp.css */
/* -- Search Container -- */
.search-container[b-vu54qwaenw] {
    max-width: 500px;
    margin: 0 auto 20px auto;
}

    .search-container .input-group[b-vu54qwaenw] {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .search-container input[b-vu54qwaenw] {
        border-right: none;
    }

/* -- Filter Sidebar -- */
.filter-sidebar[b-vu54qwaenw] {
    min-width: 340px;
    max-width: 380px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    position: fixed;
    top: 60px;
    right: 20px;
    height: calc(100vh - 100px);
    overflow: hidden;
    z-index: 1030;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
}

    /* Header section */
    .filter-sidebar > .d-flex:first-child[b-vu54qwaenw] {
        padding: 24px 24px 16px 24px;
        background: #28498d; /* Bootstrap primary color */
        color: white;
        margin-bottom: 0;
        border-radius: 20px 20px 0 0;
    }

    .filter-sidebar h6[b-vu54qwaenw] {
        font-weight: 700;
        font-size: 1.2rem;
        color: white;
        letter-spacing: 0.02em;
        margin-bottom: 0;
    }

    .filter-sidebar .btn-light[b-vu54qwaenw] {
        border: 1px solid rgba(255,255,255,0.3);
        color: var(--bs-primary);
        width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

        .filter-sidebar .btn-light:hover[b-vu54qwaenw] {
            background: rgba(255,255,255,0.3);
            color:white;
            transform: scale(1.05);
        }

        .filter-sidebar .btn-light:focus[b-vu54qwaenw] {
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
        }

    /* Scrollable content area */
    .filter-sidebar .px-3[b-vu54qwaenw] {
        flex: 1;
        overflow-y: auto;
        padding: 20px 24px 24px 24px !important;
    }

    /* Action buttons section */
    .filter-sidebar .row.g-2[b-vu54qwaenw] {
        margin-bottom: 24px;
        gap: 8px !important;
    }

    .filter-sidebar .btn-primary[b-vu54qwaenw] {
        background: #28498d; /* Bootstrap primary color */
        border: none;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 10px 16px;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(40, 72, 141, 0.3); /* Adjusted to Bootstrap primary */
    }

    .btn-sidebar-toggle[b-vu54qwaenw] {
        background: #28498d; /* Bootstrap primary color */
        border: none;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 10px 16px;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(40, 72, 141, 0.3); /* Adjusted to Bootstrap primary */
    }

.btn-sidebar-toggle:hover[b-vu54qwaenw] {
    background: #1f3681; /* Bootstrap primary hover color */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 72, 141, 0.4); /* Adjusted to Bootstrap primary */
}

.btn-sidebar-toggle:focus[b-vu54qwaenw] {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(40, 72, 141, 0.5); /* Bootstrap button focus shadow */
}

.btn-sidebar-toggle:active[b-vu54qwaenw] {
            transform: translateY(0);
}


 .filter-sidebar .btn-primary:hover[b-vu54qwaenw] {
     background: #1f3681; /* Bootstrap primary hover color */
     transform: translateY(-2px);
     box-shadow: 0 6px 16px rgba(40, 72, 141, 0.4); /* Adjusted to Bootstrap primary */
 }

 .filter-sidebar .btn-primary:focus[b-vu54qwaenw] {
     outline: 0;
     box-shadow: 0 0 0 0.25rem rgba(40, 72, 141, 0.5); /* Bootstrap button focus shadow */
 }

 .filter-sidebar .btn-primary:active[b-vu54qwaenw] {
     transform: translateY(0);
 }

    /* Form labels */
    .filter-sidebar label.form-label[b-vu54qwaenw] {
        font-weight: 600;
        color: #374151;
        font-size: 0.9rem;
        margin-bottom: 8px;
        margin-top: 20px;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

    /* Form controls */
    .filter-sidebar .form-select[b-vu54qwaenw],
    .filter-sidebar select[b-vu54qwaenw],
    .filter-sidebar input[type="date"][b-vu54qwaenw] {
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: white;
        font-size: 0.9rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 16px;
        min-height: 42px;
        padding: 10px 14px;
        transition: all 0.2s ease;
        color: #374151;
    }

        .filter-sidebar .form-select:focus[b-vu54qwaenw],
        .filter-sidebar select:focus[b-vu54qwaenw],
        .filter-sidebar input[type="date"]:focus[b-vu54qwaenw] {
            border-color: #86b7fe; /* Bootstrap focus border color */
            background: white;
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
        }

        .filter-sidebar .form-select:hover[b-vu54qwaenw],
        .filter-sidebar select:hover[b-vu54qwaenw],
        .filter-sidebar input[type="date"]:hover[b-vu54qwaenw] {
            border-color: #d1d5db;
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        }

        /* Multi-select styling */
        .filter-sidebar select[multiple][b-vu54qwaenw] {
            min-height: 100px;
            background: white;
            border-radius: 12px;
            padding: 8px;
        }

            .filter-sidebar select[multiple] option[b-vu54qwaenw] {
                padding: 6px 10px;
                margin: 2px 0;
                border-radius: 6px;
                color: #374151;
            }

                .filter-sidebar select[multiple] option:hover[b-vu54qwaenw] {
                    background: #f3f4f6;
                }

                .filter-sidebar select[multiple] option:checked[b-vu54qwaenw] {
                    background: #007bff; /* Bootstrap primary color */
                    color: white;
                }



.filter-sidebar .accordion-button:not(.collapsed)[b-vu54qwaenw] {
    background: #28498d; /*Bootstrap primary color */
    color: white;
    box-shadow: none;
}

.filter-sidebar .accordion-button:hover[b-vu54qwaenw] {
    background: #1f3681; /*Bootstrap primary color */
    color: white;
}

.filter-sidebar .accordion-button:focus[b-vu54qwaenw] {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(40, 72, 141, 0.3); /* Bootstrap focus shadow */
}

.filter-sidebar .accordion-button[b-vu54qwaenw]::after {
    filter: brightness(0) invert(1);
}

.filter-sidebar .accordion-button:not(.collapsed)[b-vu54qwaenw]::after {
    filter: brightness(0) invert(1);
}

    /* Accordion styling */
    .filter-sidebar .accordion[b-vu54qwaenw] {
        margin-top: 12px;
    }

    .filter-sidebar .accordion-item[b-vu54qwaenw] {
        border: none;
        margin-bottom: 12px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .filter-sidebar .accordion-button[b-vu54qwaenw] {
        border: none;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 14px 18px;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    

    .filter-sidebar .accordion-body[b-vu54qwaenw] {
        background: white;
        padding: 16px 18px;
        border-top: 1px solid #e5e7eb;
    }

        .filter-sidebar .accordion-body label[b-vu54qwaenw] {
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 6px;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.01em;
        }

        .filter-sidebar .accordion-body input[type="date"][b-vu54qwaenw] {
            margin-bottom: 12px;
            font-size: 0.9rem;
        }

    /* Disabled states */
    .filter-sidebar .form-select:disabled[b-vu54qwaenw],
    .filter-sidebar select:disabled[b-vu54qwaenw] {
        background: #f9fafb;
        color: #9ca3af;
        border-color: #e5e7eb;
        cursor: not-allowed;
    }

    /* Custom scrollbar */
    .filter-sidebar .px-3[b-vu54qwaenw] {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }

        .filter-sidebar .px-3[b-vu54qwaenw]::-webkit-scrollbar {
            width: 6px;
        }

        .filter-sidebar .px-3[b-vu54qwaenw]::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }

        .filter-sidebar .px-3[b-vu54qwaenw]::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

            .filter-sidebar .px-3[b-vu54qwaenw]::-webkit-scrollbar-thumb:hover {
                background: #94a3b8;
            }

/* Mobile responsive */
@media (max-width: 991px) {
    .filter-sidebar[b-vu54qwaenw] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100vw;
        min-width: unset;
        z-index: 1050;
        border-radius: 0;
        height: 100vh;
    }

        .filter-sidebar > .d-flex:first-child[b-vu54qwaenw] {
            border-radius: 0;
            padding: 20px 20px 16px 20px;
        }

        .filter-sidebar .px-3[b-vu54qwaenw] {
            padding: 20px !important;
            padding-bottom: 60px !important;
        }
}

/* Enhanced focus states for accessibility */
.filter-sidebar .btn:focus[b-vu54qwaenw],
.filter-sidebar .form-select:focus[b-vu54qwaenw],
.filter-sidebar select:focus[b-vu54qwaenw],
.filter-sidebar input:focus[b-vu54qwaenw] {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus shadow */
}

/* Smooth transitions for all interactive elements */
.filter-sidebar *[b-vu54qwaenw] {
    transition: all 0.2s ease;
}

/* Add subtle animations */
.filter-sidebar[b-vu54qwaenw] {
    animation: slideIn-b-vu54qwaenw 0.3s ease-out;
}

@keyframes slideIn-b-vu54qwaenw {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
