.dashboard-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.dashboard-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.dashboard-table-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.dashboard-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.card-header .title-hero__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(240, 43, 66, .2);
    color: var(--primary);
    font-size: 20px;
}

.dashboard-card {
    border-radius: 14px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.dashboard-card .card-header {
    padding: 20px 24px !important;
    background: #ffffff;
    border-bottom: 1px solid #f1f3f5 !important;
    border-radius: 14px 14px 0 0;
}

.dashboard-card .card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.dashboard-card .card-body {
    padding: 24px !important;
}

.dashboard-create-btn {
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 20px !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease;
}

.dashboard-create-btn:hover {
    transform: translateY(-1px);
}

.ticket-filter-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

.ticket-filter-box label {
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ticket-filter-box .select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent;
    height: 28px;
    box-shadow: none !important;
}

.ticket-filter-box .select2-container--focus {
    outline: none !important;
}

.status-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 2px 4px;
    font-size: 13px;
    font-weight: 500;
}

.ticket-status-dropdown.select2-dropdown {
    border-radius: 10px;
    border-color: #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 260px !important;
    padding: 4px;
}

.ticket-status-dropdown .select2-results__option {
    padding: 4px 6px;
    border-radius: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.status-dot-all {
    background-color: #adb5bd;
}

.status-dot-new {
    background-color: #ff6f31;
}

.status-dot-reopen {
    background-color: #17d1dc;
}

.status-dot-info {
    background-color: #128af9;
}

.status-dot-warning {
    background-color: #fbc518;
}

.status-dot-closed {
    background-color: #f7284a;
}
.dataTables_filter {
    margin-bottom: 16px;
}

.dataTables_filter input {
    height: 38px;
    border-radius: 50px !important;
    border: 1px solid #e5e7eb !important;
    padding: 0 16px !important;
}

#alltickets {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100% !important;
}

#alltickets.table-bordered {
    border: 1px solid #eef0f3 !important;
}

#alltickets thead th {
    background: #f8f9fa;
    color: #4b5563;
    font-size: 12.5px;
    font-weight: 700;
    padding: 15px 18px;
    border: none !important;
    border-bottom: 1px solid #e9ecef !important;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

#alltickets tbody td {
    padding: 15px 18px;
    font-size: 13.5px;
    font-weight: 400;
    color: #374151;
    vertical-align: middle;
    border: none !important;
    border-bottom: 1px solid #f1f3f5 !important;
}

#alltickets tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#alltickets tbody tr:hover {
    background-color: #f9fafb !important;
}


#alltickets .badge {
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
}

#alltickets tbody .dataTables_empty {
    padding: 45px 16px !important;
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
}

.dashboard-table-scroll {
    border-radius: 12px;
}

.dashboard-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.dashboard-table-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.dashboard-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.dataTables_wrapper .row:last-child {
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
}

#alltickets_paginate {
    margin-top: 0;
}

#alltickets_paginate .pagination {
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

#alltickets_paginate .page-item {
    margin: 0 !important;
}

#alltickets_paginate .page-item .page-link {
    margin: 0 !important;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: 1px solid #dee2e6 !important;
    color: #374151;
    font-size: 13px;
    padding: 6px 13px;
    transition: all 0.15s ease;
    box-shadow: none !important;
}

#alltickets_paginate .page-item .page-link:hover {
    background-color: #f3f4f6;
    border-color: #ced4da !important;
    color: #1a1a1a;
}

#alltickets_paginate .page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff;
}

#alltickets_paginate .page-item.disabled .page-link {
    color: #c1c5cb;
    background-color: #fff;
    border-color: #eef0f3 !important;
    opacity: 1;
}

.dataTables_length select {
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0 8px;
    font-size: 13px;
    min-width: 60px;
    padding: 0 10px;
}
.dataTables_length .select2-container--default .select2-selection--single {
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    display: flex;
    align-items: center;
    padding: 0 8px;
    min-width: 60px;
}

.dataTables_length .select2-selection__rendered {
    line-height: 34px !important;
    padding: 0 !important;
    font-size: 13px;
}

.dataTables_length .select2-selection__arrow {
    display: none !important;
}

.dataTables_length .select2-container {
    width: auto !important;
    min-width: 60px !important;
}

.dataTables_length label{
    margin-bottom: 0 !important;
}

#alltickets_processing {
    z-index: 10;
}

@media (max-width: 575.98px) {
    .ticket-filter-box {
        width: 100%;
        max-width: 260px;
    }

    .ticket-filter-box .select2-container {
        max-width: 200px !important;
    }
}

