/* Adapted from provided HTML <style> blocks */
@keyframes slide-in-one-tap {
  from {
    transform: translateY(80px);
  }
  to {
    transform: translateY(0px);
  }
}

.trust-hide-gracefully {
  opacity: 0;
}

.trust-wallet-one-tap .hidden {
    display: none;
  }

.trust-wallet-one-tap .semibold {
    font-weight: 500;
  }

.trust-wallet-one-tap .binance-plex {
    font-family: 'Binance';
  }

.trust-wallet-one-tap .rounded-full {
    border-radius: 50%;
  }

.trust-wallet-one-tap .flex {
    display: flex;
  }

.trust-wallet-one-tap .flex-col {
    flex-direction: column;
  }

.trust-wallet-one-tap .items-center {
    align-items: center;
  }

.trust-wallet-one-tap .space-between {
    justify-content: space-between;
  }

.trust-wallet-one-tap .justify-center {
    justify-content: center;
  }

.trust-wallet-one-tap .w-full {
    width: 100%;
  }

.trust-wallet-one-tap .box {
    transition: all 0.5s cubic-bezier(0, 0, 0, 1.43);
    animation: slide-in-one-tap 0.5s cubic-bezier(0, 0, 0, 1.43);
    width: 384px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1020;
  }

.trust-wallet-one-tap .header {
    gap: 15px;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 18px;
  }

.trust-wallet-one-tap .header .left-items {
      gap: 15px;
    }

.trust-wallet-one-tap .header .title {
      color: #1e2329;
      font-size: 18px;
      font-weight: 600;
      line-height: 28px;
    }

.trust-wallet-one-tap .header .subtitle {
      color: #474d57;
      font-size: 14px;
      line-height: 20px;
    }

.trust-wallet-one-tap .header .close {
      color: #1e2329;
      cursor: pointer;
    }

.trust-wallet-one-tap .body {
    padding: 9px 18px;
    gap: 10px;
  }

.trust-wallet-one-tap .body .right-items {
      gap: 10px;
      width: 100%;
    }

.trust-wallet-one-tap .body .right-items .wallet-title {
        color: #1e2329;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
      }

.trust-wallet-one-tap .body .right-items .wallet-subtitle {
        color: #474d57;
        font-size: 14px;
        line-height: 20px;
      }

.trust-wallet-one-tap .connect-indicator {
    gap: 15px;
    padding: 8px 0;
  }

.trust-wallet-one-tap .connect-indicator .flow-icon {
      color: #474d57;
    }

.trust-wallet-one-tap .loading-color {
    color: #fff;
  }

.trust-wallet-one-tap .button {
    border-radius: 50px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: rgb(5, 0, 255);
    border-color: rgb(229, 231, 235);
    cursor: pointer;
    text-align: center;
    height: 45px;
  }

.trust-wallet-one-tap .button .button-text {
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      line-height: 20px;
    }

.trust-wallet-one-tap .footer {
    margin: 20px 30px;
  }

.trust-wallet-one-tap .check-icon {
    color: #fff;
  }

@font-face {
  font-family: 'Binance';
  src: url('fonts/BinancePlex-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Binance';
  src: url('fonts/BinancePlex-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Binance';
  src: url('fonts/BinancePlex-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Additional custom styles for layout, tables, etc. */
.bg-footer { background: #333; color: #fff; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #ddd; padding: 8px; }
.search-form { margin-bottom: 20px; }
/* Add more from your HTML as needed */


/*
 * File: tssxd-style.css
 * Plugin: Tyre Stock Shop by XD
 * Purpose: Custom styling for Dashboard, Search, and Forms
 */

/* --- 1. Global Reset and Base Layout --- */
.tssxd-dashboard-content, .tssxd-search-container, .tssxd-user-info-grid {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
}

/* --- 2. Header and Top Search Area (Inspired by images) --- */

/* Main Search & Delivery Area Container */
.top-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Search Box Styling */
.search-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 2; /* Search box ko zyada jagah do */
    margin-right: 15px;
}

.search-box h3 {
    font-size: 16px;
    color: #333;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Filters Layout (Season, Vehicle, Brand) */
.tssxd-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columns for filters */
    gap: 15px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Buttons */
.btn-red {
    background-color: #d9534f; /* Red tone */
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.btn-red:hover {
    background-color: #c9302c;
}

.btn-dark {
    background-color: #555; /* Dark tone for Reset/Modify */
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

/* Delivery Box Styling */
.delivery-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1; /* Delivery box ko kam jagah do */
    border-left: 3px solid #d9534f; /* Red vertical line jaisa image mein hai */
    text-align: right;
}

.delivery-box h4 {
    margin: 0;
    color: #333;
    font-size: 15px;
}

.delivery-box .delivery-address {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 10px 0;
}

/* --- 3. Dashboard and Account Summary Styling (dashboard.jpg) --- */

.account-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Summary aur Amount details ke liye */
    gap: 20px;
    margin-top: 20px;
}

.summary-box, .amount-details-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.amount-details-box {
    background-color: #f7f7f7; /* Thoda sa light grey background */
    border: 1px solid #ddd;
}

.amount-line {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 14px;
}
.amount-line span {
    font-weight: bold;
}

.delivery-info {
    text-align: center;
    font-size: 13px;
    margin-top: 30px;
    color: #555;
}

/* --- 4. User Information and Settings (user info.jpg) --- */

.tssxd-user-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.user-info-panel, .display-settings-panel {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.tssxd-form label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.tssxd-form input[type="text"],
.tssxd-form input[type="email"],
.tssxd-form input[type="password"],
.tssxd-form input[type="number"],
.tssxd-form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box; /* Padding and border included in width */
}

/* --- 5. Product List Table (product search and list.jpg) --- */

.tssxd-product-list-table h3 {
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.tssxd-product-list-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tssxd-product-list-table th,
.tssxd-product-list-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 13px;
}

.tssxd-product-list-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.product-qty-input {
    width: 50px;
    text-align: center;
}

/* ADD TO CART STYLING */
.tssxd-add-to-cart-form {
    display: flex;
    gap: 5px; /* Button aur input ke beech thodi space */
    align-items: center;
    max-width: 150px; /* Poore form ko chota rakhe */
}

.tssxd-add-to-cart-form .product-qty-input {
    width: 45px; /* Input ki width kam karein */
    padding: 4px;
    height: 30px;
    text-align: center;
}

.tssxd-add-to-cart-btn {
    padding: 6px 10px;
    height: 30px;
    line-height: 1; /* Button text ko theek se center karein */
    font-size: 13px;
    white-space: nowrap; /* Button ko wrap hone se roke */
}

/* User-info Page Styling */

.tssxd-user-info-grid {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

.tssxd-form {
    display: flex;
    gap: 30px;
}

/* Common Panel Styling */
.tssxd-info-panel,
.tssxd-settings-panel {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1; /* Dono panels ko barabar jagah mile */
    min-width: 600px;
}

.tssxd-info-panel h3,
.tssxd-settings-panel h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.tssxd-info-panel label,
.tssxd-settings-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.tssxd-info-panel input[type="text"],
.tssxd-info-panel input[type="email"],
.tssxd-info-panel input[type="number"],
.tssxd-settings-panel input[type="number"],
.tssxd-settings-panel select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.tssxd-info-panel input:focus,
.tssxd-settings-panel input:focus,
.tssxd-settings-panel select:focus {
    border-color: #d9534f; /* Red focus color */
    outline: none;
}

/* Read-Only Field Styling */
.disabled-field[readonly] {
    background-color: #f5f5f5; /* Light gray background */
    color: #888;
    cursor: not-allowed;
}

/* Checkbox specific styling */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

/* Update Button Styling (Matching site's red button) */
.update-btn {
    background-color: #d9534f; /* Red */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.update-btn:hover {
    background-color: #c9302c;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .tssxd-form {
        flex-direction: column;
    }
}

/* Dashboard Main Layout */
.tssxd-dashboard-content {
    padding: 20px 0;
}

/* Panel Headers and Filters */
.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.dashboard-panel-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.status-active {
    color: #4CAF50; /* Green color for active status */
    font-weight: bold;
}

/* Date Range Form */
.date-range-form label {
    font-weight: 500;
    margin-right: 5px;
}

.date-range-form input[type="date"] {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.btn-red-small {
    background-color: #d9534f; /* Red button from other screens */
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-red-small:hover {
    background-color: #c9302c;
}

/* Account Details Grid Layout */
.account-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Summary small, Details large */
    gap: 20px;
    margin-bottom: 30px;
}

/* Summary and Amount Boxes */
.summary-box, .amount-details-box, .delivery-info {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.panel-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Light shadow for depth */
}

.summary-box h4, .amount-details-box h4 {
    font-size: 1.2rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.summary-line .label {
    font-weight: 500;
    color: #555;
}
.summary-line .value {
    font-weight: bold;
    color: #333;
}
.summary-line .terms-cod {
    color: #d9534f; /* Red for emphasis on terms */
}

/* Amount Details Box Styling */
.amount-details-box .amount-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
    font-size: 1.1rem;
}
.amount-details-box .amount-line:last-child {
    border-bottom: none;
}
.amount-line .label {
    font-weight: 500;
    color: #444;
}
.amount-line .value {
    font-weight: 700;
}

/* Color coding for amounts */
.amount-line.unpaid .value { color: #f0ad4e; } /* Orange */
.amount-line.completed .value { color: #4CAF50; } /* Green */
.amount-line.cancelled .value { color: #d9534f; } /* Red */
.amount-line.partially-completed .value { color: #5bc0de; } /* Blue */

/* Delivery Info Section */
.delivery-info {
    grid-column: 1 / -1; /* Full width */
    margin-bottom: 20px;
}
.delivery-info p {
    margin: 5px 0;
    color: #555;
}
.delivery-info .print-link {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
}
.delivery-info .print-link:hover {
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .account-details-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .date-range-form {
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

/* ===================================================
   Stylish Dashboard Design CSS
   =================================================== */

/* Main Container and Typography */
.tssxd-dashboard-content {
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

/* 1. Header and Filters Panel Styling */
.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background-color: #ffffff; /* White background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Stronger but subtle shadow */
    border-left: 5px solid #d9534f; /* Red accent bar */
}

.dashboard-panel-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.status-active {
    color: #4CAF50; 
    font-weight: bold;
}

/* Date Range Form Styling */
.date-range-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-form label {
    font-weight: 500;
    color: #555;
}

.date-range-form input[type="date"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.date-range-form input[type="date"]:focus {
    border-color: #d9534f;
    outline: none;
}

.btn-red-small {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-red-small:hover {
    background-color: #c9302c;
}

/* 2. Account Details Grid Layout */
.account-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Summary small, Details large */
    gap: 30px;
    margin-bottom: 30px;
}

/* Common Card Styling */
.summary-box, .amount-details-box, .delivery-info {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Lighter card shadow */
}

.summary-box h4, .amount-details-box h4 {
    font-size: 1.1rem;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Summary Box Styling */
.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}
.summary-line .label {
    font-weight: 500;
    color: #666;
}
.summary-line .value {
    font-weight: 700;
    color: #333;
}
.summary-line .terms-cod {
    color: #d9534f;
}

/* 3. Account Amount Details Box Styling */
.amount-details-box {
    /* Background light gray for better distinction */
    background-color: #f7f7f7; 
}
.amount-details-box h4 {
    border-bottom-color: #ddd;
}

.amount-details-box .amount-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0; /* More padding */
    border-bottom: 1px solid #e0e0e0; /* Solid divider */
    font-size: 1.15rem; /* Larger font for amounts */
    font-weight: 600;
}
.amount-details-box .amount-line:last-child {
    border-bottom: none;
}
.amount-line .label {
    font-weight: 500;
    color: #444;
}
.amount-line .value {
    font-weight: 800; /* Extra bold amount value */
}

/* Color coding for amounts */
.amount-line.unpaid .value { color: #f0ad4e; } /* Orange - Danger/Warning */
.amount-line.completed .value { color: #4CAF50; } /* Green - Success */
.amount-line.cancelled .value { color: #d9534f; } /* Red - Cancelled */
.amount-line.partially-completed .value { color: #007bff; } /* Blue - Info */


/* 4. Delivery Info Section */
.delivery-info {
    grid-column: 1 / -1; 
    margin-top: 10px;
    padding: 20px 25px;
    border-left: 5px solid #5bc0de; /* Blue accent */
}
.delivery-info h4 {
    font-size: 1.1rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}
.delivery-info p {
    margin: 5px 0;
    color: #555;
}
.delivery-info .print-link {
    display: inline-block;
    margin-top: 15px;
    color: #d9534f;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.delivery-info .print-link:hover {
    color: #c9302c;
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .account-details-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .date-range-form {
        margin-top: 15px;
        width: 100%;
        flex-wrap: wrap;
    }
}

/* --- Attractive Dashboard CSS (A2ZEE TYRES) --- */

/* Base container styling */
.tssxd-dashboard-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7f9; /* Light, clean background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}

/* Header & Navigation (Top Bar) */
.user-header-info {
    background: #2c3e50; /* Dark blue/grey for professionalism */
    color: #ecf0f1;
    padding: 3px 25px;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px; /* Extends to container edges */
}
.user-header-infoo {
    background: #2c3e50; /* Dark blue/grey for professionalism */
    color: #ecf0f1;
    padding: 3px 25px;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px; /* Extends to container edges */
}
.user-header-infoo p:first-child {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
}
.user-header-info p:first-child {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
}
.dashboard-nav {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}
.dashboard-nav li {
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}
.dashboard-nav li:hover {
    color: #3498db; /* Blue highlight on hover */
}

/* Panel Header and Filters */
.dashboard-panel-header {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.dashboard-panel-header h4 {
    margin: 0;
    font-size: 1.2em;
    color: #2c3e50;
}
.status-active {
    color: #27ae60; /* Green for active status */
    font-weight: bold;
}

/* Date Range Form */
.date-range-form {
    display: flex;
    gap: 15px;
    align-items: center;
}
.date-range-form label {
    font-weight: 500;
    color: #34495e;
}
.date-range-form input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}
.date-range-form input[type="date"]:focus {
    border-color: #3498db;
    outline: none;
}
.search-btn {
    background-color: #e74c3c; /* Red button */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}
.search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

/* Account Details Grid */
.account-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Retain the 1:2 ratio */
    gap: 25px;
    margin-bottom: 25px;
}
.panel-shadow {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid; /* For a nice accent color */
}

/* Specific Panel Styles */
.summary-box {
    border-left-color: #f39c12; /* Orange accent */
}
.amount-details-box {
    border-left-color: #3498db; /* Blue accent */
}

.summary-box h4, .amount-details-box h4 {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-top: 0;
    color: #34495e;
    font-size: 1.1em;
}

/* Line Items */
.summary-line, .amount-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0; /* Lighter separator */
    font-size: 1.1em;
    align-items: center;
}
.summary-line:last-child, .amount-line:last-child {
    border-bottom: none;
}
.summary-line .label, .amount-line .label {
    font-weight: 600;
    color: #7f8c8d;
}
.summary-line .value {
    font-weight: bold;
    color: #2c3e50;
}
.terms-cod { 
    color: #e74c3c; 
    font-size: 1.1em;
}

/* Amount Highlighting (Key Status Colors) */
.amount-line.unpaid .value { 
    color: #e74c3c; /* Red */
    font-weight: 700;
}
.amount-line.completed .value { 
    color: #27ae60; /* Green */
    font-weight: 700;
}
.amount-line.cancelled .value { 
    color: #f39c12; /* Orange/Amber */
    font-weight: 700;
}
.amount-line.partially-completed .value {
    color: #3498db; /* Blue */
    font-weight: 700;
}

/* Delivery Info Panel */
.delivery-info {
    text-align: center;
    background: #ecf0f1; /* Slightly different background for separation */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.delivery-info p {
    margin: 5px 0;
    font-size: 1.1em;
}
.print-link {
    margin-top: 15px;
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.print-link:hover {
    color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-panel-header, .account-details-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .date-range-form {
        flex-wrap: wrap;
        justify-content: center;
    }
    .tssxd-dashboard-content {
        padding: 15px;
    }
    .user-header-info {
        margin: -15px -15px 20px -15px;
    }
}

/* --- tssxd-orders-container Styling --- */

.tssxd-orders-container {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

.tssxd-orders-container h2 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Status Filter Navigation --- */

.tssxd-order-filters {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex; /* Links ko side-by-side rakhega */
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
}

.tssxd-order-filters li {
    margin-right: 15px;
    padding: 8px 0;
}

.tssxd-order-filters a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 3px 3px 0 0;
    transition: background-color 0.3s;
}

.tssxd-order-filters li.active a,
.tssxd-order-filters a:hover {
    background-color: #0073aa; /* WordPress Blue */
    color: #fff;
    border-bottom: 3px solid #005680;
}

/* --- Order List Table Styling --- */

.tssxd-order-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tssxd-order-list th,
.tssxd-order-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tssxd-order-list th {
    background-color: #eef;
    font-weight: bold;
    color: #333;
}

.tssxd-order-list tbody tr:hover {
    background-color: #f5f5f5;
}

.tssxd-order-list td .button {
    /* WooCommerce 'View' button ki styling */
    padding: 5px 10px;
    background-color: #5cb85c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.tssxd-order-list .no-orders {
    padding: 20px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
}