.track-order-page { margin-top: 100px; padding: 40px 0 80px; font-family: inherit; color: #333; }
.track-order-page .container { max-width: 800px; margin: auto; padding: 0 15px; }
.woocommerce-error{color:white;padding:10px;text-align: center;font-family: 'Sora', sans-serif;}
/* Notice Banner */
.top-notice-box { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 30px; text-align: justify; }
.top-notice-box p { margin-bottom: 12px; }

/* Section Divider */
.track-divider { display: flex; align-items: center; text-align: center; margin: 40px 0 30px; color: #333; font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.5px; }
.track-divider::before, .track-divider::after { content: ''; flex: 1; border-bottom: 1px solid #ddd; }
.track-divider span { padding: 0 15px; }

/* Form Styling - 1 Field Per Row */
form.woocommerce-form-track-order{padding: 30px 40px;background: #f5f5f5;border-radius: 12px;border: 1px solid #dfdfdf;}
form.woocommerce-form-track-order p:first-child{margin-bottom: 20px;font-family: 'Sora', sans-serif;}
	p.form-row label{display: block;margin-bottom: 8px;font-family: 'Sora', sans-serif;font-weight:600;}p.form-row-first{margin-bottom: 15px;}
input#order_email, input#orderid{background-color: white; border-radius: 8px;padding: 12px;width: 100%;font-family: 'Sora', sans-serif;}
	form.woocommerce-form-track-order button[type="submit"]{
	width: 100%;
    border: 1px solid #011CA7;
    margin-top: 30px;
    background-color: #011CA7;
    color: white;
    font-family: 'Sora', sans-serif;
    padding: 15px 0;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
	}

/* Results Section */
.status-summary-text { text-align: center; font-size: 15px; margin-bottom: 30px; color: #444; }
.order-updates-card { background: #f9fbfd; border: 1px solid #eef2f6; padding: 25px; border-radius: 10px; margin-bottom: 35px; }
.order-updates-card h4 { font-size: 13px; color: #0084c7; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.update-time { font-size: 14px; color: #555; margin: 0; }

/* Tables */
.track-section-title { font-size: 22px; font-weight: 600; margin: 30px 0 15px; color: #222; }
.track-table { width: 100%; border-collapse: collapse; margin-bottom: 35px; }
.track-table th, .track-table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid #eaeaea; font-size: 14px; }
.track-table th { color: #444; font-weight: 600; background: #fafafa; }

/* Track Button */
.btn-shippit-track { display: inline-block; padding: 8px 22px; background: #0084c7; color: #fff !important; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 13px; text-align: center; }
.btn-shippit-track:hover { background: #026497; }

/* Support Ticket Card */
.support-ticket-card { background: #f4f6f8; padding: 25px 30px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.support-ticket-card div { max-width: 650px; }
.support-ticket-card h4 { font-size: 18px; margin-bottom: 6px; color: #222; }
.support-ticket-card p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
.btn-submit-ticket { display: inline-block; padding: 12px 24px; background: #0084c7; color: #fff !important; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-submit-ticket:hover { background: #026497; }

@media(max-width: 768px) {
    .support-ticket-card { flex-direction: column; text-align: center; }
    form.woocommerce-form-track-order{
        padding: 15px 20px;
    }
    .track-divider{
      font-size: 18px;
    }
    .woocommerce-error{
      font-size: 14px;
    }
    form.woocommerce-form-track-order p:first-child{
        font-size: 16px !important;
    }
    input#order_email, input#orderid{
        font-size: 15px;
    }
    form.woocommerce-form-track-order button[type="submit"]{
        padding: 10px 0;
        font-size: 16px;
    }
}
/* ==========================================================================
   Base Structure & Typography
   ========================================================================== */
.woocommerce {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #374151;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.woocommerce * {
    box-sizing: inherit;
}

.woocommerce h2 {
    font-size: 1.5rem;
    color: #111827;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
    font-weight: 600;
}

/* ==========================================================================
   Order Info Banner (Replaces default yellow <mark> tags)
   ========================================================================== */
.order-info {
    background-color: #f0fdf4; /* Soft success green */
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-info mark {
    background: transparent;
    font-weight: 700;
    color: #15803d; /* Darker green for emphasis */
    padding: 0;
}

/* ==========================================================================
   Tables (Order Details & Tracking)
   ========================================================================== */
table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    text-align: left;
}

table.shop_table thead th {
    background-color: #f9fafb;
    color: #6b7280;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

table.shop_table tbody td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    color: #4b5563;
}

/* Specific to Order Details Items */
.woocommerce-table__product-name a {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: inline-block;
    transition: color 0.2s ease;
}

.woocommerce-table__product-name a:hover {
    color: #4f46e5; /* Modern Indigo Accent */
}

.product-quantity {
    color: #6b7280;
    font-weight: 600;
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Aligning totals to the right */
.product-total {
    text-align: right;
    font-weight: 500;
    color: #111827;
}

/* Order Totals Footer */
table.shop_table tfoot th,
table.shop_table tfoot td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid #f3f4f6;
}

table.shop_table tfoot th {
    color: #6b7280;
    font-weight: 500;
    width: 70%;
}

table.shop_table tfoot tr:last-child th,
table.shop_table tfoot tr:last-child td {
    border-bottom: none;
    padding-top: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

/* ==========================================================================
   Customer Details (Addresses Grid)
   ========================================================================== */
.woocommerce-columns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.woocommerce-column {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.woocommerce-column__title {
    margin-top: 0 !important;
    border-bottom: none !important;
    font-size: 1.125rem !important;
    padding-bottom: 0 !important;
}

.woocommerce-column address {
    font-style: normal;
    line-height: 1.6;
    color: #4b5563;
    margin-top: 12px;
}

.woocommerce-customer-details--email {
    margin-top: 16px;
    margin-bottom: 0;
    color: #4f46e5;
    font-weight: 500;
}

/* ==========================================================================
   Tracking Table Additions
   ========================================================================== */
.my_account_tracking th,
.my_account_tracking td {
    text-align: left;
}

.my_account_tracking .order-actions {
    text-align: center;
}

.my_account_tracking .button {
    display: inline-block;
    background-color: #4f46e5
}

/* Base WooCommerce Container */
.woocommerce {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #374151;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Order Info Notice */
.woocommerce .order-info {
  background-color: #f3f4f6;
  padding: 16px 24px;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
  font-size: 1.05rem;
  color: #1f2937;
}

.woocommerce .order-info mark {
  background: transparent;
  font-weight: 600;
  color: #2563eb;
}

/* General Headings */
.woocommerce h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

/* Data Tables (Order Details & Tracking) */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  text-align: left;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce table.shop_table thead th {
  background-color: #f9fafb;
  color: #4b5563;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.woocommerce table.shop_table tbody td.product-name a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.woocommerce table.shop_table tbody td.product-name a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.woocommerce table.shop_table tfoot th {
  text-align: right;
  color: #6b7280;
  font-weight: 500;
}

.woocommerce table.shop_table tfoot td {
  font-weight: 600;
  color: #111827;
}

/* Customer Details Flex Columns */
.woocommerce .woocommerce-columns--2 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 2.5rem;
}

.woocommerce .woocommerce-column {
  flex: 1;
  min-width: 280px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.woocommerce .woocommerce-column h2 {
  margin-top: 0;
  font-size: 1.2rem;
  border-bottom: none;
  padding-bottom: 0;
}

.woocommerce address {
  font-style: normal;
  color: #4b5563;
  line-height: 1.7;
}

.woocommerce .woocommerce-customer-details--email {
  margin-top: 12px;
  font-weight: 500;
  color: #111827;
}

/* Tracking Button */
.woocommerce .button {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.woocommerce .button:hover {
  background-color: white;
  color: #011CA7;
}

.woocommerce .button:active {
  transform: translateY(1px);
}

/* Specific Tracking Table Adjustments */
.woocommerce table.my_account_tracking td {
  vertical-align: middle;
}

.woocommerce table.my_account_tracking .tracking-provider {
  font-weight: 600;
  color: #111827;
}