/**
@import url('https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');
**/
.ats-ticket-form, .ats-ticket-list, .ats-ticket-details, .ats-my-account-tickets {
    max-width: 800px;
    margin: 20px auto;
    border-radius: 5px;
}

.ats-ticket-form .form-group {
    margin-bottom: 15px;
}

.ats-ticket-list table, .ats-my-account-tickets table {
    width: 100%;
    border-collapse: collapse;
}

.ats-ticket-list th, .ats-ticket-list td, .ats-my-account-tickets th, .ats-my-account-tickets td {
    padding: 10px;
    border: 1px solid #ddd;
}

.ats-ticket-details .response {
    margin-bottom: 20px;
    padding: 10px;
    border-left: 3px solid #007bff;
}

.ats-ticket-details img, .ats-ticket-details audio {
    margin-top: 10px;
}

.ats-ticket-form .voice-recording {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ats-ticket-form #ats-audio-preview {
    margin-top: 10px;
    width: 100%;
}

/* WooCommerce-specific styles */
.ats-my-account-tickets .woocommerce-table--tickets {
    margin-top: 20px;
}

.ats-my-account-tickets .woocommerce-button {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .ats-my-account-tickets .woocommerce-table--tickets td:before {
        content: attr(data-title) ": ";
        font-weight: bold;
        display: inline-block;
        width: 50%;
    }
}





/* /////////////////////// */
.ats-my-account-tickets .my-tickets-title{
    border-bottom: 1px solid #E8E8EE;
    padding-bottom: 15px;
}

.ats-my-account-tickets .add-new-ticket-parent{
    margin-top: 15px;
    text-align: left;
}

.ats-my-account-tickets .add-new-ticket-btn{
    background: #5A54DE;
    color: white;
    padding: 6px 14px;
    border-radius: 10px;

}

.ats-my-account-tickets  .my_account_tickets-table{
    border: none !important;
    border-collapse: collapse !important;
}

.ats-my-account-tickets  .my_account_tickets-table thead tr th{
    border: none !important;
    font-weight: 500;
}

.ats-my-account-tickets  .my_account_tickets-table thead tr th:first-child{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ats-my-account-tickets  .my_account_tickets-table thead tr th:last-child{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}


.ats-my-account-tickets  .my_account_tickets-table thead{
    background: #F3F3F7;
}

.ats-my-account-tickets  .my_account_tickets-table tbody td{
    border: none !important;
}


.ats-my-account-tickets  .my_account_tickets-table tbody tr{
    border-bottom: 1px solid #E8E8EE;
}

.ats-my-account-tickets  .advanced-ticketing-image{
    background: none !important;
}

.ats-my-account-tickets  .advanced-ticketing-image img{
    background: none !important;
    width: 25px;
    height: 25px;

}

.ats-my-account-tickets  .back-to-ticket-list{
    background: #5A54DE;
    padding: 8px 10px;
    color: white;
    border-radius: 12px;
}

.ats-my-account-tickets  .back-to-ticket-list-parent{
   text-align: left;
}

.ats-my-account-tickets  .add-new-ticket-title{
    margin: 15px 0;
    font-size: 20px;
}

@media screen and (max-width:768px) {
    .ats-my-account-tickets .my_account_tickets-table tbody tr td{
        text-align: right !important;
    }
}










/* /////////////////////// */






.ats-ticket-form form .form-group input{
  border-radius: 12px;
}

.ats-ticket-form form .form-group textarea{
    border-radius: 12px;
  }

  .ats-ticket-form form .form-group select{
    border-radius: 12px;
  }


.ats-ticket-form .upload-image-part {
    text-align: center;
    margin: 20px 0;
}

.ats-ticket-form .upload-image-part label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ats-ticket-form .upload-image-part .upload-area {
    position: relative;
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ats-ticket-form .upload-image-part .upload-area:hover {
    background-color: #e9e9e9;
}

.ats-ticket-form .upload-image-part .upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.ats-ticket-form .upload-image-part .upload-area img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.ats-ticket-form .upload-image-part .upload-area p {
    margin: 5px 0;
    color: #666;
}

.ats-ticket-form .upload-image-part .upload-area p:first-of-type {
    font-size: 14px;
    font-weight: 500;
}

.ats-ticket-form .upload-image-part .upload-area p:last-of-type {
    font-size: 12px;
    color: #999;
}




.ats-ticket-form .voice-recording{
    flex-direction: column;
}

.ats-ticket-form .voice-recording #ats-record-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: none;
    border: none;
}

.ats-ticket-form .voice-recording #ats-record-btn img {
    width: 32px;
    height: 32px;
}

.ats-ticket-form .voice-recording #ats-stop-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: none;
    border: none;
}

#ats-stop-btn img {
    width: 32px;
    height: 32px;
}

.record-and-pause-voice{
    display: flex;
}

.ats-ticket-form .register-btn{
    background: #5A54DE;
    border: none;
}


@media screen and (max-width:768px) {
    .ats-ticket-form .register-btn{
        width: 100%;
    }
}

.ats-ticket-form #description{
    min-height: 150px;
}

.ats-ticket-form .form-group select.form-control {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%234a90e2" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 14px;
    transition: background-image 0.3s ease;
}


.ats-ticket-form .form-group select.form-control:focus {
    border-color: #4a90e2;
    outline: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%234a90e2" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="transform: rotate(180deg);"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}













/* ////////////////////////// */




.ats-ticket-details .back-to-ticket-btn-parent{
    text-align: left;
}
.ats-ticket-details .back-to-ticket-btn{
    padding: 8px 19px;
    background: #dd4d4d;
    color: white;
    font-weight: 600;
    border-radius: 12px;
}
.ats-ticket-details .user-name-for-ticket{
    margin-top: 30px;
}
.ats-ticket-details .information-user-ticket p{
    border-bottom: 1px solid #E8E8EE;
}

.ats-ticket-details .dl-image-user-upload{
    padding: 8px 12px;
    color: white;
    background: rgb(0, 177, 0);
    border-radius: 12px;
}

.ats-ticket-details .voice-recorded-title{
    margin-top: 30px;
    margin-bottom: 0;
}

.ats-ticket-details .dl-recorded-voice{
    padding: 8px 12px;
    color: white;
    background: rgb(0, 177, 0);
    border-radius: 12px;
}

.ats-ticket-details .user-saved-audio{
    margin-bottom: 25px;
}

.ats-ticket-details .awnser-box-title{
    margin-top: 30px;
}

.ats-ticket-details .register-user-details-btn{
    background: #5A54DE;
    border: none;
}

.user-awnser-and-speak textarea{
    min-height: 150px !important;
}

@media screen and (max-width:768px) {
    .ats-ticket-details .user-saved-audio{
        width: 100%;
    }
}