:root{
    --bg : #fff;
    --primary : #1B4AB2;
    --secondary: #FEA004;
    --purble: #9E04FE;
    --green: #31c76d;
    --gray: #6B7280;
    --red: #FF5050;
    --black: #010409;
}
.wct-dashboard-wrap{
    display: none;
}
.wct-dashboard-wrap.show{
    display: block;
}
.wct-dashboard{
    padding: 40px 24px;
    background: var(--bg);
    border-radius: 24px;
    margin-bottom: 20px;
}
.wct-dashboard p{
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    line-height: 23px;
    margin-bottom: 4px;
    text-align: justify;
}
.wct-dashboard p b{
    color: var(--secondary);
}
.wct-static-text{
    margin-bottom: 28px;
}

.wct-stats{
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}
.wct-stat{
    background: var(--secondary);
    color: #ffffff;
    width: calc(25% - 28px);
    display: flex;
    align-items: center;
    justify-content: start;
    border-radius: 24px;
    padding: 18px 20px;
    position: relative;
}
.wct-stat i{
    background: #ffffff;
    color: var(--secondary);
    font-size: 30px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.wct-stat div{
    width: 81px;
    height: 41px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.wct-stat div b{
    font-size: 24px;
    line-height: 17px;
}
.wct-stat div span{
    font-size: 16px;
    line-height: 11px;
    opacity: 0.8;
}
.wct-stat svg{
    position: absolute;
    top: 0;
    left: 0;
}
.wct-stat.open{
    background: var(--primary);
}
.wct-stat.open i{
    color: var(--primary);
}
.wct-stat.in-review{
    background: var(--purble);
}
.wct-stat.in-review i{
    color: var(--purble);
}
.wct-stat.closed{
    background: var(--green);
}
.wct-stat.closed i{
    color: var(--green);
}

.wct-actions .btn{
    padding: 4px 24px;
    margin: 0;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 8px;
    font-size: 16px;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wct-actions .btn:hover{
    color: var(--main-color);
    background: var(--main-color-10);
}

/*.tickets-list-wrapper{*/
/*    padding: 40px 0;*/
/*    background: var(--bg);*/
/*    border-radius: 24px;*/
/*}*/
.tickets-list-wrapper h3{
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 32px;
}
.tickets-list-wrapper .table{
    --bs-table-bg: var(--bg);
    --bs-table-border-color : var(--bg);
    font-size: 14px;
    line-height: 1;
}
.tickets-list-wrapper .table>tbody,
.tickets-list-wrapper .table>thead{
    vertical-align: middle;
    text-align: center;
}
.tickets-list-wrapper .table th{
    padding-bottom: 16px;
}
.tickets-list-wrapper .table td{
    color: var(--gray);
    padding: 8px 4px;
    line-height: 24px;
    border: 0;
}
.tickets-list-wrapper .table tbody tr:first-child td{
    padding-top: 16px;
}
.tickets-list-wrapper .table td.closed{
    color: var(--red);
}
.tickets-list-wrapper .table td.in-review{
    color: var(--secondary);
}
.tickets-list-wrapper .table td.open{
    color: var(--green);
}
.btn.btn-wct{
    width: max-content;
    height: 36px;
    font-size: 14px;
    line-height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--main-color-10);
    color: var(--main-color);
    border-radius: 8px;
}
.btn.btn-wct:hover{
    background: var(--main-color);
    color: var(--white-color);
}

.wct-new-ticket{
    padding: 40px 24px;
    background: var(--bg);
    border-radius: 24px;
    display: none;
}
.wct-new-ticket.show{
    display: block;
}
.wct-new-ticket h3{
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 32px;
}
.wct-new-ticket .static-text{
    margin-bottom: 32px;
}
.wct-new-ticket .static-text p{
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    line-height: 23px;
    margin-bottom: 4px;
    text-align: justify;
}
.wct-new-ticket .static-text ul{
    margin-bottom: 4px;
    padding-right: 25px;
    color: var(--gray);
}
.wct-new-ticket .static-text li{
    display: list-item;
    list-style-type: square;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    line-height: 23px;
}
.wct-ticket-form{
    background: var(--white-color);
    border-radius: 24px;
    /*width: 540px;*/
    max-width: 100%;
    position: relative;
    z-index: 9;
    padding: 24px;
    border: 1px solid var(--black-color-100);
    margin: 0 24px;
}
.input-grout-area,
.input-grout{
    margin-bottom: 32px;
    border: 1px solid #ababab;
    position: relative;
    height: 48px;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-grout-area label,
.input-grout label{
    font-size: 12px;
    line-height: 20px;
    padding: 0 4px;
    background: var(--bg);
    position: absolute;
    top: -10px;
    right: 18px;
}
.input-grout select,
.input-grout input{
    background: var(--bg);
    height: 24px;
    border: 0;
    outline: none;
    width: 100%;
    padding: 0;
    line-height: 24px;
    font-size: 14px;

}

.input-grout-area {
    height: 144px;
}
.input-grout-area textarea{
    background: var(--bg);
    border: 0;
    outline: none;
    width: 100%;
    padding: 0;
    line-height: 24px;
    font-size: 14px;
}

.file-wrap{
    margin-bottom: 10px;
    border: 1px solid #ababab;
    position: relative;
    height: 48px;
    padding: 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.file-wrap b{
    font-weight: 400;
    padding: 0 8px;
    font-size: 14px;
    line-height: 24px;
    color: var(--gray);
}

/*.file-wrapper {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*}*/
.file-input {
    display: none;
}
.file-label {
    background: var(--green);
    color: #fff;
    cursor: pointer;
    width: 124px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
}
small{
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    display: block;
}
.wct-ticket-form .btns-wrap{
    display: flex;
    gap: 16px;
    justify-content: end;
    margin-top: 24px;
}
.wct-ticket-form .btn{
    width: max-content;
    padding: 4px 24px;
    margin: 0;
    background: var(--sec-color-10);
    color: var(--sec-color);
    border-radius: 8px;
    font-size: 16px;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wct-ticket-form .btn.btn-send{
    background: var(--main-color-10);
    color: var(--main-color);
}
.input-box{
    margin-bottom: 16px;
}
.input-box label{
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 8px;
    font-weight: 400;
}
.input-box label .required{
    color: var(--main-color);
}
.input-box .form-control{
    --bs-border-radius: 10px;
}
.wct-error,
.wct-success{
    padding: 40px;
    background: var(--bg);
    border-radius: 24px;
    text-align: center;
}
.wct-error span,
.wct-success span{
    font-size: 100px;
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.wct-error span:before,
.wct-success span:before{
    content: " ";
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background: var(--green);
    opacity: 0.06;
    position: absolute;
    top: 2px;
    left: -14px;
}
.wct-error span{
    color: var(--red);
}
.wct-error span:before{
    background: var(--red);
}
.wct-error p,
.wct-success p{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 32px;
}
.wct-success .btn{
    width: 219px;
    height: 56px;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wct-ticket-view{
    background: var(--bg);
}
.wct-ticket-view-head{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
    margin-bottom: 32px;
}
.wct-ticket-view-head h2{
    font-size: 16px;
    line-height: 1;
    color: var(--primary);
}
.wct-ticket-wrap{
    background: var(--bg);
    z-index: 99;
    padding: 24px;
    margin: 0 16px;
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--black-color-100);
}

.ticket-info{
    margin-bottom: 16px;
}
.ticket-info ul{
    padding: 0 0 16px;
    background: #ffffff;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;*/
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--black-color-100);
}
.ticket-info ul li{
    width: calc(50% - 8px);
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
}
.ticket-info ul li.w-100{
    width: 100%;
}
.ticket-info ul li b{
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 8px;
    color: var(--black);
}
.ticket-info ul li span{
    padding: 0 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    color: var(--black);
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: start;
    border-radius: 10px;
    border: 1px solid var(--black-color-100);
}
.ticket-info ul li span.closed{
    color: var(--red);
}
.ticket-info ul li span.open{
    color: var(--green);
}
.ticket-info ul li span.in-review{
    color: var(--secondary);
}
.ticket-info p{
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary);
}
.wct-messages{
    position: relative;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--black-color-10);
}
.wct-messages:before{
    content:"";
    width: 94px;
    height: 43%;
    background: var(--black-color-5);
    border-radius: 16px;
    position: absolute;
    top: 24px;
    right: -16px;
    z-index: 1;
}

.wct-message{
    background: var(--bg);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid var(--black-color-100);
    position: relative;
    z-index: 9;
}
.wct-message:before{
    content: "";
    border: 8px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 4px;
    top: 16px;
}
.wct-message.admin{
    margin-right: 32px;
}

.wct-message .name{
    display: block;
    font-size: 14px;
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}
.wct-message .text{
    display: block;
    padding: 4px 12px;
    border-radius: 10px;
    background: var(--bg-color);
}
.wct-message .meta{
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 12px;
    line-height: 28px;
    font-weight: 300;
    opacity: 0.7;
}

.wct-message .msg{
    font-size: 16px;
    line-height: 28px;
}

.add-btn.btn{
    margin-right: auto;
    width: 219px;
    height: 56px;
    max-width: 100%;
    padding: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btns-wrap{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}
.btns-wrap .btn{
    margin-right: 0;
}
.btns-wrap .btn-danger{
    width: 89px;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bb2d3b;
    --bs-btn-hover-border-color: #b02a37;
}
#wct-reply-form .wct-ticket-form{
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}

.wct-pagination{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.wct-pagination a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    background: transparent;
}
.wct-pagination a:hover,
.wct-pagination .current-page{
    color: #fff;
    background: var(--primary_color);
}
.table-responsive{
    overflow-x: scroll;
}

.ws-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
    gap: 16px;
}

.ws-filters .filter-button {
    width: max-content;
    height: 32px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 2px;
    border-radius: 8px;
    background: var(--white-color);
    border: 1px solid var(--black-color-100);
    color: var(--black-color-70);
}

.ws-filters .filter-button .filter-label {
    padding: 0 8px;
    border-radius: 6px;
    background: var(--black-color-100);
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
}

.ws-filters .filter-button .filter-count {
    padding: 0 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

.ws-filters .filter-button.active {
    border: 1px solid var(--sec-color-100);
    color: var(--sec-color);
}

.ws-filters .filter-button.active .filter-label {
    background: var(--sec-color-100);
}

.tickets-list-wrapper .wct-recent-list table{
    display: block;
    border: 0;
    margin: 0;
}
.tickets-list-wrapper .wct-recent-list table thead{
    display: block;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 12px
}
.tickets-list-wrapper .wct-recent-list table tbody{
    display: block;
}
.tickets-list-wrapper .wct-recent-list table tr{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px;
    margin-bottom: 22px;
}

.tickets-list-wrapper .wct-recent-list table tbody tr{
    margin-bottom: 16px;
    padding: 0 16px 0 0;
    border: 1px solid var(--black-color-100);
    border-radius: 16px;
    background: var(--white-color);
}
.tickets-list-wrapper .wct-recent-list table tbody td{
    padding: 14px 0;
    z-index: 9;
    background: var(--white-color);
    display: block;
    border: 0;
    /*width: auto;*/
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
}
.tickets-list-wrapper .wct-recent-list table tbody td:last-of-type{
    padding-left: 16px;
    border-radius: 16px 0 0 16px;
}
.tickets-list-wrapper .wct-recent-list table tbody tr:last-child{
    margin-bottom: 0;
}


.tickets-list-wrapper .wct-recent-list table tbody tr:nth-child(2n) .btn.btn-wct {
    background: var(--sec-color-10);
    color: var(--sec-color);
}
.tickets-list-wrapper .wct-recent-list table tbody tr:nth-child(2n) .btn.btn-wct:hover {
    background: var(--sec-color);
    color: var(--white-color);
}

.tickets-list-wrapper .wct-recent-list table tbody tr:nth-child(2n+1) {
    position: relative;
    z-index: 9;
}

.tickets-list-wrapper .wct-recent-list table tbody tr:nth-child(2n+1):after {
    content: "";
    width: 100px;
    height: 162px;
    background: var(--black-color-100);
    border-radius: 16px;
    position: absolute;
    left: -16px;
    top: -8px;
    z-index: 1;
}

.tickets-list-wrapper .wct-recent-list table tbody tr:last-child:after {
    content: none;
}

.tickets-list-wrapper .wct-recent-list table th,
.tickets-list-wrapper .wct-recent-list table td{
    width: 12.5%;
}
.tickets-list-wrapper .wct-recent-list table th:nth-of-type(1),
.tickets-list-wrapper .wct-recent-list table td:nth-of-type(1){
    width: 8%;
}
.tickets-list-wrapper .wct-recent-list table th:nth-of-type(2),
.tickets-list-wrapper .wct-recent-list table td:nth-of-type(2){
    width: 27%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 10px;

}
.tickets-list-wrapper .wct-recent-list table th:nth-of-type(4),
.tickets-list-wrapper .wct-recent-list table td:nth-of-type(4){
    width: 20%;
}


@media (max-width: 1199px) {
    .wct-stats{
        flex-wrap: wrap;
    }
    .wct-stat{
        width: calc(50% - 14px);
    }

    .tickets-list-wrapper .wct-recent-list table tbody tr:nth-child(2n+1):after {
        display: none;
    }
    .tickets-list-wrapper .wct-recent-list table tbody tr {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .tickets-list-wrapper .wct-recent-list table tbody td:last-of-type,
    .tickets-list-wrapper .wct-recent-list table tbody td {
        font-size: 14px;
        padding: 0;
    }
    .tickets-list-wrapper .wct-recent-list table thead th {
        font-size: 14px;
    }

    .tickets-list-wrapper .wct-recent-list table thead th:last-child {
        display: none;
    }
}
@media (max-width: 767px) {
    .ticket-info ul{
        flex-wrap: wrap;
        justify-content: center;
    }
    .ticket-info ul li{
        width: 100%;
    }
    .tickets-list-wrapper{
        padding-top: 16px;
    }
    .tickets-list-wrapper .wct-recent-list table thead {
        display: none;
    }
    .tickets-list-wrapper .wct-recent-list table tbody td:before{
        content: attr(data-title) ": ";
        font-weight: 500;
        float: right;
    }
    .tickets-list-wrapper .wct-recent-list table tbody td:last-of-type,
    .tickets-list-wrapper .wct-recent-list table tbody td{
        font-size: 14px;
        width: 100% !important;
        padding: 0;
        text-align: left;
    }
    .tickets-list-wrapper .wct-recent-list table .btn.btn-wct {
        width: max-content;
        margin-left: 0;
        margin-right: auto;
    }
}
@media (max-width: 480px) {
    .wct-stat{
        width: 100%;
    }
}