.wc-timeline-container {
    max-width: 800px;
    margin: 40px auto;
    direction: rtl;
  }
  
  .wc-search-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
  }
  
  .wc-search-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
  }
  
  .wc-search-icon svg {
    width: 100%;
    height: 100%;
  }
  
  .wc-search-icon .wc-magnifier {
    animation: searchBounce 2s infinite;
  }
  
  @keyframes searchBounce {
    0%,
    100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-10px);
    }
  }
  
  .wc-search-dots circle {
    animation: dotPulse 1.5s infinite;
  }
  
  .wc-search-dots circle:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .wc-search-dots circle:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes dotPulse {
    0% {
      opacity: 0.3;
    }
  
    50% {
      opacity: 1;
    }
  
    100% {
      opacity: 0.3;
    }
  }
  
  .wc-search-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .wc-search-tab {
    padding: 12px 25px;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .wc-search-tab.active {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
  }
  
  .wc-search-tab:hover {
    background: #f0f0f0;
  }
  
  .wc-search-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
  }
  
  .wc-search-input {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 20px;
  }
  
  .wc-search-input:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  }
  
  .wc-search-button {
    width: 200px;
    padding: 15px 25px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
  }
  
  .wc-search-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
  }
  
  .wc-search-button.loading {
    padding-right: 45px;
    position: relative;
  }
  
  .wc-search-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: buttonSpin 1s ease-in-out infinite;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  @keyframes buttonSpin {
    0% {
      transform: translateY(-50%) rotate(0deg);
    }
    100% {
      transform: translateY(-50%) rotate(360deg);
    }
  }
  
  .wc-orders-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .wc-order-number {
    color: white;
    width: 32px;
    height: 32px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .wc-timeline {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .wc-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
  }
  
  .wc-timeline-header h3 {
    color: #4caf50;
    margin: 0 0 10px 0;
    font-size: 1.5em;
  }
  
  .wc-timeline-header .wc-total-price {
    color: #4caf50;
    font-size: 1.2em;
    font-weight: bold;
  }
  
  .wc-address-details {
    display: grid;
    gap: 10px;
    margin-top: 15px;
  }
  
  .wc-address-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
  }
  
  .wc-address-icon {
    width: 20px;
    height: 20px;
    fill: #4caf50;
  }
  
  .wc-timeline-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 0 40px;
  }
  
  .wc-timeline-line {
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
  }
  
  .wc-step {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .wc-step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .wc-step-icon svg {
    width: 24px;
    height: 24px;
    fill: #999;
  }
  
  .wc-step.active .wc-step-icon,
  .wc-step.completed .wc-step-icon {
    border-color: #4caf50;
    background: #4caf50;
  }
  
  .wc-step.active .wc-step-icon svg,
  .wc-step.completed .wc-step-icon svg {
    fill: white;
  }
  
  .wc-step-label {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
  }
  
  .wc-step.active .wc-step-label {
    color: #4caf50;
    font-weight: bold;
  }
  
  .wc-order-details {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
  }
  
  .wc-order-items {
    margin: 20px 0;
  }
  
  .wc-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
  }
  
  .wc-order-item:last-child {
    border-bottom: none;
  }
  
  .wc-shipping-cost {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
    color: #666;
  }
  
  .wc-tracking-number {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    color: #2e7d32;
  }
  
  .wc-tracking-button {
    display: block;
    width: auto;
    margin: 20px auto 0;
    padding: 12px 25px;
    background: #2196f3 !important;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
  }
  
  .wc-tracking-button:hover {
    background: #219cf3;
    transform: translateY(-2px);
    color: white;
  }
  
  .wc-tracking-attachment {
    background: #ede7f6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    color: #311b92;
  }
  
  .wc-tracking-attachment a {
    color: #311b92;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  
  @media (max-width: 768px) {
    .wc-timeline-container {
      margin: 20px 15px;
    }
  
    .wc-search-tabs {
      flex-direction: column;
      align-items: stretch;
    }
  
    .wc-search-tab {
      text-align: center;
    }
  
    .wc-timeline {
      padding: 15px;
    }
  
    .wc-timeline-header {
      flex-direction: column;
      gap: 15px;
    }
  
    .wc-timeline-steps {
      padding: 0 20px;
    }
  
    .wc-step-label {
      font-size: 11px;
    }
  
    .wc-address-details {
      grid-template-columns: 1fr;
    }
  
    .wc-tracking-button {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .wc-search-input {
      font-size: 14px;
    }
  
    .wc-search-button {
      width: 100%;
    }
  }
  
  .wc-search-icon svg use {
    fill: #4caf50;
  }
  
  .wc-address-icon svg use {
    fill: #4caf50;
  }
  
  .wc-step-icon svg use {
    fill: #999;
  }
  
  .wc-step.active .wc-step-icon svg use,
  .wc-step.completed .wc-step-icon svg use {
    fill: white;
  }
  
  .wc-search-icon svg {
    display: block;
  }
  
  .wc-search-icon .wc-magnifier circle {
    fill: none;
    stroke: #4caf50;
    stroke-width: 8;
  }
  
  .wc-search-icon .wc-magnifier line {
    stroke: #4caf50;
    stroke-width: 8;
    stroke-linecap: round;
  }
  
  .wc-search-icon .wc-search-dots {
    transform: translate(60, 160);
  }
  
  .wc-search-icon .wc-search-dots circle {
    fill: #4caf50;
  }
  
  .wc-search-icon g[opacity="0.3"] line,
  .wc-search-icon g[opacity="0.3"] circle {
    stroke: #4caf50;
    stroke-width: 2;
  }
  
  .wc-address-icon svg {
    display: block;
  }
  
  .wc-step-icon svg {
    display: block;
  }
  
  .wc-step-icon svg path {
    fill: currentColor;
  }
  
  .wc-tracking-button.tipax {
    background-color: #ff5722 !important;
  }
  
  .wc-tracking-button.post {
    background-color: #2196f3 !important;
    margin-top: 20px;
    width: 100% !important;
  }
  
  .wc-tracking-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  
  /* رفع مشکل سفید نبودن svg */
  .wc-timeline .wc-step.active svg,
  .wc-timeline .wc-step.completed svg,
  .wc-step.active .wc-step-icon svg,
  .wc-step.completed .wc-step-icon svg {
    fill: #ffffff !important;
    color: #ffffff !important;
    filter: brightness(0) invert(1) !important;
  }
  
  /* تمام المنت‌های SVG */
  .wc-step.active svg *,
  .wc-step.completed svg * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
  }
  
  /* سازگاری با use */
  .wc-step.active use,
  .wc-step.completed use {
    fill: #ffffff !important;
  }
  
  /* جلوگیری از fill none */
  .wc-step.active svg *[fill="none"],
  .wc-step.completed svg *[fill="none"] {
    fill: none !important;
  }