@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    background: linear-gradient(135deg, #f9f6f2, #e3d2bf);
    font-family: 'Montserrat', sans-serif;
    color: #5a443b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    flex-grow: 1;
    text-align: center;
    position: relative;
  }

  header {
    margin-bottom: 40px;
  }

  h1 {
    font-size: 3rem;
    color: #8c6046;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease forwards;
  }

  h2 {
    font-weight: 600;
    font-size: 1.5rem;
    color: #ac7f50;
    margin: 10px 0 40px;
    animation: fadeInDown 1.2s ease forwards;
  }

  .thankyou-icon {
    font-size: 5rem;
    color: #d4b783;
    animation: bounceIn 1s ease forwards;
    margin-bottom: 20px;
  }

  .info-box {
    background-color: #fff6e8;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 8px 15px rgba(140, 96, 70, 0.25);
    text-align: left;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 1.3s ease forwards;
  }

  .info-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    color: #7a5735;
    font-size: 1.3rem;
  }

  .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #6b4e3c;
  }

  .info-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d6bfa7;
    padding-bottom: 6px;
  }

  .info-list li:last-child {
    border: none;
  }

  .track-order-btn {
    background: #8c6046;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(140, 96, 70, 0.35);
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: fadeInUp 1.5s ease forwards;
  }

  .track-order-btn:hover {
    background: #6a4330;
    transform: scale(1.05);
  }

  /* Tracking section styles */
  #tracking-section {
    max-width: 700px;
    margin: 20px auto 0;
    background: #fff6e8;
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(140, 96, 70, 0.25);
    padding: 30px 35px;
    text-align: left;
    display: none;
    animation: fadeInUp 1s ease forwards;
  }

  #tracking-section h3 {
    color: #7a5735;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
  }

  #orderNumberInput {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 10px;
    border: 1.5px solid #d6bfa7;
    margin-bottom: 15px;
    outline-color: #8c6046;
    transition: border-color 0.3s ease;
  }
  #orderNumberInput:focus {
    border-color: #764ba2;
  }
  
  #trackBtn {
    background: #764ba2;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(118, 75, 162, 0.4);
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  #trackBtn:hover {
    background: #5e397b;
    transform: scale(1.05);
  }

  #trackingResult {
    margin-top: 25px;
    font-size: 1rem;
    color: #5a443b;
  }

  /* Progress tracker */
  .progress-container {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .progress-container::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: #d6bfa7;
    border-radius: 4px;
    z-index: 0;
  }

  .step {
    z-index: 1;
    background: #e1caa5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.3s;
    flex-shrink: 0;
  }

  .step.completed {
    background: #764ba2;
  }

  .step-label {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #705738;
    width: 80px;
    text-align: center;
  }

  .step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
  }

  /* Animations */
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: scale(0.3);
    }
    50% {
      opacity: 1;
      transform: scale(1.05);
    }
    70% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1);
    }
  }

  /* Confetti effect */
  .confetti {
    position: fixed;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background-color: #d4b783;
    opacity: 0.9;
    z-index: 9999;
    border-radius: 3px;
    animation-timing-function: cubic-bezier(0.1, 0.5, 0.5, 1);
  }