:root{
    --bg : #F6F8FE;
    --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{
    height: 56px;
    width: 100%;
    max-width: 219px;
    margin-right: auto;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tickets-list-wrapper{
    padding: 40px 24px;
    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 : #DFDFDF;
    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);
}
.tickets-list-wrapper .table td .btn{
    width: 100px;
    height: 36px;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.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{
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
}
.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 .btn{
    margin-top: 40px;
    margin-right: auto;
    width: 219px;
    max-width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.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);
    padding: 40px 24px;
    border-radius: 24px;
}
.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-view-head .btn{
    padding: 0;
    text-decoration: none;
    color: var(--gray);
    width: 24px;
    height: 24px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ticket-info{
    margin-bottom: 16px;
}
.ticket-info ul{
    padding: 10px 48px;
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 32px;
    display: flex;
    /*flex-wrap: wrap;*/
    /*align-items: center;*/
    justify-content: space-between;
    gap: 48px;
}
.ticket-info ul li{
    width: max-content;
    max-width: 100px;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
}
.ticket-info ul li b{
    font-size: 14px;
    color: var(--black);
}
.ticket-info ul li span{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--gray);
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}
.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-message{
    background: var(--green);
    color: #ffffff;
    padding: 20px 16px;
    border-radius: 16px;
    margin-bottom: 32px;
}
.wct-message.admin{
    background: var(--primary);
}
.wct-message .meta{
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

.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%;
}

.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;
}
@media (max-width: 1199px) {
    .wct-stats{
        flex-wrap: wrap;
    }
    .wct-stat{
        width: calc(50% - 14px);
    }
    .ticket-info ul{
        padding: 10px 20px;
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .ticket-info ul{
        flex-wrap: wrap;
        justify-content: center;
    }
    .ticket-info ul li{
        align-items: center;
        max-width: max-content;
    }
}
@media (max-width: 480px) {
    .wct-stat{
        width: 100%;
    }
}