.postex-form input, .postex-form select {
    border-radius: 10px;
    padding: 5px 20px;
    border: 1px solid #d1d1d1;
    font-size: 13px;
    color: #585858;
}

.postex-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.postex-form .flex-row {
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

.postex-form select {
    min-width: 100%;
}

.postex-form fieldset {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
}

#fetch_shipping_prices {
    height: 40px;
    background: #2899d4;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    border: 0;
}
#fetch_shipping_prices:hover{
    background: #f5951d;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.postex-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    flex-direction: column;
}

.postex-methods .postex-method  img {
    width: 25px;
    margin: 0 !important;
}


.postex-methods .postex-method span , .postex-methods .postex-method div{
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 7px;
    min-width: 160px;
}
.have-discount .prices {
    flex-direction: column;
}

.have-discount .prices .regular-price{
    text-decoration: line-through;
    font-size: 11px;
    color: #8f8f8f;
}

.postex-methods .postex-method p:last-child {
    border-left: 0;
    padding-left: 0;
}

.postex-methods .postex-method {
    border: 1px solid #e3e3e3;
    padding: 10px 15px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    box-shadow: 0 0 4px 0 #80808038;
    background: white;
}

#dimensions {
    display: none;
}

.order-info {
    display: flex;
    flex-direction: column;
    border: 3px dashed #f5951d;
    border-radius: 10px;
    padding: 11px;
    margin-top: 20px;
    margin-bottom: 23px;
}

.customer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.order-info-title {
    font-size: 15px;
    border-bottom: 2px solid #f5951d;
    padding-bottom: 15px;
}

.label-input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.label-input {
    flex: 1;
    min-width: 0;
}

.label-input label {
    display: block;
    margin-bottom: 5px;
}

.label-input input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.label-checkbox {
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d1;
    padding: 10px;
    border-radius: 10px;
}

.postex-form input[type=checkbox] {
    border-radius: 0;
    margin-top: 2px;
}

.postex-form h4 {
    margin: 0;
}

.product-list .label-checkbox {
    border: 0;
}

.product-list {
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
}

.added_services .added_service p {
    margin: 0;
}

.added_services .added_service {
    display: flex;
    gap: 10px;
    border-left: 2px solid #2899d4;
    padding-left: 10px;
}

.added_services .added_service:last-child {
    border-left: 0;
}

.added_services {
    display: flex;
    background: #efefef;
    border-radius: 10px;
    padding: 10px 20px;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.postex-meta-box-section {
    background: #f3f3f3;
    border-radius: 10px;
    padding: 0 20px 20px 20px;
}

.postex-section-title {
    padding-bottom: 15px;
    border-bottom: 2px dashed #f19301;
    font-weight: bold;
}
.postex-metabox-notice{
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #2899d4;
}
.postex-meta-box-section label {
    cursor: pointer;
}

.postex-meta-box-section .label-checkbox {
    background: white;
}

.products-list {
    margin-bottom: 20px;
}

#postex-bulk-result-table {
    width: 100%;
    border-collapse: collapse;
}

#postex-bulk-result-table th, #postex-bulk-result-table td {
    padding: 6px;
    text-align: right;
    border: 1px solid #2899d4;
}

#postex-bulk-result-table th {
    background-color: #2899d4;
    color: white;
}

#postex-bulk-result-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

#submit-parcel {
    width: 100%;
    height: 40px;
    background: #2899d4;
    border-radius: 10px;
    border: 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#submit-parcel:hover{
    background: #f5951d;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}
#shipping_result{
    display: none;
}
#shipping_result.active{
    padding: 20px;
    border-radius: 15px;
    background: #f5f5f5;
    box-shadow: 1px 1px 6px 0 #c7c7c7;
    display: block;
    margin-top: 20px;
}

#shipping_result p.error {
    color: #d63638;
}
.request-label span {
    padding: 5px;
    display: flex;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    background: #ed9322;
    cursor: pointer;
    margin: 5px;
    border-radius: 10px;
}

#shipping_result p, #postex_result p {
    margin: 0;
}

.text-center {
    text-align: center;
}

.postex-shipped-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.postex-shipped-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.postex-shipped-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.postex-shipped-header .toggle-details img{
    height: 8px;
}
.postex-shipped-header .toggle-details {
    cursor: pointer;
}

.postex-shipped-details {
    display: none;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

.postex-shipped-item.active .postex-shipped-details {
    display: block;
}

.postex-info-section {
    margin: 0;
}

.postex-info-section > .postex-info-title {
    font-size: 13px;
    margin-top: 0;
    color: #000000;
    padding: 10px 20px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-bottom: 2px dashed #f19301;
}

.postex-info-section {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-direction: column;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 10px;
}



.postex-order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0 20px;
}
.postex-order-info p , .postex-info-title{
    font-size: 11px;
}

.postex-operations-button p {
    flex: 1;
    color: white;
    cursor: pointer;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}

.postex-operations-button {
    display: flex;
    gap: 20px;
}
.postex-operations-button .request-label{
    background-color: #075a4b;
}
.postex-edit-order-btn {
    background-color: #2899d4;
}

.postex-delete-order-btn {
    background-color: #d63638;
}

#postex-edit-modal.active{
    display: flex;
}
#postex-edit-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.postex-edit-order-modal-content {
    background: #fff;
    padding: 20px;
    width: 50%;
    margin: auto;
    position: relative;
    border-radius: 8px;
    display: flex;
    gap: 5px;
}
.postex-edit-order-modal-content input, .postex-edit-order-modal-content select{
    font-size: 12px;
}
.postex-edit-order-modal-content select{
    min-width: 100%;
}
.postex-edit-order-modal-content label {
    font-size: 12px;
}

#postex-save-edit-order{
    border: 0;
    padding: 5px;
    background: #2899d4;
    color: white;
    border-radius: 5px;
}
#edit_to_address{
    margin-bottom: 15px;
}
.postex-edit-order-modal-title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 10px 0 !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #d1d1d1;
    align-items: center;
}
.postex-edit-order-modal-close-btn{
    font-size: 24px;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: pointer;
}
.mt-0{
    margin-top: 0;
}
.mb-0{
    margin-bottom: 0;
}

.label-checkbox.all-products{
    background: #f19301;
    color: white;
    border: 0;
}

.missing-field-btn:hover , .missing-field-btn:focus , .missing-field-btn:active{
    color: #2271b1;
    background : white;
}
.missing-field-btn{
    display: inline-block;
    background: #2271b1;
    color: white;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 5px;
    border: 1px solid #2271b1;
}
.missing-field-text{
    color: #d63638;
}

#edit-order-response .error{
    border-right: 4px solid red;
    padding-right: 10px;
    font-weight: bold;
}
#edit-order-response .success{
    border-right: 4px solid green;
    padding-right: 10px;
    font-weight: bold;
}
.change-to-ready {
    border: 1px solid #b9b9b9;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: black;
    background: #efefef;
}
.change-to-ready p {
    margin: 0;
}
.postex-ready-order-btn{
    margin: 0;
    background: #2271b1;
    text-align: center;
    padding: 5px;
    border-radius: 9px;
    color: white;
    cursor: pointer;
}
.postex-ready-order-result .postex-success , .postex-delete-order-result .success{
    border-right: 4px solid green;
    padding-right: 5px;
}
.postex-ready-order-result .postex-error , .postex-delete-order-result .error{
    border-right: 4px solid red;
    padding-right: 5px;
}

.postex-delete-order-result.active{
    border: 1px solid #b9b9b9;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: black;
    background: #efefef;
    margin: 10px 0;
}
.postex-delete-order-result img , .postex-ready-order-result img {
    width: 22px;
    border-radius: 50px;
}

.courier-icon{
    width: 35px;
    margin: 0 !important;
    border-radius: 50px;
}
#shipping_result .postex-method label {
    display: flex;
    align-items: center;
    gap: 25px;
}
.postex-loading-icon{
    display: block;
    margin: auto;
    width: 25px;
}

.shipping_result .error {
    border-right: 4px solid red;
    padding-right: 8px;
    margin-top: 10px;
}

.order-shipped-complete{
    color: #075a4b;
}