.mannaglass-request-buttons {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}


.mannaglass-request-loop-buttons a {
    cursor: pointer;
}
a.request-quote {
    background-color: #0095D9 !important;
}

.mannaglass-req-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Toast Container */
.mannaglass-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: 100%;
}

/* Toast Message */
.mannaglass-toast {
    background-color: #fff;
    border-left: 5px solid #0095D9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s ease-out forwards;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    font-size: 14px;
    color: #fff;
}

.mannaglass-toast.success {
    border-left-color: #46b450;
    background:#1e7e34
}

.mannaglass-toast.error {
    border-left-color: #dc3232;
    background:#dc3545
}

.mannaglass-toast .toast-content {
    flex-grow: 1;
    margin-right: 10px;
}

.mannaglass-toast .toast-close {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    line-height: 1;
}

.mannaglass-toast .toast-close:hover {
    color: #eee;
}

.mannaglass-toast .button.wc-forward {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.85em;
    padding: 5px 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
}

.mannaglass-toast .button.wc-forward:hover {
    background: #eee;
}

/* Keep the Arabic toast on one aligned RTL row. */
html[dir="rtl"] .mannaglass-toast {
    direction: rtl;
    border-left: 0;
    border-right: 5px solid #46b450;
}

html[dir="rtl"] .mannaglass-toast .toast-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-right: 0;
    margin-left: 10px;
    white-space: nowrap;
}

html[dir="rtl"] .mannaglass-toast .button.wc-forward {
    flex: 0 0 auto;
    margin-left: 0 !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Legacy Message Box (Hidden for now as we use Toast) */
.mannaglass-message {
    display: none;
}

.mg-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mg-confirm-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.mg-confirm-message {
    margin: 0 0 20px;
    font-size: 14px;
    color: #231F20;
}

.mg-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mg-confirm-buttons .mg-confirm-ok,
.mg-confirm-buttons .mg-confirm-cancel {
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
}

.mg-confirm-buttons .mg-confirm-ok {
    background: #0095D9;
    color: #fff;
}

.mg-confirm-buttons .mg-confirm-cancel {
    background: #f3f3f3;
    color: #231F20;
}

.mg-confirm-buttons .mg-confirm-ok:hover {
    background: #005691;
}

.mg-confirm-buttons .mg-confirm-cancel:hover {
    background: #e5e5e5;
}

.mannaglass-form .iti,
.mannaglass-form .iti,
.mannaglass-rfq-form .iti,
.mannaglass-sample-form .iti{
    width: 100%;
    display: block;
}

.mannaglass-form .iti__selected-flag,
.mannaglass-form .iti__selected-flag,
.mannaglass-rfq-form .iti__selected-flag,
.mannaglass-sample-form .iti__selected-flag{
    height: 54px;
    padding: 0 10px 0 12px;
    border-radius: 49px 0 0 49px;
}

.mannaglass-form .iti--show-selected-dial-code .iti__selected-flag,
.mannaglass-form .iti--separate-dial-code .iti__selected-flag,
.mannaglass-rfq-form .iti--show-selected-dial-code .iti__selected-flag,
.mannaglass-rfq-form .iti--separate-dial-code .iti__selected-flag{
    background-color: transparent;
}

.mannaglass-form .iti--show-selected-dial-code .iti__selected-dial-code,
.mannaglass-form .iti--separate-dial-code .iti__selected-dial-code,
.mannaglass-rfq-form .iti--show-selected-dial-code .iti__selected-dial-code,
.mannaglass-rfq-form .iti--separate-dial-code .iti__selected-dial-code{
    color: #000;
    font-size: 16px;
    line-height: 54px;
    margin-left: 6px;
}

.mannaglass-form .qs-phone-intl.phone-intl-ready,
.mannaglass-rfq-form .qs-phone-intl.phone-intl-ready{
    height: 54px;
    line-height: 54px;
    padding-left: 112px !important;
    padding-right: 20px !important;
}

.mannaglass-form .iti__search-input,
.mannaglass-rfq-form .iti__search-input{
    font-size: 13px;
    height: 36px;
    line-height: 36px;
}

.mannaglass-form .iti__country,
.mannaglass-rfq-form .iti__country,
.mannaglass-sample-form .iti__country{
    font-size: 13px;
    padding: 7px 12px;
}

.mannaglass-form .iti__country-name,
.mannaglass-form .iti__dial-code,
.mannaglass-rfq-form .iti__country-name,
.mannaglass-rfq-form .iti__dial-code,
.mannaglass-sample-form .iti__country-name,
.mannaglass-sample-form .iti__dial-code{
    font-size: 13px;
}

.mannaglass-rfq-form .iti__dropdown-content,
.mannaglass-sample-form .iti__dropdown-content{
    max-height: 150px;
    overflow-y: auto;
}

.mannaglass-rfq-form .iti__country-list,
.mannaglass-sample-form .iti__country-list{
    max-height: 106px;
}

.mannaglass-rfq-form .iti__country,
.mannaglass-sample-form .iti__country{
    line-height: 18px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.mannaglass-rfq-form .iti__country-name,
.mannaglass-rfq-form .iti__dial-code,
.mannaglass-sample-form .iti__country-name,
.mannaglass-sample-form .iti__dial-code{
    line-height: 18px;
}

.mannaglass-rfq-form .iti__search-input:focus{
    border-color: #EBEBEB !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Virtual Cart Wrapper */
.mannaglass-virtual-cart-wrapper {
    max-width: 100%;
}

.mannaglass-empty-cart {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.mannaglass-virtual-cart-wrapper .cart-section {
    margin-bottom: 40px;
    /* Removed default border-radius to match screenshot style of flat table or we can keep it for container */
    border-radius: 8px;
    overflow: hidden;
}

.cart-section.mg-section h3{
    margin-bottom: 10px;
}

.cart-section .mg-table tbody td{
    border-bottom: none !important;
}

.mannaglass-virtual-cart-wrapper .section-header {
    padding: 0; /* Header is now the table header */
    display: none; /* Hide section header as table header handles it visually */
}

/* Quote Table Specifics */
/* We will style the table headers to be the blue bar */

.mannaglass-virtual-cart-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cart-section .mg-table tbody td.product-thumbnail{
        border: 1px solid #049C98 !important;
}



.mannaglass-virtual-cart-wrapper table th {
    background-color: #015DA4;
    color: #fff;
    font-weight: 500;
    text-transform: none; /* Screenshot has Title Case */
    font-size: 14px;
    padding: 10px 15px;
    border: none;
    text-align: left;
}

/* Rounded corners for header - Only if it's the first element, but now we have H3 potentially */
/* We should probably remove top radius from th if there is an H3 above, but keep it if not? */
/* Or actually, since h3 is above table, the table header is no longer the top of the card. */
/* Let's just remove the top radius from TH since H3 takes the top corners */

.mannaglass-virtual-cart-wrapper table th:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.mannaglass-virtual-cart-wrapper table th:last-child {
     border-top-right-radius: 6px;
     border-bottom-right-radius: 6px;
}

.mannaglass-virtual-cart-wrapper table tr{
          border-bottom: 1px solid #EBEBEB;
          padding: 5px 0;
              display: inline-table;
    width: 100%;
}

.mannaglass-virtual-cart-wrapper table thead tr:first-child,
.mannaglass-virtual-cart-wrapper table tbody tr:last-child{
    border-bottom: none;
}

.mannaglass-virtual-cart-wrapper table td {
    padding: 14px;
    vertical-align: middle;
    background: #fff;
}

.mannaglass-virtual-cart-wrapper table td.product-info{
       display: table-cell;
}


.download-product a{
    color: #231F20;
}

.mg-order-header {
    background-color: #f7f7f7;
    padding: 10px 20px;
    border-left: 5px solid #005691;
    margin-bottom: 25px;
    border-radius: 4px;
}

.mg-order-header p {
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

.mg-order-header mark {
    background: transparent;
    font-weight: 600;
    color: #000;
}

.mg-rfq-search {
    padding: 8px 10px;
}

.mg-rfq-search-inner {
    position: relative;
    display: block;
}

.mg-rfq-search-inner input {
    width: 100%;
    padding: 6px 30px 6px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    font-size: 13px;
    box-sizing: border-box;
}

.mg-rfq-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #999;
    box-sizing: border-box;
}

.mg-rfq-search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    background: #999;
    border-radius: 1px;
    top: 8px;
    left: 8px;
    transform: rotate(45deg);
}

/* Order Details Table */
.mg-order-details h2, 
.mg-order-details h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.mg-order-details table.shop_table {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 30px;
}

.mg-order-details table.shop_table thead th {
    background-color: #005691;
    color: #fff;
    padding: 15px 20px;
    border: none;
    font-weight: 500;
    text-align: left;
}

.mg-order-details table.shop_table thead th:last-child,
.mg-order-details table.shop_table tbody td:last-child{
     text-align: center;
}

.mg-order-details table.shop_table tfoot td:last-child{
       text-align: center;
}

.mg-order-details table.shop_table tfoot .main_btn{
    margin-top: 0;
}

.woocommerce-MyAccount-downloads-file{
       width: auto;
       min-width: 150px;
       text-align: center;
    padding: 7px 20px;
    background-color: #0095D9 !important;
    color: #fff;
    border-radius: 18px;
    font-size: 12px;
}

.woocommerce-MyAccount-downloads-file:hover{
      background-color: #005691 !important;
      color: #fff;
}

.mg-order-details table.shop_table tbody td,
.mg-order-details table.shop_table tfoot td,
.mg-order-details table.shop_table tfoot th {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: #fff;
    vertical-align: middle;
}

.mg-order-details table.shop_table tfoot th {
    text-align: right;
    font-weight: 600;
    color: #555;
    background-color: #f9f9f9;
}

.mg-order-details table.shop_table tfoot tr:last-child td,
.mg-order-details table.shop_table tfoot tr:last-child th {
    border-bottom: none;
}

/* Order Customer Details */
/* Hide the default WooCommerce customer details to prevent duplication */
.mg-order-details .woocommerce-order-details > .woocommerce-customer-details,
.mg-order-details .woocommerce-view-order > .woocommerce-customer-details {
    display: none;
}

/* Ensure our custom customer details block is visible and styled */
.mg-order-details .mg-customer-details {
    display: block !important;
}

.mg-order-details .woocommerce-customer-details address {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    font-style: normal;
    line-height: 1.6;
 font-size: 16px;
    line-height: 26px;
}

.mg-customer-details address p{
    font-size: 16px;
    line-height: 26px;
}

.mg-order-details .woocommerce-columns--addresses {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.mg-order-details .woocommerce-column--billing-address,
.mg-order-details .woocommerce-column--shipping-address {
    flex: 1;
    min-width: 300px;
}

.mg-order-details .woocommerce-column__title {
     font-size: 25px;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
}


/* Business Dashboard Styles */


.mg-dashboard-cards {
    display: flex;
    gap: 20px;
       margin-top: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
 
}

.mg-card {
    flex: 1;
    min-width: 200px;
    min-height: 140px;
    background: rgba(0, 149, 217, 0.06);
    padding: 20px 20px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(0, 149, 217, 0.2);
    transition: transform 0.2s;
}



.mg-card-number {
    font-size: 40px;
    line-height: 105%;
    font-weight: 600;
    color: #0095D9;
    margin-bottom: 10px;
}

.mg-card-label {
    font-size: 20px;
    color: #000000;
    font-weight: 300;
}

.mg-dashboard-wrapper {
    margin-top: 20px;
}

.mg-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.mg-section h3 {
    margin: 0;
    font-size:35px;
    line-height: 35px;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 900;
}

.mg-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.mg-table thead{
    border-radius: 6px;
}

.mg-table thead th {
    background-color: #015DA4;
    color: #fff;
    text-align: left;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.mg-table thead th:nth-child(1),
.mg-table thead th:nth-child(2),
.mg-table thead th:nth-child(3){
      width: 24%;
}

.mg-table thead th:nth-child(1){
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.mg-table thead th:last-child{
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.mg-table thead th:nth-child(4),
.mg-table thead th:nth-child(5){
         width: 14%;
         padding: 10px 10px;
     
}



.mg-table tbody td {
    padding: 20px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle; 
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.mg-table tbody th{
 padding: 20px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.mg-table tbody th a{
    color: #231F20;
        font-size: 16px;
    font-weight: 500;
}

.mg-table tbody td:nth-child(4),
.mg-table tbody td:nth-child(5){
      padding: 15px 10px;
}

.mg-table thead td:nth-child(1),
.mg-table thead td:nth-child(2),
.mg-table thead td:nth-child(3){
 color: #231F20;
}



.page-header-actions .main_btn{
      margin-top: 0;
}


.mg-link {
    color: #0095D9;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: transparent;
    border: none;
    width: max-content;
    margin: 0 auto;
}

.mg-link:hover {
    text-decoration: underline;
}

/* Status Badges */
.status-pending, .status-processing, .status-on-hold {
    color: #e67e22;
    font-weight: 600;
}

.status-approved, .status-completed {
    color: #27ae60;
    font-weight: 600;
}

.status-cancelled, .status-failed, .status-rejected {
    color: #c0392b;
    font-weight: 600;
}

.status-dispatched, .status-delivered {
    color: #2980b9;
    font-weight: 600;
}

.mg-status-badge {
     padding: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    margin-left: 0;
    width: 100%;
}

.return-status .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.status-badge.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.status-approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.status-processing {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.status-badge.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mg-hidden {
    display: none;
}

/* Modal Styles */
.mg-modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
}

.mg-modal-header-data{
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 10px;
}

.mg-modal-header-data h3{
         font-size: 35px;
        line-height: 100%;
         font-weight: 700;
         margin-bottom: 0;
}

.mg-modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 760px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mg-close {
    width: 46px;
    height: 46px;
    border-radius: 100%;
    border: 1px solid #E6EFF6;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 28px;
}

.mg-close:hover,
.mg-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.mg-modal-footer {
    margin-top: 20px;
    text-align: right;
}

.mg-btn-close {
    background-color: #eee;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.mg-btn-close:hover {
    background-color: #ddd;
}

.mg-modal-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 55px;
    padding-top: 35px;
}

.mg-modal-col {
    flex: 1;
}

.mg-modal-col strong{
          font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
    display: inline-block;
}

.mg-items-table-modal {
    width: 100%;
    border-collapse: collapse;
}

.mg-items-table-modal th {
    text-align: left;
    background: #015DA4;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

.mg-items-table-modal th:nth-child(2),
.mg-items-table-modal th:nth-child(3),
.mg-items-table-modal td:nth-child(2),
.mg-items-table-modal td:nth-child(3){
      text-align: center;
}

.mg-items-table-modal th:first-child{
    border-bottom-left-radius: 6px;
     border-top-left-radius: 6px;
     padding: 0 20px;
}

.mg-items-table-modal th:last-child{
    border-bottom-right-radius: 6px;
     border-top-right-radius: 6px;
}

.mg-items-table-modal td {
    padding: 10px;
 
}

.mg-items-table-modal tr{
   border-bottom: 1px solid #eee;
}
.mg-items-table-modal tr:last-child,
.mg-items-table-modal td:last-child{
      border-bottom: none;
}

.mg-item-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}


.cart-section .mg-table thead th:nth-child(1){
     width: 60%;
}

.cart-section .mg-table thead th:nth-child(2), 
.cart-section .mg-table thead th:nth-child(3){
width: 20%;
text-align: center;
}

.cart-section .mg-table tbody td:nth-child(2){
  width: calc(60% - 150px);
}

.cart-section .mg-table tbody td:nth-child(3), 
.cart-section .mg-table tbody td:nth-child(4){
width: 20%;
text-align: center;
}

.trashicon{
       width: 32px;
       height: 32px;
       background-image: url(../images/trash.png);
       background-repeat: no-repeat;
           background-size: 28px;
}

button.remove-item{
      background-color: transparent !important;
      border: none !important;
}

.e-quantity-controls{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    white-space: nowrap;
}
.e-quantity-input{
    width: 110px;
    height: 54px;
    text-align: center;
    padding: 0 10px;
    border: 1px solid #EBEBEB;
    border-radius: 49px;
    background: #fff;
    box-shadow: none;
}
.quantity-btn{
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: #0095D9;
    color: #fff;
    cursor: pointer; 
}
.quantity-btn:hover{
    background: #E6EFF6;
    border-color: #8FB8DE;
}
.quantity-btn svg{
    color: currentColor;
}

.mannaglass-rfq-form .rfq-repeater-row,
.mannaglass-sample-form .rfq-repeater-row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 352px;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 19px;
}

.mannaglass-rfq-form .rfq-product-col,
.mannaglass-sample-form .rfq-product-col{
    min-width: 0;
    margin: 0;
}

.mannaglass-rfq-form .rfq-product-col .nice-select,
.mannaglass-rfq-form .rfq-product-col .rfq-product-select,
.mannaglass-sample-form .rfq-product-col .nice-select,
.mannaglass-sample-form .rfq-product-col .rfq-product-select{
    width: 100%;
    height: 54px;
    line-height: 54px;
    border-radius: 49px;
}

.mannaglass-rfq-form .rfq-qty-col_main,
.mannaglass-sample-form .rfq-qty-col_main{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
}

.mannaglass-rfq-form .rfq-qty-col,
.mannaglass-sample-form .rfq-qty-col{
    margin: 0;
}

.mannaglass-rfq-form .rfq-qty-wrapper,
.mannaglass-sample-form .rfq-qty-wrapper{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    white-space: nowrap;
}

.mannaglass-rfq-form .rfq-qty-input,
.mannaglass-sample-form .rfq-qty-input{
    width: 110px;
    height: 54px;
    padding: 0 10px;
    text-align: center;
    border: 1px solid #EBEBEB;
    border-radius: 49px;
    box-shadow: none;
}

.mannaglass-rfq-form .rfq-qty-btn,
.mannaglass-sample-form .rfq-qty-btn{
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
}

.mannaglass-rfq-form .rfq-action-col,
.mannaglass-sample-form .rfq-action-col{
    margin: 0;
}

.mannaglass-rfq-form .rfq-add-row-btn,
.mannaglass-rfq-form .rfq-remove-row-btn,
.mannaglass-sample-form .rfq-add-row-btn,
.mannaglass-sample-form .rfq-remove-row-btn{
    min-width: 100px;
    height: 34px;
    padding: 0 20px;
    border-radius: 49px;
}

.rfq-unit-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 7px;
    border: 1px solid #9ed4f1;
    border-radius: 4px;
    background: #e8f5fc;
    color: #0095D9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 900px){
    .mannaglass-rfq-form .rfq-repeater-row,
    .mannaglass-sample-form .rfq-repeater-row{
        grid-template-columns: 1fr;
    }

    .mannaglass-rfq-form .rfq-qty-col_main,
    .mannaglass-sample-form .rfq-qty-col_main{
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.mg-order-details .woocommerce-table--order-details.order_details .product-name {
    display: table-cell;
}


.billing-address-main,
.billing-address-main{
        border: 1px solid #C7C7C7;
    border-radius: 25px;
    padding: 35px 40px;
    background: #fff;
    position: relative;
}

/* Additional Styles for Revise Reason Modal */
#mg-revise-reason {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.mg-close-revise {
    /* Inherit or match .mg-close styles if needed, but inline styles are currently handling it */
}
/* Autocomplete Styles */
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

.ui-autocomplete .ui-menu-item {
    display: block;
    padding: 8px 15px;
    clear: both;
    font-weight: normal;
    line-height: 1.4;
    color: #333333;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #0095D9;
}

.ui-helper-hidden-accessible {
    display: none;
}

.woocommerce-column--billing-address, 
.woocommerce-column--shipping-address{
        border: 1px solid #C7C7C7;
    border-radius: 25px;
    padding: 30px;
    background: #fff;
    position: relative;
}


/* Form Validation Styles */
.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select {
    border-color: #dc3545 !important;
}

.form-row.has-success input,
.form-row.has-success textarea,
.form-row.has-success select {
    border-color: #28a745 !important;
}

.form-row.has-success .qs-phone-intl.phone-intl-ready{
    border-color: #EBEBEB !important;
}

/* Keep validation messages below the control instead of clipping them. */
.mannaglass-form .form-row,
.mannaglass-rfq-form .form-row,
.mannaglass-sample-form .form-row {
    overflow: visible !important;
}

.mannaglass-form .form-row.has-error,
.mannaglass-rfq-form .form-row.has-error,
.mannaglass-sample-form .form-row.has-error {
    border: 0 !important;
    outline: 0 !important;
}

.mannaglass-form .form-row .form-error,
.mannaglass-rfq-form .form-row .form-error,
.mannaglass-sample-form .form-row .form-error {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #dc3545 !important;
    overflow: visible !important;
}

.mannaglass-form .form-row .form-error .error-message,
.mannaglass-rfq-form .form-row .form-error .error-message,
.mannaglass-sample-form .form-row .form-error .error-message {
    display: block !important;
    color: #dc3545 !important;
    font-size: 13px;
    line-height: 1.5;
}

.mannaglass-form .form-row.has-error .nice-select,
.mannaglass-form .form-row.has-error select,
.mannaglass-rfq-form .form-row.has-error .nice-select,
.mannaglass-rfq-form .form-row.has-error select,
.mannaglass-sample-form .form-row.has-error .nice-select,
.mannaglass-sample-form .form-row.has-error select {
    border-color: #dc3545 !important;
}

.mannaglass-rfq-form .iti__dropdown-content,
.mannaglass-sample-form .iti__dropdown-content{
    height: auto !important;
    max-height: 150px !important;
    overflow: hidden !important;
}

.mannaglass-rfq-form .iti__country-list,
.mannaglass-sample-form .iti__country-list{
    max-height: 106px !important;
    overflow-y: auto !important;
}

.mannaglass-rfq-form .iti__search-input{
    height: 38px !important;
    line-height: 38px !important;
    border-color: #EBEBEB !important;
    box-shadow: none !important;
    outline: none !important;
}

.mannaglass-rfq-form .iti__search-input:focus{
    border-color: #EBEBEB !important;
    box-shadow: none !important;
    outline: none !important;
}

.mannaglass-rfq-form .iti__country,
.mannaglass-sample-form .iti__country{
    line-height: 20px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.mannaglass-rfq-form .iti__country-name,
.mannaglass-rfq-form .iti__dial-code,
.mannaglass-sample-form .iti__country-name,
.mannaglass-sample-form .iti__dial-code{
    line-height: 20px !important;
}

.form-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.mg-order-information-box{
       width: 100%;
       margin-bottom: 40px;
       border: 1px solid #C7C7C7;
    border-radius: 25px;
    padding: 30px;
    position: relative;
    background: #f9f9f9;
}

.mg-order-info-grid{
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       flex-direction: wrap;
       gap: 20px;
}

.mg-order-info-grid strong{
       width: 100%;
       display: block;
       margin-bottom: 5px;
}

.mg-order-information-box h2{
    font-size: 25px;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
}

@media (max-width: 1600px) {
    .mg-card-number {
        font-size: 38px;
    }

    .mg-card-label {
        font-size: 18px;
    }

    .mg-section h3{
           font-size: 32px;
    }

    .mg-table tbody td{
    padding: 15px 15px;
    font-size: 15px;
 }

 .mg-modal-header-data h3 {
    font-size: 30px;
 }
}

@media (max-width: 1300px) {
.mg-table tbody td{
    font-size: 14px;
}

.mg-link{
    font-size: 13px;
}

.mg-section h3 {
    font-size: 26px;
}

.mg-table tbody td{
       font-size: 14px;
}

.mg-order-details .woocommerce-column__title {
    font-size: 20px;
    margin-bottom: 15px;
}

.woocommerce-column--billing-address, .woocommerce-column--shipping-address{
    border-radius: 20px;
    padding: 20px;
}

.mg-section {
    margin-bottom: 20px;
}

.mg-order-header p{
       font-size: 15px;
}

.mg-order-details table.shop_table thead th{
    padding: 15px 15px;
    font-size: 14px;
}

.mg-order-details table.shop_table tbody td, .mg-order-details table.shop_table tfoot td, .mg-order-details table.shop_table tfoot th{
    padding: 15px 15px;
    font-size: 14px;
}

.mg-order-details table.shop_table tfoot th{
    font-size: 14px;
}

.mg-order-information-box{
    border-radius: 20px;
    padding: 20px;
}

.mg-order-information-box h2{
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 20px; 
}
}


@media (max-width: 1000px) {

    .mg-table thead th:nth-child(1), .mg-table thead th:nth-child(2), .mg-table thead th:nth-child(3){
            width: auto !important;
    }
}


@media (max-width: 768px) {
    .mg-modal-header-data h3 {
        font-size: 20px;
    }

    .mg-status-badge{
        font-size: 14px;
    }

    .mg-modal-col strong {
        font-size: 18px;
    }

    .mg-modal-col{
            font-size: 14px;
            line-height: 22px;
    }

    .mg-order-information-box{
        border-radius: 10px;
        padding: 15px;
    }

    .mg-order-info-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        flex-direction: wrap;
        gap: 15px;
    }


    .mg-modal-content {
        background-color: #fefefe;
        margin: 6% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 94%;
        max-width: 760px;
        border-radius: 15px;
        position: relative;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .mg-close {
        width: 40px;
        height: 40px;
        border-radius: 100%;
        border: 1px solid #E6EFF6;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 15px;
        font-size: 28px;
    }

    .mg-item-flex{
           font-size: 13px;
    }

    .mg-items-table-modal td{
        font-size: 14px; 
    }

    .mg-items-table-modal th:first-child{
        padding: 0 15px;
    }

    .mg-modal-col strong {
        font-size: 16px;
    }

    .mg-modal-grid{
        padding-top: 20px;
        margin-bottom: 25px;
        display: block;
    }

    .mg-modal-col{
           margin-bottom: 15px;
    }

    .mg-order-details .woocommerce-column__title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .mg-order-details .woocommerce-columns--addresses{
        font-size: 15px;
    }

    .woocommerce-column--billing-address, .woocommerce-column--shipping-address {
        border-radius: 10px;
        padding: 15px;
    }

    .mg-order-header{
        padding: 10px 10px;
    }

    .mg-order-information-box h2{
        font-size: 18px;
        margin-bottom: 10px;
    }

}

/* Quote modal totals and actions */
.mg-modal .mg-items-table-modal tfoot th {
    padding: 11px 16px;
    background: #f4f8fb;
    color: #263746;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    border-top: 1px solid #dbe7ef;
    border-bottom: 0;
}

.mg-modal .mg-items-table-modal tfoot tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

.mg-modal .mg-items-table-modal tfoot tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

.mg-modal .mg-items-table-modal tfoot tr:not(:last-child) th:last-child {
    color: #17324d;
    font-weight: 600;
}

.mg-modal .mg-items-table-modal tfoot tr:last-child th {
    padding-top: 13px;
    padding-bottom: 13px;
    background: #015da4;
    color: #fff;
    font-weight: 700;
    border-top: 2px solid #fff;
}

.mg-modal .mg-items-table-modal tfoot tr:last-child th:first-child {
    border-bottom-left-radius: 8px;
}

.mg-modal .mg-items-table-modal tfoot tr:last-child th:last-child {
    border-bottom-right-radius: 8px;
}

.mg-modal .mg-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf2;
}

.mg-modal .mg-modal-footer .main_btn {
    margin: 0;
}

html[dir="rtl"] .mg-modal .mg-modal-footer {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .mg-modal .mg-items-table-modal tfoot th {
        padding: 9px 10px;
        font-size: 12px;
    }

    .mg-modal .mg-modal-footer {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
        padding-top: 12px;
    }
}



@media (max-width: 500px) {


}

/* Final quote/sample phone picker normalization. Keep this at the end so validation/responsive rules cannot override it. */
.mannaglass-form .iti,
.mannaglass-rfq-form .iti,
.mannaglass-sample-form .iti{
    width: 100% !important;
    display: block !important;
    height: 54px !important;
    border: 1px solid #EBEBEB !important;
    border-radius: 49px !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
}

.mannaglass-form .iti__selected-flag,
.mannaglass-rfq-form .iti__selected-flag,
.mannaglass-sample-form .iti__selected-flag{
    height: 52px !important;
    padding: 0 10px 0 12px !important;
    border-radius: 49px 0 0 49px !important;
    background-color: transparent !important;
}

.mannaglass-form .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.mannaglass-form .iti--show-selected-dial-code .iti__selected-flag,
.mannaglass-form .iti--separate-dial-code .iti__selected-flag,
.mannaglass-rfq-form .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.mannaglass-rfq-form .iti--show-selected-dial-code .iti__selected-flag,
.mannaglass-rfq-form .iti--separate-dial-code .iti__selected-flag,
.mannaglass-sample-form .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.mannaglass-sample-form .iti--show-selected-dial-code .iti__selected-flag,
.mannaglass-sample-form .iti--separate-dial-code .iti__selected-flag{
    background-color: transparent !important;
}

.mannaglass-form .iti__selected-dial-code,
.mannaglass-rfq-form .iti__selected-dial-code,
.mannaglass-sample-form .iti__selected-dial-code{
    color: #000 !important;
    font-size: 16px !important;
    line-height: 52px !important;
    margin-left: 6px !important;
}

.mannaglass-form .qs-phone-intl.phone-intl-ready,
.mannaglass-form .form-row.has-success .qs-phone-intl.phone-intl-ready,
.mannaglass-rfq-form .qs-phone-intl.phone-intl-ready,
.mannaglass-rfq-form .form-row.has-success .qs-phone-intl.phone-intl-ready,
.mannaglass-sample-form .qs-phone-intl.phone-intl-ready,
.mannaglass-sample-form .form-row.has-success .qs-phone-intl.phone-intl-ready{
    height: 54px !important;
    line-height: 54px !important;
    padding-left: 112px !important;
    padding-right: 20px !important;
    border: none !important;
    border-radius: 49px !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.mannaglass-form .iti__dropdown-content,
.mannaglass-rfq-form .iti__dropdown-content,
.mannaglass-sample-form .iti__dropdown-content{
    width: min(527px, calc(100vw - 48px)) !important;
    min-width: min(527px, calc(100vw - 48px)) !important;
    max-height: 206px !important;
    overflow: hidden !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14) !important;
}

.mannaglass-form .iti__search-input,
.mannaglass-form .iti__search-input:focus,
.mannaglass-form .form-row.has-success .iti__search-input,
.mannaglass-rfq-form .iti__search-input,
.mannaglass-rfq-form .iti__search-input:focus,
.mannaglass-rfq-form .form-row.has-success .iti__search-input,
.mannaglass-sample-form .iti__search-input,
.mannaglass-sample-form .iti__search-input:focus,
.mannaglass-sample-form .form-row.has-success .iti__search-input{
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 14px !important;
    border-color: #EBEBEB !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px !important;
}

.mannaglass-form .iti__country-list,
.mannaglass-rfq-form .iti__country-list,
.mannaglass-sample-form .iti__country-list{
    max-height: 164px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.mannaglass-form .iti__country,
.mannaglass-rfq-form .iti__country,
.mannaglass-sample-form .iti__country{
    min-height: 40px !important;
    padding: 7px 12px !important;
    line-height: 26px !important;
    font-size: 13px !important;
}

.mannaglass-form .iti__country-name,
.mannaglass-form .iti__dial-code,
.mannaglass-rfq-form .iti__country-name,
.mannaglass-rfq-form .iti__dial-code,
.mannaglass-sample-form .iti__country-name,
.mannaglass-sample-form .iti__dial-code{
    line-height: 26px !important;
    font-size: 13px !important;
}

@media (max-width: 640px){
    .mannaglass-form .iti__dropdown-content,
    .mannaglass-rfq-form .iti__dropdown-content,
    .mannaglass-sample-form .iti__dropdown-content{
        width: calc(100vw - 32px) !important;
        min-width: calc(100vw - 32px) !important;
    }
}

/* Final request-details layout normalization. Keep this last so older RFQ/table rules cannot override it. */
.mannaglass-rfq-form #rfq-repeater-container .rfq-repeater-row,
.mannaglass-sample-form #rfq-repeater-container .rfq-repeater-row{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 352px !important;
    column-gap: 16px !important;
    align-items: end !important;
    margin: 0 0 18px !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-product-col,
.mannaglass-sample-form #rfq-repeater-container .rfq-product-col{
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-product-col label,
.mannaglass-sample-form #rfq-repeater-container .rfq-product-col label,
.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-col label,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-col label{
    display: block !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-product-col .nice-select,
.mannaglass-rfq-form #rfq-repeater-container .rfq-product-select,
.mannaglass-sample-form #rfq-repeater-container .rfq-product-col .nice-select,
.mannaglass-sample-form #rfq-repeater-container .rfq-product-select{
    width: 100% !important;
    height: 54px !important;
    line-height: 54px !important;
    border: 1px solid #EBEBEB !important;
    border-radius: 49px !important;
    padding-left: 20px !important;
    padding-right: 44px !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-col_main,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-col_main{
    display: grid !important;
    grid-template-columns: 232px 100px !important;
    column-gap: 20px !important;
    align-items: end !important;
    justify-content: end !important;
    width: 352px !important;
    margin: 0 !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-col,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-col,
.mannaglass-rfq-form #rfq-repeater-container .rfq-action-col,
.mannaglass-sample-form #rfq-repeater-container .rfq-action-col{
    margin: 0 !important;
    width: auto !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-wrapper,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-wrapper,
.mannaglass-form .e-quantity-controls{
    display: grid !important;
    grid-template-columns: 28px 110px 28px 44px !important;
    column-gap: 10px !important;
    align-items: center !important;
    min-height: 54px !important;
    width: 232px !important;
    white-space: nowrap !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-btn,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-btn,
.mannaglass-form .e-quantity-controls .quantity-btn{
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 28px !important;
    font-size: 15px !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-minus,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-minus{
    background: #f4f4f4 !important;
    color: #333 !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-plus,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-plus,
.mannaglass-form .e-quantity-controls .quantity-plus{
    background: #0095D9 !important;
    color: #fff !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-qty-input,
.mannaglass-sample-form #rfq-repeater-container .rfq-qty-input,
.mannaglass-form .e-quantity-controls .e-quantity-input{
    width: 110px !important;
    min-width: 110px !important;
    height: 54px !important;
    line-height: 54px !important;
    padding: 0 10px !important;
    text-align: center !important;
    border: 1px solid #EBEBEB !important;
    border-radius: 49px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-unit-badge,
.mannaglass-sample-form #rfq-repeater-container .rfq-unit-badge,
.mannaglass-form .e-quantity-controls .rfq-unit-badge{
    width: 44px !important;
    min-width: 44px !important;
    height: 24px !important;
    padding: 0 6px !important;
    border: 1px solid #9ed4f1 !important;
    border-radius: 4px !important;
    background: #e8f5fc !important;
    color: #0095D9 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
}

.mannaglass-rfq-form #rfq-repeater-container .rfq-add-row-btn,
.mannaglass-rfq-form #rfq-repeater-container .rfq-remove-row-btn,
.mannaglass-sample-form #rfq-repeater-container .rfq-add-row-btn,
.mannaglass-sample-form #rfq-repeater-container .rfq-remove-row-btn{
    width: 100px !important;
    min-width: 100px !important;
    height: 34px !important;
    padding: 0 16px !important;
    border-radius: 49px !important;
    font-size: 13px !important;
    line-height: 34px !important;
    text-align: center !important;
}

@media (max-width: 900px){
    .mannaglass-rfq-form #rfq-repeater-container .rfq-repeater-row,
    .mannaglass-sample-form #rfq-repeater-container .rfq-repeater-row{
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
    }

    .mannaglass-rfq-form #rfq-repeater-container .rfq-qty-col_main,
    .mannaglass-sample-form #rfq-repeater-container .rfq-qty-col_main{
        justify-content: start !important;
    }
}

/* Arabic labels need enough room to stay on one line in the repeater controls. */
html[lang^="ar"] .mannaglass-rfq-form #rfq-repeater-container .rfq-add-row-btn,
html[lang^="ar"] .mannaglass-rfq-form #rfq-repeater-container .rfq-remove-row-btn,
html[lang^="ar"] .mannaglass-sample-form #rfq-repeater-container .rfq-add-row-btn,
html[lang^="ar"] .mannaglass-sample-form #rfq-repeater-container .rfq-remove-row-btn{
    width: auto !important;
    min-width: 128px !important;
    padding-inline: 14px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2 !important;
}
.mg-items-table .mg-total-row td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  border-top: 1px solid #dcdcde;
}

.mg-items-table .mg-total-row .mg-total-label,
.mg-items-table .mg-total-row .mg-grand-total {
  vertical-align: middle;
}

.mg-items-table .woocommerce-Price-currencySymbol {
  margin-inline-end: 0.25em;
}

.mg-request-items-description {
  margin-top: 12px !important;
}

