.ticket-dashboard-shell {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 60px);
    background: #fff;
}

.ticket-dashboard-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: calc(100% - 245px);
    min-width: 0;
    min-height: calc(100vh - 60px);
    max-width: calc(100% - 245px);
}

.ticket-dashboard-content > #footer {
    width: 100%;
    margin-top: auto;
}

.ticket-dashboard-content .container {
    width: 100%;
    max-width: 100%;
    padding-right: 30px;
    padding-left: 30px;
}

.ticket-dashboard-content .page-content,
.ticket-dashboard-content .category-one,
.ticket-dashboard-content .table-section {
    max-width: 100%;
}

.ticket-dashboard-content .table-section {
    overflow-x: auto;
}

.ticket-sidebar {
    position: sticky;
    top: 0;
    z-index: 1000;
    flex: 0 0 245px;
    width: 245px;
    min-height: calc(100vh - 60px);
    padding: 25px 16px;
    color: #fff;
    background: linear-gradient(180deg, #242a67 0%, #171b48 100%);
    box-shadow: 6px 0 24px rgba(27, 31, 78, .14);
}

.ticket-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 4px 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.ticket-sidebar-heading strong,
.ticket-sidebar-heading small {
    display: block;
}

.ticket-sidebar-heading strong {
    font: 700 15px "Open Sans", sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.ticket-sidebar-heading small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font: 400 12px "Open Sans", sans-serif;
}

.ticket-sidebar-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef0f72, #f94a28);
    box-shadow: 0 8px 18px rgba(239, 15, 114, .28);
}

.ticket-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 7px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
    font: 600 14px "Open Sans", sans-serif;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ticket-sidebar-nav a:hover,
.ticket-sidebar-nav a:focus,
.ticket-sidebar-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .11);
    text-decoration: none;
    transform: translateX(3px);
}

.ticket-sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(239, 15, 114, .32), rgba(249, 74, 40, .16));
    box-shadow: inset 3px 0 0 #ef0f72;
}

.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #fff;
    background: #4c9b38;
}

.sidebar-icon.tickets { background: #4c9b38; }
.sidebar-icon.admins { background: #ef0f72; }
.sidebar-icon.staff { background: #c66c2c; }
.sidebar-icon.clients { background: #f93434; }
.sidebar-icon.faq { background: #18a9d8; }
.sidebar-icon.departments { background: #10bca5; }
.sidebar-icon.settings { background: #f93434; }
.sidebar-icon.about { background: #4c9b38; }

.ticket-sidebar-overlay {
    display: none;
}

@media (max-width: 992px) {
    .ticket-dashboard-shell {
        display: block;
    }

    .ticket-dashboard-content {
        width: 100%;
        max-width: 100%;
    }

    .ticket-dashboard-content .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .ticket-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 245px;
        min-height: 100vh;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .3s ease;
    }

    .ticket-sidebar.menu-active {
        transform: translateX(0);
    }

    .ticket-sidebar.menu-active + .ticket-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(14, 17, 48, .48);
    }
}
