/*
 Theme Name: Hello Elementor Child
 Template:   hello-elementor
 Version:    1.0.0
*/

:root {
  --analytics_pad: 16px;
  --analytics_gap: 14px;
  --customer_orange: #ff6b35;
  --customer_orange_lt: #fff0eb;
  --customer_green: #22c55e;
  --customer_green_lt: #f0fdf4;
  --customer_red: #ef4444;
  --customer_red_lt: #fef2f2;
  --customer_gray_50: #f9fafb;
  --customer_gray_100: #f3f4f6;
  --customer_gray_200: #e5e7eb;
  --customer_gray_400: #9ca3af;
  --customer_gray_600: #4b5563;
  --customer_gray_800: #1f2937;
  --customer_white: #ffffff;
  --customer_shadow_sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --customer_shadow_md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --customer_radius: 10px;
  --analytics_bg: #f5f6fa;
  --analytics_card: #ffffff;
  --analytics_border: #e8eaf0;
  --analytics_text: #1a1d2e;
  --analytics_muted: #7b8099;
  --analytics_primary: #f97316;
  --analytics_green: #22c55e;
  --analytics_blue: #3b82f6;
  --analytics_yellow: #eab308;
  --analytics_red: #ef4444;
  --analytics_radius: 12px;
  --analytics_shadow:
    0 1px 4px rgba(0, 0, 0, 0.07), 0 4px 16px rgba(0, 0, 0, 0.05);
  --analytics_gap: 20px;
  --analytics_pad: 22px;

  --eco-orange: #f15a22;
  --eco-orange-dark: #d14a10;
  --eco-orange-light: #fff0ea;
  --eco-orange-glow: rgba(241, 90, 34, 0.15);
  --eco-border: #e5e7eb;
  --eco-text: #111827;
  --eco-muted: #6b7280;
  --eco-light-txt: #9ca3af;
  --eco-bg: #f4f5f7;
  --eco-white: #ffffff;
  --eco-radius: 10px;
  --eco-radius-sm: 6px;
  --eco-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --eco-tr: 0.18s ease;
}

/* WooCommerce Pay for Order Page */
body.woocommerce-order-pay .site-main,
body.woocommerce-order-pay main {
  max-width: 1180px;
  margin: 45px auto;
  padding: 0 20px;
}

body.woocommerce-order-pay h1.entry-title,
body.woocommerce-order-pay .page-title {
  font-size: 36px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
}

body.woocommerce-order-pay form#order_review {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

body.woocommerce-order-pay table.shop_table {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
}

body.woocommerce-order-pay table.shop_table th {
  background: #f9fafb;
  color: #111827;
  font-weight: 800;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-order-pay table.shop_table td {
  padding: 16px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-order-pay table.shop_table tr:last-child td,
body.woocommerce-order-pay table.shop_table tr:last-child th {
  border-bottom: 0;
}

body.woocommerce-order-pay .woocommerce-checkout-payment {
  background: #f8fafc !important;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
}

body.woocommerce-order-pay #payment ul.payment_methods {
  border-bottom: 1px solid #e5e7eb;
  padding: 0 0 18px;
}

body.woocommerce-order-pay .payment_box {
  background: #fff !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px !important;
}

body.woocommerce-order-pay .place-order {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

body.woocommerce-order-pay .woocommerce-privacy-policy-text {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

body.woocommerce-order-pay button#place_order,
body.woocommerce-order-pay .button.alt {
  background: #f15a22 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  transition: 0.25s ease;
}

body.woocommerce-order-pay button#place_order:hover,
body.woocommerce-order-pay .button.alt:hover {
  background: #d94b17 !important;
  transform: translateY(-1px);
}

.woocommerce-order {
  max-width: 1180px;
  margin: 0 auto 50px;
  padding: 0 24px;
}

.woocommerce-order > p.woocommerce-notice {
  background: #fff7ed;
  border-left: 5px solid #ff6600;
  padding: 18px 22px;
  border-radius: 10px;
  margin: 30px 0;
  color: #111827;
}

.woocommerce-order-overview {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  margin: 25px 0 45px !important;
  padding: 0 !important;
  width: 100%;
}

.woocommerce-order-overview li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 18px 16px !important;
  float: none !important;
  list-style: none !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
}
.woocommerce-order-overview li::before,
.woocommerce-order-overview li::after {
  display: none !important;
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: #111827;
  text-transform: none;
  word-break: break-word;
}

.woocommerce-order h1,
.woocommerce-order h2,
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin: 35px 0 18px;
}

.woocommerce-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.woocommerce-table th {
  background: var(--customer_orange);
  color: var(--customer_white);
  padding: 16px !important;
  font-weight: 700;
}

.woocommerce-table td,
.woocommerce-table tfoot th {
  padding: 16px !important;
  border-color: #e5e7eb !important;
  background: #fff !important;
  color: #111827 !important;
}

.woocommerce-table tfoot th {
  font-weight: 700;
}

.woocommerce-button,
.woocommerce a.button {
  background: #ff6600 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
}

.woocommerce-customer-details address {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.shipment-card {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.shipment-top {
  background: #121212;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
}

.shipment-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.shipment-number {
  color: #f26522;
  font-size: 20px;
  font-weight: 700;
}

.shipment-status-bar {
  background: #f26522;
  color: #fff;
  padding: 20px 40px;
}

.status-label {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
}

.shipment-status-bar h2 {
  margin: 5px 0 0;
  font-size: 38px;
}

.shipment-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 40px;
  background: #efefef;
}

.route-box span {
  font-size: 14px;
  color: #555;
  font-weight: 700;
  letter-spacing: 2px;
}

.route-box h3 {
  margin-top: 8px;
  font-size: 22px;
}

.text-right {
  text-align: right;
}

.route-progress {
  text-align: center;
  width: 300px;
  position: relative;
}

.route-progress .line {
  height: 4px;
  background: #ccc;
  position: relative;
}

.route-progress .dot {
  width: 16px;
  height: 16px;
  background: #f26522;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.route-progress p {
  margin-top: 18px;
  color: #f26522;
  font-weight: 700;
}

.shipment-info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #ddd;
}

.info-item {
  padding: 30px;
  border-right: 1px solid #ddd;
  background: #f7f7f7;
}

.info-item:last-child {
  border-right: none;
}

.info-item span {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #555;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-item strong {
  font-size: 18px;
}

.timeline-section {
  padding: 40px;
  background: #fafafa;
}

.timeline-title {
  margin-bottom: 40px;
  font-size: 24px;
  letter-spacing: 2px;
}

.timeline-wrapper {
  position: relative;
  padding-left: 40px;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #d0d0d0;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  background: #cfcfcf;
  border-radius: 50%;
  position: absolute;
  left: -37px;
  top: 5px;
}

.timeline-item.active .timeline-dot {
  background: #f26522;
  width: 22px;
  height: 22px;
  left: -39px;
}

.timeline-content h4 {
  margin: 0;
  font-size: 30px;
}

.timeline-meta {
  color: #666;
  margin-top: 6px;
  font-size: 16px;
}

.timeline-note {
  margin-top: 15px;
  background: #efefef;
  padding: 15px;
  border-left: 4px solid #f26522;
}

.track-error-box {
  background: #fff0f0;
  border: 1px solid #ffb3b3;
  padding: 15px;
  border-radius: 5px;
}

.track-form {
  width: 100%;
  max-width: 700px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.track-wrapper {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.track-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

#tracking-input {
  flex: 1;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  outline: none;
  font-family: Arial, sans-serif;
}

#tracking-input:focus {
  border-color: #f26522;
}

#track-btn {
  height: 50px;
  padding: 0 28px;
  background: #f26522;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

#track-btn:hover {
  background: #d9551a;
}

.tracking-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  padding: 20px;
  overflow: auto;
}

.tracking-modal.active {
  display: flex;
}

.tracking-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  animation: popupFade 0.3s ease;
}

.tracking-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f26522;
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  font-family: Arial, sans-serif;
}

.tracking-close:hover {
  background: #d9551a;
}

.tracking-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 999999;
  overflow-y: auto;
  padding: 40px 20px;
}

.tracking-modal.active {
  display: flex;
}

.tracking-modal-content {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  position: relative;
}

.shipment-card {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* analytics */

body.analytics_page {
  font-family: var(--analytics_font);
  background: var(--analytics_bg);
  color: var(--analytics_text);
  min-height: 100vh;
  padding: 24px 20px 60px;
}

.analytics_header {
  margin: 24px 0;
}
.analytics_header h1 {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--analytics_text);
  line-height: 1.2;
}
.analytics_header p {
  font-size: 0.875rem;
  color: var(--analytics_muted);
  margin-top: -13px;
}

.analytics_grid {
  display: grid;
  gap: var(--analytics_gap);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.analytics_kpi_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.analytics_kpi_card {
  background: var(--analytics_card);
  border: 1px solid var(--analytics_border);
  border-radius: var(--analytics_radius);
  box-shadow: var(--analytics_shadow);
  padding: 20px 18px 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.analytics_kpi_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.analytics_kpi_icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.analytics_kpi_icon.orange {
  background: #fff4ed;
  color: var(--analytics_primary);
}
.analytics_kpi_icon.blue {
  background: #eff6ff;
  color: var(--analytics_blue);
}
.analytics_kpi_icon.green {
  background: #f0fdf4;
  color: var(--analytics_green);
}
.analytics_kpi_icon.red {
  background: #fef2f2;
  color: var(--analytics_red);
}

.analytics_kpi_badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.analytics_kpi_badge.up {
  background: #f0fdf4;
  color: var(--analytics_green);
}
.analytics_kpi_badge.down {
  background: #fef2f2;
  color: var(--analytics_red);
}

.analytics_kpi_value {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--analytics_text);
  line-height: 1;
  margin-bottom: 6px;
  word-break: break-all;
}
.analytics_kpi_label {
  font-size: 0.78rem;
  color: var(--analytics_muted);
  line-height: 1.3;
}

.analytics_card {
  background: var(--analytics_card);
  border: 1px solid var(--analytics_border);
  border-radius: var(--analytics_radius);
  box-shadow: var(--analytics_shadow);
  padding: var(--analytics_pad);
  min-width: 0;
}
.analytics_card_title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--analytics_text);
  margin-bottom: 18px;
}

.analytics_mid_row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--analytics_gap);
  align-items: start;
}

.analytics_chart_wrap {
  position: relative;
  height: 220px;
  width: 100%;
}
.analytics_chart_footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--analytics_muted);
  margin-top: 10px;
}

/* Status distribution */
.analytics_status_item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}
.analytics_status_item:last-child {
  margin-bottom: 0;
}

.analytics_status_dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.analytics_status_label {
  font-size: 0.8rem;
  color: var(--analytics_text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.analytics_status_track {
  flex: 0 0 120px;
  height: 7px;
  background: #f0f0f5;
  border-radius: 99px;
  overflow: hidden;
}
.analytics_status_bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s ease;
}
.analytics_status_pct {
  font-size: 0.72rem;
  color: var(--analytics_muted);
  width: 58px;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.analytics_bottom_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--analytics_gap);
  align-items: start;
}

.analytics_route_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--analytics_border);
}
.analytics_route_item:last-child {
  border-bottom: none;
}

.analytics_route_num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--analytics_bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--analytics_muted);
  flex-shrink: 0;
}
.analytics_route_name {
  flex: 1;
  font-size: 0.82rem;
  color: var(--analytics_text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.analytics_route_count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--analytics_muted);
  flex-shrink: 0;
}

.analytics_service_item {
  margin-bottom: 16px;
}
.analytics_service_item:last-child {
  margin-bottom: 0;
}
.analytics_service_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}
.analytics_service_name {
  font-size: 0.82rem;
  color: var(--analytics_text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.analytics_service_pct {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--analytics_green);
  flex-shrink: 0;
  white-space: nowrap;
}
.analytics_service_track {
  height: 8px;
  background: #f0f0f5;
  border-radius: 99px;
  overflow: hidden;
}
.analytics_service_bar {
  height: 100%;
  border-radius: 99px;
  background: var(--analytics_green);
  transition: width 0.8s ease;
}

.analytics_rating_big {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--analytics_border);
  margin-bottom: 14px;
}
.analytics_rating_num {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--analytics_primary);
  line-height: 1;
}
.analytics_rating_sub {
  font-size: 0.78rem;
  color: var(--analytics_muted);
  margin-top: 4px;
}
.analytics_stars {
  color: var(--analytics_primary);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: 4px;
}

.analytics_star_row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.analytics_star_row:last-child {
  margin-bottom: 0;
}
.analytics_star_label {
  font-size: 0.75rem;
  color: var(--analytics_muted);
  width: 26px;
  flex-shrink: 0;
  white-space: nowrap;
}
.analytics_star_track {
  flex: 1;
  height: 7px;
  background: #f0f0f5;
  border-radius: 99px;
  overflow: hidden;
}
.analytics_star_bar {
  height: 100%;
  border-radius: 99px;
  background: var(--analytics_primary);
  transition: width 0.8s ease;
}
.analytics_star_pct {
  font-size: 0.72rem;
  color: var(--analytics_muted);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.analytics_empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--analytics_muted);
  font-size: 0.88rem;
}

/* shipment */

.eco-ship-wrap {
  padding: 28px 32px;
  background: #f4f5f7;
  min-height: 100vh;
}

.eco-ship-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.eco-ship-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.eco-ship-search-form {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 400px;
}

.eco-ship-search-icon {
  position: absolute;
  color: #9ca3af;
  display: flex;
  padding: 0 5px 0 5px;
  align-items: center;
  pointer-events: none;
}

.eco-ship-search-form input {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0 30px 0 40px;
  font-size: 12.5px;
  color: #111827;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}

.eco-ship-search-form input:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.eco-ship-search-clear {
  position: absolute;
  right: 12px;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.eco-ship-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}

.eco-ship-export-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.eco-ship-new-btn {
  display: inline-flex;
  gap: 7px;
  height: 44px;
  padding: 0 20px;
  background-color: var(--customer_orange) !important;
  border: none !important;
  border-radius: 10px;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}

.eco-ship-new-btn:hover {
  background: #e56000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.32);
}

.eco-ship-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  transition: opacity 0.5s;
}

.eco-ship-notice--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.eco-ship-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.eco-ship-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.eco-ship-stat {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid #ececec;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.eco-ship-stat-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.eco-ship-stat-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.eco-ship-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.eco-ship-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.eco-ship-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.eco-ship-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-ship-card-icon svg {
  width: 26px;
  height: 26px;
}

.eco-icon--air_freight {
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
}

.eco-icon--ocean_freight {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.eco-icon--land_freight {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.eco-ship-card-body {
  flex: 1;
  min-width: 0;
}

/* .eco-ship-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.eco-ship-card-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
} */
.eco-ship-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
  gap: 10px;
}

.eco-ship-card-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.eco-ship-trk {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

.eco-ship-card-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}
/* 
.eco-ship-card-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 12px;
} */

.eco-ship-card-route {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 12px;
}

.eco-route-item {
  min-width: 120px;
}

.eco-route-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eco-route-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eco-route-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.eco-route-dot--origin {
  color: #6b7280;
}
.eco-route-dot--dest {
  color: #ff6b00;
}

.eco-route-place {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 4px;
}

.eco-ship-prog-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eco-ship-prog-bar {
  flex: 1;
  height: 7px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.eco-ship-prog-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

.eco-prog--pending {
  background: #9ca3af;
}
.eco-prog--processing {
  background: #f59e0b;
}
.eco-prog--in_transit {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}
.eco-prog--delivered {
  background: linear-gradient(90deg, #10b981, #059669);
}

.eco-ship-prog-pct {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
  width: 34px;
  text-align: right;
}

.eco-ship-card-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.eco-foot-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
}

.eco-foot-item svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.eco-foot-price {
  font-size: 15px;
  font-weight: 800;
  color: #ff6b00;
}

.eco-ship-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 130px;
}

.eco-ship-card-actions a {
  text-decoration: none;
}

.eco-btn-view,
.eco-btn-edit,
.eco-btn-delete,
.eco-btn-pay {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.12s;
  border: none;
  text-decoration: none;
}

.eco-btn-view {
  background: #ff6b00 !important;
  color: #fff !important;
}

.eco-btn-view:hover {
  background: #e56000 !important;
  transform: translateY(-1px);
}

.eco-btn-edit,
.eco-btn-pay {
  background: #fff !important;
  border: 1.5px solid #e5e7eb !important;
  color: #374151 !important;
}

.eco-btn-edit:hover,
.eco-btn-pay:hover {
  background: #f9fafb !important;
  border-color: #d1d5db !important;
}

.eco-btn-delete {
  background: #fff !important;
  border: 1.5px solid #fee2e2 !important;
  color: #ef4444 !important;
}

.eco-btn-delete:hover {
  background: #fef2f2 !important;
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.eco-badge--pending {
  background: #f3f4f6;
  color: #6b7280;
}
.eco-badge--processing {
  background: #fffbeb;
  color: #b45309;
}
.eco-badge--in_transit {
  background: #eff6ff;
  color: #1d4ed8;
}
.eco-badge--delivered {
  background: #ecfdf5;
  color: #065f46;
}

.eco-badge--pay-pending {
  background: #fffbeb;
  color: #b45309;
}
.eco-badge--pay-paid {
  background: #ecfdf5;
  color: #065f46;
}

.eco-ship-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ececec;
  color: #9ca3af;
  text-align: center;
}

.eco-ship-empty p {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #6b7280;
}

.eco-ship-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ececec;
  flex-wrap: wrap;
}

.eco-pag-info {
  font-size: 13.5px;
  color: #6b7280;
  font-weight: 500;
}

.eco-pag-btns {
  display: flex;
  gap: 8px;
}

.eco-pag-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 9px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.15s,
    border-color 0.15s;
  cursor: pointer;
}

.eco-pag-btn:hover:not(.eco-pag-btn--disabled) {
  background: #f9fafb !important;
  border-color: #d1d5db !important;
}

.eco-pag-btn--next {
  background: #ff6b00 !important;
  color: #fff !important;
  border-color: #ff6b00 !important;
}

.eco-pag-btn--next:hover:not(.eco-pag-btn--disabled) {
  background: #e56000 !important;
  border-color: #e56000 !important;
}

.eco-pag-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.eco-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.eco-modal-overlay.eco-modal--open {
  display: flex;
}

.eco-modal-box {
  width: 100%;
  max-width: 880px;
  background: #fff !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22) !important;
  max-height: 92vh;
  overflow-y: auto;
  animation: ecoModalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eco-modal-box--view {
  max-width: 640px;
}

@keyframes ecoModalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.inventory-product-dropdown {
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  position: relative;
}
.inventory-product-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f1f1f1;
}
.inventory-product-option:hover {
  background: #fff3eb;
}
.inventory-product-empty {
  padding: 10px 12px;
  color: #9ca3af;
  font-size: 13px;
}

.eco-inventory-picker-wrap {
  position: relative;
}
.eco-rating-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 30px;
  background: #fff7ed;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fed7aa;
  line-height: 1;
}
.inventory-product-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 99999;
}
.inventory-product-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f1f1f1;
  color: #111827;
  background: #fff;
}
.inventory-product-option:hover {
  background: #fff3eb;
}

.eco-rating-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
}
.eco-rating-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.eco-rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 14px;
}
.eco-rating-stars input {
  display: none;
}
.eco-rating-stars label {
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #d1d5db;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.eco-rating-stars label:hover,
.eco-rating-stars label:hover ~ label,
.eco-rating-stars input:checked ~ label {
  color: #f59e0b;
}
.eco-rating-stars label:hover {
  transform: translateY(-1px);
}
.eco-rating-submit {
  width: auto;
  min-width: 150px;
  border: 0;
  border-radius: 10px;
  background: #ff6b00 !important;
  color: #fff !important;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.eco-rating-submit:hover {
  background: #e95f00 !important;
}
.eco-admin-rating-view {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}
.eco-admin-rating-stars {
  font-size: 20px;
  letter-spacing: 2px;
  color: #f59e0b;
  line-height: 1;
}
.eco-admin-rating-number {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.eco-admin-rating-empty {
  font-size: 14px;
  color: #6b7280;
}
.eco-rating-loading {
  font-size: 13px;
  color: #6b7280;
  padding: 12px 0;
}

.eco-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.eco-modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

.eco-modal-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6 !important;
  color: #374151 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.eco-modal-close:hover {
  background: #e5e7eb !important;
}

.eco-modal-form {
  padding: 28px;
}

.eco-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.eco-form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.eco-form-group input,
.eco-form-group select {
  width: 100%;
  height: 48px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0 15px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-form-group input:focus,
.eco-form-group select:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.eco-readonly {
  background: #f9fafb !important;
  color: #9ca3af !important;
  cursor: default;
}

.eco-modal-save {
  width: 100%;
  height: 52px;
  margin-top: 24px;
  border: none;
  border-radius: 12px;
  background: #ff6b00 !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-modal-save:hover {
  background: #e56000 !important;
  transform: translateY(-1px);
}

.eco-view-body {
  padding: 24px 28px 28px;
}

.eco-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.eco-view-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid #f3f4f6;
  border-right: 1px solid #f3f4f6;
}

.eco-view-row:nth-child(even) {
  border-right: none;
}

.eco-view-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eco-view-value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.eco-view-prog-section {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px 20px;
}

.eco-view-prog-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.eco-timeline-section {
  margin-top: 28px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}

.eco-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f9fafb;
  border-bottom: 1.5px solid #e5e7eb;
}

.eco-timeline-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.eco-timeline-header-left svg {
  color: #ff6b00;
}

.eco-timeline-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid #ff6b00 !important;
  border-radius: 8px;
  background: #fff !important;
  color: #ff6b00 !important;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-timeline-add-btn:hover {
  background: #ff6b00 !important;
  color: #fff !important;
}

.eco-timeline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  color: #9ca3af;
  text-align: center;
}

.eco-timeline-empty svg {
  color: #d1d5db;
}

.eco-timeline-empty p {
  margin: 0;
  font-size: 13.5px;
  color: #6b7280;
  font-weight: 500;
}

.eco-timeline-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eco-tl-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  transition: background 0.15s;
}

.eco-tl-row:last-child {
  border-bottom: none;
}

.eco-tl-row:hover {
  background: #fafafa;
}

.eco-tl-row-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff6b00;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 28px;
}

.eco-tl-row-fields {
  flex: 1;
  display: grid;
  grid-template-columns: 140px 110px 1fr 160px;
  gap: 10px;
  min-width: 0;
}

.eco-tl-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.eco-tl-field--full {
  grid-column: 1 / -1;
}

.eco-tl-field label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.eco-tl-field input,
.eco-tl-field select,
.eco-tl-field textarea {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 8px 11px;
  font-size: 13px;
  color: #111827;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-sizing: border-box;
}

.eco-tl-field input:focus,
.eco-tl-field select:focus,
.eco-tl-field textarea:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.eco-tl-field textarea {
  resize: vertical;
  min-height: 60px;
}

.eco-tl-remove {
  width: 32px;
  height: 32px;
  border: 1.5px solid #fee2e2;
  border-radius: 8px;
  background: #fff;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  flex-shrink: 0;
  margin-top: 26px;
}

.eco-tl-remove:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

.eco-view-timeline {
  margin-top: 20px;
  border: 1.5px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}

.eco-view-timeline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.eco-view-timeline-title svg {
  color: #ff6b00;
}

.eco-vtl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  position: relative;
}

.eco-vtl-item:not(.eco-vtl-item--last) {
  border-bottom: 1px solid #f9fafb;
}

.eco-vtl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b00;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.eco-vtl-line {
  display: none;
}

.eco-vtl-content {
  flex: 1;
  min-width: 0;
}

.eco-vtl-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.eco-vtl-head strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.eco-vtl-meta {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 4px;
}

.eco-vtl-desc {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.5;
}

.eco-modal-box--export {
  max-width: 560px;
}

.eco-export-body {
  padding: 24px 28px 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eco-export-section-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.eco-export-optional {
  font-weight: 500;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
}

.eco-export-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.eco-export-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
  background: #fff;
  position: relative;
  user-select: none;
}

.eco-export-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.eco-export-opt:hover {
  border-color: #fbd0b3;
  background: #fffaf7;
}

.eco-export-opt--active {
  border-color: #ff6b00;
  background: #fff8f4;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.eco-export-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  color: #6b7280;
  transition:
    background 0.18s,
    color 0.18s;
}

.eco-export-opt--active .eco-export-opt-icon {
  background: rgba(255, 107, 0, 0.12);
  color: #ff6b00;
}

.eco-export-opt-label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-export-opt-desc {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-export-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eco-status-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
  user-select: none;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-status-chip input[type="radio"] {
  display: none;
}

.eco-status-chip:hover {
  border-color: #ff6b00;
  color: #ff6b00;
}

.eco-status-chip--active {
  border-color: #ff6b00;
  color: #ff6b00;
  background: #fff8f4;
}

.eco-export-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  font-size: 13px;
  color: #0369a1;
  font-weight: 500;
}

.eco-export-info svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #0284c7;
}

.eco-export-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 28px 24px;
  border-top: 1px solid #f3f4f6;
  margin-top: 6px;
}

.eco-export-cancel-btn {
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-export-cancel-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.eco-export-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: #ff6b00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.eco-export-download-btn:hover {
  background: #e56000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.32);
  color: #fff;
}

.eco-ship-wrap,
.eco-modal-overlay {
  width: 100%;
  max-width: 100%;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.eco-ship-card {
  width: 100%;
  min-width: 0;
}

.eco-ship-trk,
.eco-route-place,
.eco-view-value,
.eco-foot-item {
  word-break: break-word;
}

.eco-ship-card-actions,
.eco-pag-btns,
.eco-export-footer {
  flex-wrap: wrap;
}

.eco-form-group input,
.eco-form-group select,
.eco-tl-field input,
.eco-tl-field select,
.eco-tl-field textarea {
  min-width: 0;
}

.customer_page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.customer_topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.customer_topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.customer_notice {
  padding: 12px 18px;
  border-radius: var(--customer_radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.customer_notice--success {
  background: var(--customer_green_lt);
  color: #166534;
  border-left: 4px solid var(--customer_green);
}
.customer_notice--error {
  background: var(--customer_red_lt);
  color: #991b1b;
  border-left: 4px solid var(--customer_red);
}

.customer_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.customer_stat_card {
  background: var(--customer_white);
  border-radius: var(--customer_radius);
  padding: 20px 22px;
  box-shadow: var(--customer_shadow_sm);
  border: 1px solid var(--customer_gray_200);
}
.customer_stat_card__value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.customer_stat_card__value--orange {
  color: var(--customer_orange);
}
.customer_stat_card__label {
  font-size: 0.8rem;
  color: var(--customer_gray_400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.customer_toolbar {
  flex: 1;
}
.customer_search_wrap {
  width: 100%;
  max-width: 420px;
}
.customer_search_wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--customer_gray_400);
  pointer-events: none;
  z-index: 1;
  display: block;
  flex-shrink: 0;
}
.customer_search_input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--customer_gray_200);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--customer_white);
  color: var(--customer_gray_800);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.customer_search_input:focus {
  border-color: var(--customer_orange);
}

.customer_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    opacity 0.15s,
    transform 0.1s;
  white-space: nowrap;
}
.customer_btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.customer_btn:active {
  transform: translateY(0);
}

.customer_btn--primary {
  background: var(--customer_orange) !important;
  color: #fff !important;
}

.customer_btn--primary:hover {
  background: var(--eco-orange-dark) !important;
  color: #fff !important;
}
.customer_btn--outline {
  background: var(--customer_white) !important;
  color: var(--customer_gray_800) !important;
  border: 1px solid var(--customer_gray_200) !important;
}
.customer_btn--danger {
  background: var(--customer_red) !important;
  color: #fff !important;
}
.customer_btn--sm {
  padding: 6px 10px;
  font-size: 0.8rem;
}
.customer_btn--icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.customer_table_card {
  background: var(--customer_white);
  border-radius: var(--customer_radius);
  border: 1px solid var(--customer_gray_200);
  overflow: hidden;
}
.customer_table_wrap {
  overflow-x: auto;
}

.customer_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.customer_table thead tr {
  background: var(--customer_gray_50);
  border-bottom: 1px solid var(--customer_gray_200);
}
.customer_table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--customer_gray_400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.customer_table tbody tr {
  border-bottom: 1px solid var(--customer_gray_100);
  transition: background 0.1s;
}
.customer_table tbody tr:last-child {
  border-bottom: none;
}
.customer_table tbody tr:hover {
  background: var(--customer_gray_50);
}
.customer_table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.customer_name_cell strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.customer_name_cell small {
  color: var(--customer_gray_400);
  font-size: 0.78rem;
}

.customer_contact_cell {
  font-size: 0.82rem;
  color: var(--customer_gray_600);
  line-height: 1.6;
}
.customer_contact_cell a {
  color: inherit;
  text-decoration: none;
}
.customer_contact_cell .customer_contact_row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.customer_badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.customer_badge--active {
  background: var(--customer_green_lt);
  color: #166534;
}
.customer_badge--inactive {
  background: var(--customer_gray_100);
  color: var(--customer_gray_600);
}

.customer_spent {
  color: var(--customer_orange);
  font-weight: 700;
}

.customer_pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--customer_gray_200);
  font-size: 0.82rem;
  color: var(--customer_gray_600);
  flex-wrap: wrap;
  gap: 10px;
}
.customer_pagination__pages {
  display: flex;
  gap: 6px;
}
.customer_page_btn {
  padding: 6px 13px;
  border-radius: 7px;
  border: 1px solid var(--customer_gray_200);
  background: var(--customer_white);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--customer_gray_800);
  text-decoration: none;
  transition:
    background 0.1s,
    color 0.1s;
}
.customer_page_btn:hover {
  background: var(--customer_gray_100);
}
.customer_page_btn--active {
  background: var(--customer_orange);
  color: #fff;
  border-color: var(--customer_orange);
}
.customer_page_btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.customer_modal_overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.customer_modal_overlay.is-open {
  display: flex;
}

.customer_modal {
  background: var(--customer_white);
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: customer_modal_in 0.2s ease;
}
@keyframes customer_modal_in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.customer_modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--customer_gray_200);
}
.customer_modal__title {
  font-size: 1.05rem;
  font-weight: 700;
}
.customer_modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--customer_gray_400);
  font-size: 1.4rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.1s;
}
.customer_modal__close:hover {
  background: var(--customer_gray_100);
  color: var(--customer_gray_800);
}
.customer_modal__body {
  padding: 22px 24px;
}
.customer_modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--customer_gray_200);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.customer_form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.customer_form_group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.customer_form_group--full {
  grid-column: 1 / -1;
}
.customer_form_label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--customer_gray_600);
}
.customer_form_input,
.customer_form_select {
  padding: 9px 12px;
  border: 1px solid var(--customer_gray_200);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--customer_gray_800);
  background: var(--customer_white);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.customer_form_input:focus,
.customer_form_select:focus {
  border-color: var(--customer_orange);
}

.customer_form_section {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--customer_gray_400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-top: 6px;
  border-top: 1px solid var(--customer_gray_100);
  margin-top: 4px;
}

.customer_view_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.customer_view_item__label {
  font-size: 0.75rem;
  color: var(--customer_gray_400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.customer_view_item__value {
  font-size: 0.9rem;
  font-weight: 500;
}

.customer_view_divider {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--customer_gray_400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-top: 8px;
  border-top: 1px solid var(--customer_gray_100);
  margin-top: 4px;
}

.customer_confirm_icon {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.customer_confirm_msg {
  text-align: center;
  color: var(--customer_gray_600);
  font-size: 0.9rem;
}

.customer_empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--customer_gray_400);
}
.customer_empty svg {
  margin-bottom: 12px;
}
.customer_empty p {
  font-size: 0.9rem;
}

/* settings */

.eco-settings-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 28px 70px;
  color: var(--eco-text);
}

.eco-page-header {
  margin-bottom: 26px;
}
.eco-page-header h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 4px;
}
.eco-page-header p {
  color: var(--eco-muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.eco-settings-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.eco-settings-tabs {
  background: var(--eco-white);
  border-radius: var(--eco-radius);
  box-shadow: var(--eco-shadow);
  /* border: 1px solid #ececec; */
  padding: 10px;
  overflow: hidden;
  position: sticky;
  top: 20px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}

.eco-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--eco-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: all var(--eco-tr);
}

.eco-tab-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.eco-tab-btn:hover {
  color: var(--eco-text);
  background: var(--eco-bg);
}
.eco-tab-btn.active {
  color: var(--eco-orange);
  background: var(--eco-orange-light);
  font-weight: 600;
  border-left: 3px solid var(--eco-orange);
  padding-left: 13px;
}

.eco-tab-panel {
  background: var(--eco-white);
  border-radius: var(--eco-radius);
  border: 1px solid #ececec;
  box-shadow: var(--eco-shadow);
  padding: 28px;
}

.eco-panel-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--eco-border);
}

.eco-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--eco-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.eco-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.eco-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}
.eco-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.eco-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.eco-form-group {
  margin-bottom: 18px;
}
.eco-form-group:last-of-type {
  margin-bottom: 0;
}

.eco-form-group label,
.eco-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--eco-text);
  margin-bottom: 6px;
}

.eco-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--eco-border);
  border-radius: var(--eco-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--eco-text);
  background: var(--eco-white);
  transition:
    border-color var(--eco-tr),
    box-shadow var(--eco-tr);
  outline: none;
  box-sizing: border-box;
}
.eco-input:focus {
  border-color: var(--eco-orange);
  box-shadow: 0 0 0 3px var(--eco-orange-glow);
}
.eco-input::placeholder {
  color: var(--eco-light-txt);
}

.eco-hint {
  font-size: 12px;
  color: var(--eco-muted);
  margin-top: 5px;
}

.eco-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--eco-orange) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--eco-radius-sm);
  cursor: pointer;
  transition: all var(--eco-tr);
  margin-top: 22px;
}
.eco-btn-primary:hover {
  background: var(--eco-orange-dark);
  transform: translateY(-1px);
}
.eco-btn-primary:active {
  transform: none;
  box-shadow: none;
}
.eco-btn-primary svg {
  width: 16px;
  height: 16px;
}

.eco-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid #fecaca;
  border-radius: var(--eco-radius-sm);
  cursor: pointer;
  transition: all var(--eco-tr);
}
.eco-btn-danger:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.eco-btn-danger svg {
  width: 15px;
  height: 15px;
}

.eco-notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--eco-border);
}
.eco-notif-item:last-child {
  border-bottom: none;
}
.eco-notif-info {
  flex: 1;
  padding-right: 16px;
}
.eco-notif-label {
  font-size: 14px;
  font-weight: 600;
}
.eco-notif-desc {
  font-size: 13px;
  color: var(--eco-muted);
  margin-top: 2px;
}

.eco-toggle {
  position: relative;
  flex-shrink: 0;
}
.eco-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.eco-toggle-track {
  display: block;
  width: 48px;
  height: 26px;
  background: #d1d5db;
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--eco-tr);
  position: relative;
}
.eco-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--eco-tr);
}
.eco-toggle input:checked + .eco-toggle-track {
  background: var(--eco-orange);
}
.eco-toggle input:checked + .eco-toggle-track::after {
  transform: translateX(22px);
}

.eco-api-group {
  margin-bottom: 24px;
}

.eco-api-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  margin-bottom: 24px;
}

.eco-api-status-left {
  flex: 1;
}

.eco-api-status-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.eco-api-status-text {
  font-size: 14px;
  color: #6b7280;
}

.eco-api-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.eco-api-badge.active {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.eco-api-badge.inactive {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.eco-api-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.eco-api-key-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 18px;
}

.eco-api-key-box {
  flex: 1;
  height: 56px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  padding: 0 18px;
  overflow: hidden;
}

.eco-api-key-val {
  width: 100%;
  font-size: 14px;
  color: #6b7280;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-api-actions {
  display: flex;
  gap: 10px;
}

.eco-reveal-btn {
  height: 56px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.eco-reveal-btn:hover {
  background: #e5e7eb;
}

.eco-copy-btn {
  height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 10px;
  background: #f15a22;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.eco-copy-btn:hover {
  background: #d14a10;
}

.eco-api-warning {
  background: #fff7e6;
  border: 1px solid #f6d98d;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.eco-api-warning-title {
  font-size: 14px;
  font-weight: 700;
  color: #9a6700;
  margin-bottom: 4px;
}

.eco-api-warning-text {
  font-size: 14px;
  color: #a16207;
  line-height: 1.5;
}

.eco-api-generate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.eco-api-generate-btn:hover {
  background: #e5e7eb;
}

.eco-api-docs {
  margin-top: 30px;
}

.eco-api-docs-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.eco-api-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f15a22;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.eco-api-doc-link:hover {
  opacity: 0.8;
}

.eco-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 500;
}

.eco-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.eco-disabled-input {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.eco-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.eco-api-group {
  margin-bottom: 20px;
}

.eco-api-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.eco-api-key-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 18px;
}

.eco-api-key-box {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  padding: 0 18px;
  overflow: hidden;
}

.eco-api-key-val {
  width: 100%;
  font-size: 14px;
  color: #6b7280;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-copy-btn {
  padding: 0 28px;
  border: none;
  border-radius: 8px;
  background: var(--eco-orange) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.eco-copy-btn:hover {
  background: var(--eco-orange-dark) !important;
}
.eco-reveal-btn {
  background: var(--eco-orange) !important;
  color: #fff !important;
}

.eco-api-warning {
  background: #fff7e6;
  border: 1px solid #f6d98d;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.eco-api-warning-title {
  font-size: 14px;
  font-weight: 700;
  color: #9a6700;
  margin-bottom: 4px;
}

.eco-api-warning-text {
  font-size: 14px;
  color: #a16207;
  line-height: 1.5;
}

.eco-api-generate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.eco-api-generate-btn:hover {
  background: #e5e7eb;
}

.eco-api-docs {
  margin-top: 26px;
}

.eco-api-docs-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.eco-api-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--eco-orange);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s ease;
}

.eco-api-doc-link:hover {
  opacity: 0.8;
}

.eco-divider,
.eco-section-title,
.eco-hint {
  display: none;
}

.eco-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--eco-text);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 14px;
}
.eco-section-title:first-child {
  margin-top: 0;
}
.eco-section-title svg {
  width: 15px;
  height: 15px;
  color: var(--eco-orange);
}
.eco-divider {
  border: none;
  border-top: 1px solid var(--eco-border);
  margin: 22px 0;
}

.eco-strength-bar {
  height: 4px;
  background: var(--eco-border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.eco-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition:
    width 0.35s ease,
    background 0.35s ease;
}

.eco-plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.eco-plan-card {
  border: 2px solid var(--eco-border);
  border-radius: var(--eco-radius);
  padding: 18px;
  cursor: pointer;
  transition: all var(--eco-tr);
  position: relative;
}
.eco-plan-card:hover {
  border-color: var(--eco-orange);
}
.eco-plan-card.selected {
  border-color: var(--eco-orange);
  background: var(--eco-orange-light);
}
.eco-plan-card.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  background: var(--eco-orange);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.eco-plan-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.eco-plan-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--eco-orange);
}
.eco-plan-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--eco-muted);
}
.eco-plan-feature {
  font-size: 12px;
  color: var(--eco-muted);
  padding: 2px 0;
}
.eco-plan-feature::before {
  content: "✓  ";
  color: var(--eco-orange);
  font-weight: 700;
}

.eco-billing-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #111827;
}

.eco-current-plan {
  background: linear-gradient(135deg, #ff6a00, #ff5a00);
  border-radius: 12px;
  padding: 26px 24px;
  color: #fff;
  margin-bottom: 26px;
}

.eco-plan-small-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.eco-current-plan-name {
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.eco-current-plan-price {
  font-size: 15px;
  opacity: 0.95;
}

.eco-payment-area {
  margin-top: 10px;
}

.eco-payment-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--eco-text);
}

.eco-payment-card {
  border: 1px solid var(--eco-border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  margin-bottom: 16px;
}

.eco-payment-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eco-payment-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-payment-icon svg {
  width: 24px;
  height: 24px;
  color: #111827;
}

.eco-payment-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.eco-payment-card-sub {
  font-size: 14px;
  color: var(--eco-muted);
}

.eco-payment-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.eco-add-payment-btn {
  background: #fff !important;
  border: 1px solid var(--eco-border) !important;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #111827 !important;
  cursor: pointer;
  transition: 0.2s ease;
}

.eco-add-payment-btn:hover {
  background: #f9fafb !important;
  border-color: #d1d5db !important;
}

#eco-billing-form .eco-section-title,
#eco-billing-form .eco-divider,
#eco-billing-form .eco-form-row,
#eco-billing-form .eco-btn-primary,
#eco-billing-form .eco-btn-secondary,
#eco-billing-form .eco-plan-cards {
  display: none;
}

.order_action_group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order_icon_btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.order_icon_btn svg {
  width: 18px;
  height: 18px;
}

.order_icon_view {
  background: #ff6b00 !important;
  color: #fff !important;
  border: none !important;
}

.order_icon_edit {
  background: #fff !important;
  color: #374151 !important;
  border: none !important;
}

.order_icon_delete {
  background: #fff;
  color: #ef4444;
  border: 1.5px solid #fee2e2;
}

.order_icon_btn:hover {
  transform: translateY(-1px);
}

.order_page {
  padding: 18px 22px;
  background: #f4f5f7;
  min-height: 100vh;
}

.order_toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.order_search_form {
  max-width: 360px;
}

.order_search_form input {
  width: 100%;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  padding: 0 12px;
  font-size: 12px;
  color: #111827;
  outline: none;
}

.order_search_form input:focus {
  border-color: var(--eco-orange);
  box-shadow: 0 0 0 3px var(--eco-orange-glow);
}

.order_actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.order_export_btn,
.order_new_btn {
  height: 36px;
  padding: 0 13px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.order_export_btn {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.order_new_btn {
  background: #ff6b00;
  color: #fff;
  border: 1px solid #ff6b00;
}

.order_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.order_stat_card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.order_stat_card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 5px;
}

.order_stat_card span {
  font-size: 10.5px;
  color: #6b7280;
  font-weight: 600;
}

.order_green {
  color: #10b981 !important;
}

.order_blue {
  color: #2563eb !important;
}

.order_orange {
  color: #f59e0b !important;
}

.order_table_card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 16px;
}

.order_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.order_table th {
  background: #f9fafb;
  color: #6b7280;
  text-align: left;
  padding: 10px 11px;
  font-size: 9.5px;
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.order_table td {
  padding: 11px;
  border-bottom: 1px solid #f1f1f1;
  color: #111827;
  vertical-align: middle;
}

.order_table tbody tr:hover {
  background: #fff8f4;
}

.order_id {
  color: #ff6b00 !important;
  font-weight: 800;
  font-size: 11px;
}

.order_price {
  color: #ff6b00 !important;
  font-weight: 800;
  font-size: 11px;
}

.order_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.order_badge_success {
  background: #ecfdf5;
  color: #047857;
}

.order_badge_warning {
  background: #fffbeb;
  color: #b45309;
}

.order_view_btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.order_empty {
  text-align: center;
  padding: 28px;
  color: #6b7280;
}

.order_pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 10.5px;
  color: #6b7280;
  background: #fff;
}

.order_page_btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.order_page_btn_active {
  background: #ff6b00;
  color: #fff;
  border-color: #ff6b00;
}

.order_page_btn_disabled {
  opacity: 0.45;
  cursor: default;
}

.order_bottom_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.order_bottom_card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.order_bottom_card h3 {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #111827;
}

.order_progress_item {
  margin-bottom: 11px;
}

.order_progress_top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  gap: 8px;
}

.order_progress_top span {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
}

.order_progress_top small {
  font-size: 10px;
  color: #6b7280;
}

.order_progress_track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.order_progress_bar {
  height: 100%;
  background: #ff6b00;
  border-radius: 999px;
}

.order_activity_item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.order_activity_icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order_activity_item strong {
  display: block;
  font-size: 11px;
  color: #111827;
  font-weight: 800;
}

.order_activity_item small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #6b7280;
}

.order_muted {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

.order_table_view_btn {
  width: 110px;
  height: 34px;
  font-size: 12px;
}

/* Responsive */

@media (min-width: 1400px) {
  body.analytics_page {
    padding: 32px 40px 80px;
  }
  .analytics_mid_row {
    grid-template-columns: 1fr 400px;
  }
}

@media (max-width: 1280px) {
  .order_table_card {
    overflow: auto;
  }
}

@media (max-width: 1200px) {
  .analytics_kpi_row {
    grid-template-columns: repeat(4, 1fr);
  }
  .analytics_mid_row {
    grid-template-columns: 1fr 320px;
  }
  .analytics_bottom_row {
    grid-template-columns: repeat(3, 1fr);
  }
  .analytics_status_track {
    flex: 0 0 90px;
  }
}

@media (max-width: 1024px) {
  .woocommerce-order-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-ship-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-ship-card {
    flex-wrap: wrap;
  }

  .eco-ship-card-actions {
    width: 100%;
    flex-direction: row;
  }

  .eco-btn-view,
  .eco-btn-edit,
  .eco-btn-delete {
    flex: 1;
  }

  .analytics_kpi_row {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics_mid_row {
    grid-template-columns: 1fr;
  }
  .analytics_bottom_row {
    grid-template-columns: 1fr 1fr;
  }
  .analytics_status_track {
    flex: 0 0 140px;
  }
  .analytics_chart_wrap {
    height: 200px;
  }
}

@media (max-width: 991px) {
  .eco-ship-wrap {
    padding: 20px;
  }

  .eco-ship-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .eco-ship-card-actions {
    width: 100%;
    flex-direction: row;
  }

  .eco-btn-view,
  .eco-btn-edit,
  .eco-btn-delete {
    flex: 1;
  }

  .eco-ship-card-route {
    grid-template-columns: 1fr;
  }

  .eco-tl-row-fields {
    grid-template-columns: 1fr 1fr;
  }
  .inventory-card .eco-ship-card-route {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .inventory-card .eco-ship-card-foot {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 16px !important;
  }

  .inventory-card .eco-foot-price {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  .woocommerce-order-overview {
    flex-wrap: wrap !important;
  }

  .woocommerce-order-overview li {
    flex: 0 0 calc(50% - 8px) !important;
  }
  .customer_stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-settings-layout {
    grid-template-columns: 1fr;
  }
  .eco-settings-tabs {
    flex-direction: row;
    position: static;
    align-items: center;
    justify-content: space-evenly;
  }
  .eco-tab-btn {
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    font-size: 11px;
    border-bottom: none;
    border-right: 1px solid var(--eco-border);
    min-width: 76px;
    text-align: center;
    white-space: nowrap;
    border-left: none;
  }
  .eco-tab-btn:last-child {
    border-right: none;
  }
  .eco-tab-btn.active {
    border-left: none;
    border-bottom: 3px solid var(--eco-orange);
    padding-left: 14px;
  }
  .eco-tab-btn svg {
    width: 18px;
    height: 18px;
  }
  .eco-plan-cards {
    grid-template-columns: 1fr 1fr;
  }
  .order_toolbar {
    grid-template-columns: 1fr;
  }

  .order_search_form {
    max-width: 100%;
  }

  .order_actions {
    width: 100%;
  }

  .order_export_btn,
  .order_new_btn {
    flex: 1;
  }

  .order_stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .order_bottom_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.woocommerce-order-pay form#order_review {
    padding: 18px;
  }

  body.woocommerce-order-pay .place-order {
    display: block;
  }

  body.woocommerce-order-pay button#place_order {
    width: 100%;
    margin-top: 16px;
  }
  .eco-ship-card-head {
    flex-wrap: wrap;
  }

  .eco-ship-card-route {
    flex-direction: column;
    gap: 12px;
  }

  .shipment-top,
  .shipment-route {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .text-right {
    text-align: center;
  }

  .route-progress {
    width: 100%;
  }

  .shipment-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shipment-status-bar h2 {
    font-size: 28px;
  }

  .timeline-content h4 {
    font-size: 24px;
  }

  .track-box {
    flex-direction: column;
  }

  .eco-ship-card-route {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .eco-ship-card-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .eco-foot-price {
    grid-column: 1 / -1;
  }
  #tracking-input,
  #track-btn {
    width: 100%;
  }
  .shipment-top {
    padding: 20px;
    text-align: center;
    gap: 10px;
  }

  .shipment-title {
    font-size: 16px;
  }

  .shipment-number {
    font-size: 18px;
  }

  .shipment-status-bar {
    padding: 20px;
  }

  .shipment-status-bar h2 {
    font-size: 24px;
  }

  .shipment-route {
    padding: 25px 20px;
    gap: 25px;
  }

  .route-box h3 {
    font-size: 20px;
  }

  .shipment-info-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .timeline-section {
    padding: 25px 20px;
  }

  .timeline-content h4 {
    font-size: 22px;
  }

  .tracking-close {
    top: 10px;
    right: 10px;
  }

  .eco-ship-wrap {
    padding: 16px;
  }

  .eco-ship-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .eco-ship-topbar-right {
    width: 100%;
    justify-content: flex-start;
  }
  .eco-ship-search-form {
    max-width: 100%;
  }
  .eco-ship-new-btn,
  .eco-ship-export-btn {
    flex: 1;
    justify-content: center;
  }
  .eco-api-key-row {
    flex-direction: column;
  }

  .eco-api-actions {
    width: 100%;
  }

  .eco-copy-btn,
  .eco-reveal-btn {
    flex: 1;
  }
  .eco-ship-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .eco-ship-stat-num {
    font-size: 24px;
  }

  .eco-ship-card {
    padding: 16px;
    gap: 14px;
  }
  .eco-ship-card-route {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .eco-modal-grid {
    grid-template-columns: 1fr;
  }
  .eco-modal-form {
    padding: 20px;
  }
  .eco-modal-head {
    padding: 18px 20px;
  }

  .eco-view-grid {
    grid-template-columns: 1fr;
  }
  .eco-view-row {
    border-right: none;
  }
  .eco-view-body {
    padding: 18px 20px;
  }

  body.analytics_page {
    padding: 16px 12px 48px;
  }

  .analytics_kpi_row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .analytics_mid_row {
    grid-template-columns: 1fr;
  }
  .analytics_bottom_row {
    grid-template-columns: 1fr 1fr;
  }

  .analytics_kpi_card {
    padding: 16px 14px 14px;
  }
  .analytics_kpi_icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .analytics_status_track {
    flex: 0 0 100px;
  }
  .analytics_chart_wrap {
    height: 180px;
  }
  .eco-tl-row-fields {
    grid-template-columns: 1fr 1fr;
  }
  .eco-tl-field--full {
    grid-column: 1 / -1;
  }

  .eco-ship-wrap {
    padding: 14px;
  }

  .eco-ship-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .eco-ship-topbar-right {
    width: 100%;
    justify-content: stretch;
  }

  .eco-ship-search-form {
    width: 100%;
    max-width: 100%;
  }

  .eco-ship-export-btn,
  .eco-ship-new-btn {
    flex: 1;
    justify-content: center;
  }

  .eco-ship-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-modal-box {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .eco-modal-form,
  .eco-view-body,
  .eco-export-body {
    padding: 18px;
  }

  .eco-modal-head {
    padding: 18px;
  }

  .eco-view-grid {
    grid-template-columns: 1fr;
  }

  .eco-view-row {
    border-right: none;
  }

  .eco-modal-grid {
    grid-template-columns: 1fr;
  }

  .eco-ship-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .eco-pag-btns {
    width: 100%;
    justify-content: space-between;
  }

  .eco-pag-btn {
    flex: 1;
    justify-content: center;
  }

  .eco-ship-wrap {
    padding: 14px;
  }

  .eco-ship-topbar {
    gap: 14px;
  }

  .eco-ship-topbar h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .eco-ship-topbar-right {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .eco-ship-search-form {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .eco-ship-search-form input {
    height: 46px;
    font-size: 14px;
  }

  .eco-ship-export-btn,
  .eco-ship-new-btn {
    width: 100%;
    height: 46px;
    justify-content: center;
    padding: 0 14px;
    font-size: 14px;
  }

  .eco-ship-card {
    padding: 16px;
    border-radius: 14px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .eco-ship-card-icon {
    width: 46px;
    height: 46px;
  }

  .eco-ship-trk {
    font-size: 18px;
    line-height: 1.3;
    word-break: break-word;
  }

  .eco-ship-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .eco-ship-card-head-left {
    width: 100%;
  }

  .eco-ship-card-route {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .eco-route-place {
    font-size: 16px;
  }

  .eco-ship-prog-wrap {
    gap: 8px;
  }

  .eco-ship-prog-pct {
    width: auto;
    min-width: 38px;
  }

  .eco-ship-card-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .eco-foot-item {
    font-size: 13px;
  }

  .eco-foot-price {
    font-size: 28px;
    line-height: 1;
  }

  .eco-ship-card-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .eco-btn-view,
  .eco-btn-edit,
  .eco-btn-delete {
    width: 100%;
    height: 44px;
    font-size: 14px;
    border-radius: 10px;
  }

  .eco-ship-pagination {
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .eco-pag-btns {
    width: 100%;
  }

  .eco-pag-btn {
    flex: 1;
    justify-content: center;
  }

  .customer_topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .customer_toolbar,
  .customer_search_wrap {
    width: 100%;
    max-width: 100%;
  }

  .customer_topbar__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .customer_btn {
    flex: 1;
    justify-content: center;
  }
  .customer_hide_mobile {
    display: none !important;
  }
  .customer_table td,
  .customer_table th {
    padding: 10px 10px;
  }

  .eco-payment-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .eco-current-plan-name {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .customer_stat_card__value {
    font-size: 1.4rem;
  }
  .eco-ship-wrap {
    padding: 12px;
  }

  .eco-ship-topbar h1 {
    font-size: 22px;
  }

  .eco-ship-stats {
    grid-template-columns: 1fr;
  }

  .eco-ship-stat {
    padding: 18px;
  }

  .eco-ship-stat-num {
    font-size: 24px;
  }

  .eco-ship-card {
    padding: 14px;
    border-radius: 14px;
  }

  .eco-ship-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .eco-ship-card-foot {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .eco-ship-card-actions {
    flex-direction: column;
  }

  .eco-btn-view,
  .eco-btn-edit,
  .eco-btn-delete {
    width: 100%;
  }

  .eco-modal-overlay {
    padding: 10px;
  }

  .eco-modal-box {
    border-radius: 14px;
    max-height: 95vh;
  }

  .eco-modal-head h2 {
    font-size: 18px;
  }

  .eco-tl-row {
    flex-direction: column;
  }

  .eco-tl-row-num {
    margin-top: 0;
  }

  .eco-tl-row-fields {
    grid-template-columns: 1fr;
  }

  .eco-tl-remove {
    align-self: flex-end;
    margin-top: 0;
  }

  .eco-export-options {
    grid-template-columns: 1fr;
  }

  .eco-export-footer {
    flex-direction: column;
  }

  .eco-export-cancel-btn,
  .eco-export-download-btn {
    width: 100%;
    justify-content: center;
  }

  .analytics_bottom_row {
    grid-template-columns: 1fr;
  }

  .analytics_status_item {
    gap: 6px;
  }
  .analytics_status_track {
    flex: 0 0 80px;
  }
  .analytics_status_pct {
    width: 50px;
    font-size: 0.68rem;
  }

  .analytics_kpi_badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    top: 10px;
    right: 10px;
  }

  .eco-settings-wrap {
    padding: 16px 14px 48px;
  }
  .eco-tab-panel {
    padding: 18px;
  }
  .eco-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eco-plan-cards {
    grid-template-columns: 1fr;
  }
  .eco-page-header h1 {
    font-size: 18px;
  }
  .order_page {
    padding: 14px;
  }

  .order_stats {
    grid-template-columns: 1fr;
  }

  .order_table_card {
    overflow-x: auto;
  }

  .order_table {
    min-width: 900px;
  }
}

@media (max-width: 500px) {
  .woocommerce-order-overview li {
    flex: 0 0 100% !important;
  }
  .woocommerce-order {
    padding: 0 16px;
  }

  .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  .woocommerce-table {
    font-size: 14px;
  }

  .eco-tl-row-fields {
    grid-template-columns: 1fr;
  }
  .eco-tl-row {
    flex-direction: column;
  }
  .eco-tl-row-num {
    margin-top: 0;
  }
  .eco-tl-remove {
    margin-top: 0;
    align-self: flex-end;
  }

  .eco-export-options {
    grid-template-columns: 1fr;
  }
  .eco-export-footer {
    flex-direction: column;
  }
  .eco-export-cancel-btn,
  .eco-export-download-btn {
    width: 100%;
    justify-content: center;
  }

  .eco-ship-wrap {
    padding: 12px;
  }

  .eco-ship-topbar-right {
    grid-template-columns: 1fr;
  }

  .eco-ship-topbar h1 {
    font-size: 22px;
  }

  .eco-ship-card {
    padding: 14px;
  }

  .eco-ship-trk {
    font-size: 16px;
  }

  .eco-route-place {
    font-size: 15px;
  }

  .eco-foot-price {
    font-size: 24px;
  }

  .eco-btn-view,
  .eco-btn-edit,
  .eco-btn-delete {
    height: 42px;
    font-size: 13px;
  }

  .customer_stats {
    grid-template-columns: 1fr;
  }

  .customer_form_grid {
    grid-template-columns: 1fr;
  }

  .eco-ship-stats {
    grid-template-columns: 1fr 1fr;
  }
  .eco-pag-btn {
    padding: 0 12px;
    font-size: 12px;
  }
  .analytics_kpi_row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .analytics_kpi_value {
    font-size: 1.2rem;
  }
  .analytics_kpi_label {
    font-size: 0.72rem;
  }

  .analytics_status_track {
    flex: 0 0 60px;
  }
  .analytics_status_pct {
    width: 46px;
  }

  .analytics_chart_wrap {
    height: 160px;
  }

  .analytics_card_title {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  .eco-settings-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .eco-tab-btn {
    width: calc(50% - 10px);
  }
}

@media (max-width: 420px) {
  .customer_view_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .eco-ship-wrap {
    padding: 10px;
  }

  .eco-ship-search-form input {
    font-size: 12px;
    padding-left: 36px;
  }

  .eco-ship-export-btn,
  .eco-ship-new-btn {
    font-size: 12px;
    padding: 0 12px;
  }

  .eco-pag-btn {
    font-size: 11px;
    padding: 0 10px;
  }

  .eco-route-place {
    font-size: 13px;
  }

  .eco-ship-trk {
    font-size: 16px;
  }
  body.analytics_page {
    padding: 12px 8px 40px;
  }

  .analytics_kpi_row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .analytics_kpi_card {
    padding: 12px 10px 10px;
  }
  .analytics_kpi_icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .analytics_status_track {
    flex: 0 0 50px;
  }
  .analytics_status_label {
    font-size: 0.72rem;
  }
}
