.mannaglass-request-buttons {
  margin: 20px 0;
  display: flex;
  gap: 10px;
}

.mannaglass-request-loop-buttons a {
  cursor: pointer;
}

.mannaglass-req-btn.loading {
  opacity: 0.7;
  cursor: wait;
}

.mannaglass-req-btn.mg-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 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: #015da4;
  background: #0095d9;
}

.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: #fff;
  font-size: 25px;
  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;
}

@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;
}

/* 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;
}

.rfq-product-select+.nice-select .list {
  max-height: 260px;
  overflow-y: auto !important;
  overflow-x: hidden;
}

.rfq-product-select+.nice-select .list .mg-rfq-search {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.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;
  margin-left: 10px;
}

.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: 50px;
  line-height: 50px;
  color: #015da4;
  margin-bottom: 10px;
  font-weight: 500;
}

.mg-section h4 {
  font-size: 25px;
  line-height: 30px;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
}

.mg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.mg-table thead {
  border-radius: 6px;
}

.mg-table thead th {
  background-color: #0095d9;
  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-modal-footer .main_btn {
  background-color: #0095d9;
  color: #fff;
}

.mg-modal-footer .main_btn:hover {
  border: 1px solid #0095d9;
  color: #0095d9;
}

.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: 8px;
}

.e-quantity-input {
  width: 56px;
  text-align: center;
  padding: 6px 8px;
  border: 1px solid #c7c7c7;
  border-radius: 8px;
  background: #fff;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #c7c7c7;
  background: #0095d9;
  color: #fff;
  cursor: pointer;
}

.quantity-btn:hover {
  background: #e6eff6;
  border-color: #8fb8de;
}

.quantity-btn svg {
  color: currentColor;
}

/* Unit label: m² for variant products, units for simple */
.qty-unit-label {
  font-size: 12px;
  font-weight: 600;
  color: #0095d9;
  background: #e8f4fb;
  border: 1px solid #b6ddf0;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Slightly wider input for decimal values */
.e-quantity-input[data-is-variant="1"] {
  width: 72px;
}

.mg-order-details .woocommerce-table--order-details.order_details .product-name {
  display: table-cell;
}

.mannaglass-virtual-cart-wrapper table td.product-info .product-desc {
  font-size: 14px;
  text-align: left;
}

.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-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;
    line-height: 35px;
  }

  .mg-section h4 {
    font-size: 22px;
    line-height: 28px;
  }

  .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;
    line-height: 32px;
  }

  .mg-section h4 {
    font-size: 20px;
    line-height: 28px;
  }

  .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: 1030px) {



  .mannaglass-virtual-cart-wrapper table{
       width: 1100px;
  }

  .mg-table-wrapper{
    width: 100%;
    overflow-y: scroll;
  }
}

@media (max-width: 900px) {
  .mannaglass-virtual-cart-wrapper table{
    width: 1000px;
}
}

@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;
  }
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.phone-input-group select.country-code {
  width: 110px;
  min-width: 110px;
  height: 54px;
  border: 1px solid #EBEBEB;
  border-right: none;
  border-radius: 49px 0 0 49px;
  padding: 0 12px;
  background: #fff;
}

.phone-input-group .input-text {
  width: calc(100% - 110px);
  border-left: none;
  border-radius: 0 49px 49px 0;
}

@media (max-width: 500px) {}
