.elementor .elementor-section.elementor-section-boxed > .elementor-container {
    /*max-width: unset !important;*/
}

/* ========== Panel ========== */
.panel-container {
    width: 1200px;
    margin: 10px auto 70px;
    font-family: var(--font-title);
}

.panel-block {
    display: flex;
    justify-content: space-between;
}

/* ========== Panel sidebar ========== */
.panel-sidebar {
    position: fixed;
    background-color: #2b2f3e;
    width: 290px;
    height: 450px;
    /*height: calc(100vh - 200px);*/
    border-radius: 10px 0 0 10px;
}

/* ===== Panel avatar ===== */
.panel-sidebar .panel-my-avatar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #202430;
    border-radius: 10px 0 0 0;
}

.panel-sidebar .panel-my-avatar div {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

#btn_close_menu {
    display: none;
    height: 30px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    border: 0;
    border-radius: 3px;
    font-family: var(--font-description);
    transition: all .2s linear;
    color: #fff !important;
    background: #6b6f82;
}

#btn_close_menu:hover,
#btn_close_menu:focus {
    background: #414452;
}

#menu-open-btn,
#menu-close-btn {
    display: none;
}

.panel-sidebar .panel-my-avatar img {
    border-radius: 50%;
    width: 80px;
    height: auto;
    display: inline;
}

.panel-sidebar .panel-my-avatar .panel-user-info {
    display: flex;
    flex-direction: column;
}

.panel-sidebar .panel-my-avatar .panel-user-info h3 {
    color: #fff;
    font-size: 15px !important;
    margin-bottom: 0;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-sidebar .panel-my-avatar .panel-user-info span {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 5px;
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-sidebar .panel-my-avatar .panel-user-info a {
    color: #5bc0de;
    font-size: 14px;
}

/* ========== Panel menu ========== */
.panel-menu {
    padding: 10px 0;
}

.panel-menu ul {
    list-style: none;
    margin: 0;
    padding: 0 25px;
}

.panel-menu ul li {
    position: relative;
    display: block;
    border-radius: 5px;
    margin-top: 3px;
    cursor: pointer;
    transition: all ease-in-out 300ms;
}

.panel-menu ul li .badge-box {
    position: absolute;
    top: 9px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 10px;
    height: 14px;
    border-radius: 10px;
    background: #00b38f;
    color: #fff;
}

.panel-menu ul li svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.panel-menu ul li:hover {
    background: rgba(255, 255, 255, 0.04);
}

.panel-menu ul li.active {
    background: rgba(255, 255, 255, 0.1);
}

.panel-menu ul li a {
    font-size: 15px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.panel-menu ul ul {
    padding: 0 10px !important;
}

.panel-menu ul ul li a {
    font-size: 14px;
    padding: 0 10px !important;
}

/* ========== Panel content ========== */
.panel-content {
    width: 900px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    background-color: #fdfdfd;
    font-family: var(--font-description);
    border-radius: 0 10px 10px 0;
}

#panel-main .panel-content {
    width: calc(100% - 290px) !important;
    margin-left: 290px !important;
}

.panel-content a {
    color: #00bff9;
}

.page-wrapper .page-body {
    /*height: calc(100vh - 200px);*/
    /*overflow-y: scroll;*/
}


.page-wrapper .page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e9ec;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.page-wrapper .page-title h3 {
    color: #2b2f3e;
    font-size: 22px !important;
    margin: 0 !important;
    text-transform: unset !important;
}

.page-wrapper .page-title .box-btn {
    color: #2b2f3e;
    font-size: 18px;
    margin: 0 !important;
    display: flex;
    justify-content: flex-end;
}

.page-wrapper .content-title {
    color: #2b2f3e;
    font-family: var(--font-title);
    font-size: 16px;
    margin: 10px !important;
}

.page-wrapper .content-desc {
    color: #3c3c3c;
    font-size: 14px;
    font-family: var(--font-description);
    margin-bottom: 5px !important;
}

/* ========== Widget ========== */
.widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-item {
    background: #f7f7f7;
    width: 24% !important;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.widget-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
}

.widget-title {
    color: #818a91;
    font-family: var(--font-title);
    font-weight: normal;
    font-size: 14px;
    padding-bottom: 3px;
}

.widget-data {
    color: #202430;
    font-family: var(--font-description);
    font-weight: bold;
    font-size: 18px;
}

.color-1 {
    background: #007aff;
}

.color-2 {
    background: #22c55e;
}

.color-3 {
    background: #ffa826;
}

.color-4 {
    background: #51b6ff;
}

.color-5 {
    background: #dc2626;
}

/* ========== Tickets ========== */
.tab-items ul {
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    list-style: none;
    padding: 6px;
    border-radius: 5px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px !important;
    font-variation-settings: 'wght' 600 !important;
    margin-bottom: 0;
    transition: all ease 300ms;
}

.ticket-badge-count {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}

/* ===== Pending ===== */
.tab-item-pending {
    color: var(--color-info) !important;
    background: var(--color-info-opacity) !important;
}

.tab-item-pending:hover,
.tab-item-pending.active {
    color: #fff !important;
    background: var(--color-info) !important;
}

.tab-item-pending .ticket-badge-count {
    background: var(--color-info) !important;
}

.tab-item-pending:hover .ticket-badge-count,
.tab-item-pending.active .ticket-badge-count {
    background: #fff !important;
    color: var(--color-info) !important;
}

/* ===== Answered ===== */
.tab-item-answered {
    color: var(--color-success) !important;
    background: var(--color-success-opacity) !important;
}

.tab-item-answered:hover,
.tab-item-answered.active {
    color: #fff !important;
    background: var(--color-success) !important;
}

.tab-item-answered .ticket-badge-count {
    background: var(--color-success) !important;
}

.tab-item-answered:hover .ticket-badge-count,
.tab-item-answered.active .ticket-badge-count {
    background: #fff !important;
    color: var(--color-success) !important;
}

/* ===== Closed ===== */
.tab-item-closed {
    color: var(--color-danger) !important;
    background: var(--color-danger-opacity) !important;
}

.tab-item-closed:hover,
.tab-item-closed.active {
    color: #fff !important;
    background: var(--color-danger) !important;
}

.tab-item-closed .ticket-badge-count {
    background: var(--color-danger) !important;
}

.tab-item-closed:hover .ticket-badge-count,
.tab-item-closed.active .ticket-badge-count {
    background: #fff !important;
    color: var(--color-danger) !important;
}

/*  ===== Box conversion ===== */
.tickets-wrapper .box-conversion {
    background: #eeeeee63;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.tickets-wrapper .user-comment-box,
.tickets-wrapper .admin-comment-box {
    display: flex;
    align-items: flex-start;
}

.tickets-wrapper .admin-comment-box {
    flex-direction: row-reverse;
}

.tickets-wrapper .admin-avatar,
.tickets-wrapper .user-avatar {
    width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tickets-wrapper .admin-avatar img,
.tickets-wrapper .user-avatar img {
    max-width: 100%;
    border-radius: 50%;
    border: 1px solid #ddd;
    padding: 4px;
}

.tickets-wrapper .admin-avatar img {
    border: 1px solid var(--color-primary) !important;
}

.tickets-wrapper .admin-avatar span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 25px;
    margin-top: 5px;
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    background: var(--color-primary);
}

.tickets-wrapper .comment-content {
    width: 80%;
    background: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: var(--font-description);
}

.tickets-wrapper .comment-content a {
    color: #fff;
    text-decoration: underline;
}

.tickets-wrapper .admin-comment-box .comment-content {
    background: #2b2f3e !important;
}

.tickets-wrapper .user-comment-box .comment-content {
    margin-left: 15px;
}

.tickets-wrapper .admin-comment-box .comment-content {
    margin-right: 15px;
}

.tickets-wrapper .details-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.tickets-wrapper .admin-comment-box .details-box {
    border-bottom: 1px solid #333748 !important;
}

.tickets-wrapper .details-box .username {
    font-size: 15px;
    color: #1a1b1e;
    font-weight: bold;
}

.tickets-wrapper .admin-comment-box .details-box .username {
    color: #ffffff !important;
}

.tickets-wrapper .details-box .date {
    font-size: 12px;
    color: #37474f;
    display: flex;
    gap: 5px;
    align-items: baseline;
}

.tickets-wrapper .admin-comment-box .details-box .date {
    color: #b1b1b1 !important;
}

.tickets-wrapper .comment-content .text {
    font-size: 13px;
}

.tickets-wrapper .admin-comment-box .comment-content .text {
    color: #d5d5d5 !important;
}

.tickets-wrapper .box-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-top: 1px solid #f7f7f7;
    padding-top: 5px;
    margin-top: 30px;
}

.tickets-wrapper .box-img span {
    font-size: 15px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.tickets-wrapper .box-img img {
    border-radius: 5px;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    cursor: pointer;
}

.tickets-wrapper .admin-comment-box .box-img {
    border-top: 1px solid #333748 !important;
}


/* ========== Wallet ========== */
.block-charges {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.block-charges .charge-item {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 5px;
    background: #eeeeee63;
}

.block-charges .charge-item > div:not(.charge-percent-gift) {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px !important;
}

.charge-percent-gift {
    background: var(--color-success);
    color: #fff;
    position: absolute;
    top: -6px;
    left: -10px;
    padding: 1px 3px;
    border-radius: 5px;
}

.tab-content-container.wallet-container .badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f3f3f3 !important;
}

.block-charges .separate {
    position: relative;
    width: 5px;
}

.block-charges .separate .fa {
    font-size: 90px;
    position: absolute;
    top: -45px;
    right: -20px;
    color: #fdfdfd;
}

/* ========== Services page ========== */
.block-services {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.box-services {
    width: 32%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 8px;
    border-radius: 5px;
    background: #eeeeee63;
}

.box-services * {
    text-transform: capitalize;
}

.services-wrapper .tab-item img {
    border-radius: 50%;
}

/* ========== Form ========== */
.box-form #order-tracking-form,
.box-form #new-ticket-form,
.box-form #answer-ticket-form,
.box-form #custom-amount-wallet-form {
    background: #eeeeee63;
    padding: 15px;
    border-radius: 5px;
}

.box-form #order-tracking-form,
.box-form #custom-amount-wallet-form {
    margin-bottom: 40px;
}

.box-form #new-ticket-form,
.box-form #answer-ticket-form {
    width: 60%;
    margin: 0 auto;
}

.box-form #order-tracking-form .form-field,
.box-form #new-ticket-form .form-field,
.box-form #answer-ticket-form .form-field,
.box-form #custom-amount-wallet-form .form-field,
.box-form #custom-amount-wallet-form .form-field {
    background: #fff !important;
}

a[href="javascript:void()"] {
    cursor: default;
}

/* ========== Responsive style ========== */
@media screen and (max-width: 1230px) {
    .panel-container {
        width: 100%;
    }

    .widget-item {
        width: 30% !important;
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 992px) {
    .page-wrapper .page-body .box-table {
        overflow-x: scroll;
    }

    .panel-sidebar {
        width: 100%;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        border-radius: 10px 0 0 10px;
        transform: translateX(100%);
        transition: all .4s linear;
        box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
        z-index: 99999;
    }

    #btn_close_menu {
        display: flex;
    }

    .show-panel-sidebar {
        transform: translateX(0%);
    }

    .panel-content {
        width: 100% !important;
    }

    #panel-main .panel-content {
        padding: 50px 10px 10px 10px !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .box-form #new-ticket-form {
        width: 100%;
    }

    .widget-wrapper {
        justify-content: center;
        gap: 5px;
    }

    .widget-item {
        width: 20%;
        flex-direction: column;
        gap: 5px
    }

    .widget-content {
        text-align: center;
    }

    #menu-open-btn {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: bold;
        justify-content: center;
        cursor: pointer;
        color: #000;
        background: #fff;
        box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
        z-index: 999;
    }

    .panel-container {
        margin-top: 0 !important;
    }

    .panel-block {
        flex-direction: column;
    }

    .page-wrapper .page-title {
        flex-wrap: wrap;
        gap: 10px;
    }

    .box-services {
        width: 49%;
    }
}

@media screen and (max-width: 762px) {
    .widget-item {
        width: 49% !important;
        flex-direction: row;
    }

    .block-charges .charge-item {
        width: 70% !important;
    }
}

@media screen and (max-width: 600px) {
    .tickets-wrapper .admin-avatar,
    .tickets-wrapper .user-avatar {
        display: none;
    }

    .admin-comment-box,
    .user-comment-box {
        gap: 10px;
    }

    .user-comment-box {
        flex-direction: row;
    }

    .admin-comment-box {
        flex-direction: row-reverse;
    }

    .tickets-wrapper .user-comment-box .comment-content {
        width: 100%;
        margin-right: 0;
    }

    .tickets-wrapper .admin-comment-box .comment-content {
        width: 100%;
        margin-left: 0;
    }

    #answer-ticket-form {
        width: 100% !important;
    }
}

@media screen and (max-width: 550px) {
    #order-tracking-form #tracking_code_field {
        width: 100% !important;
    }

    #order-tracking-form #btn-submit {
        width: 100% !important;
        margin-top: 10px;
    }

    .panel-btn-group {
        justify-content: space-between;
    }

    .block-charges .charge-item {
        width: 100% !important;
    }

    .box-services {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .panel-btn-group {
        justify-content: space-between;
    }
}

@media screen and (max-width: 450px) {
    .widget-item {
        width: 49% !important;
        flex-direction: column !important;
    }

    #custom-amount-wallet-form #custom_amount_field {
        width: 100% !important;
    }

    #custom-amount-wallet-form #btn-pay {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .form-control label {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 370px) {
    .page-wrapper .page-title {
        justify-content: center;
    }

    .widget-item {
        width: 100% !important;
        flex-direction: row !important;
    }

    .block-charges .separate .fa {
        right: -30px !important;
    }
}
