/* Track Order Page Styles */

/* Hero Section */
.track-order-hero {
  background: url("/assets/sarathi_app/images/assets/HeroSection.jpg") center/cover no-repeat;
  color: white;
  padding: 2.5rem 0;
  overflow: hidden;
  margin-inline: 3rem;
  margin-block: 2rem;
  border-radius: 2rem;
}

.track-order-container {
  margin: 0 auto;
  padding: 0px 350px;
}

.track-order-hero-left {
  padding-left: 20px;
}

.track-order-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-order-form-header .track-order-main {
  display: flex;
  font-weight: 500;
  color: #0B243F;
  justify-content: space-between;
  border-bottom: 3px solid #FF3131;
}

.track-order-form-header .track-order-main span {
  font-weight: 500;
  padding-left: 6px;
  color: #FF3131;
}

.track-order-form-header .track-order-sec-main {
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
}

.track-order-form-header .track-order-sec-main span {
  color: #FF3131;
}

.track-order-shipping-form {
  display: flex;
  gap: 4rem;
  background: white;
  color: #333;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  margin: 0 auto;
}

.track-order-tracking-container {
  display: flex;
  gap: 5rem;
  padding-top: 1rem;
}

.track-order-tracking-label {
  font-weight: 400;
  font-size: 0.98rem;
  color: #666666;
  padding-top: 20px;
}

.track-order-tracking-label span {
  color: #FF3131;
}

.track-order-order-header h1 {
  border-bottom: 3px solid #F04A23;
  display: inline-block;
  font-weight: 500;
}

.track-order-order-header span {
  color: #F04A23;
  font-weight: 500;
}

.track-order-order-container {
  display: flex;
  padding-top: 1rem;
}

.track-order-order-details {
  padding-top: 10px;
  display: flex;
  gap: 7rem;
}

.track-order-sender-header {
  color: #FF3131;
  font-weight: 500;
  font-size: 1.8rem;
}

.track-order-sender-information h1 {
  color: #0B233F;
  font-size: 1rem;
  font-weight: 500;
}

.track-order-sender-information span {
  color: #666666;
  font-weight: 400;
}

.track-order-receiver-header {
  color: #FF3131;
  font-weight: 500;
  font-size: 1.8rem;
}

.track-order-receiver-information h1 {
  color: #0B233F;
  font-size: 1rem;
  font-weight: 500;
}

.track-order-receiver-information span {
  color: #666666;
  font-weight: 400;
}

.track-order-orderitem-header {
  color: #FF3131;
  font-weight: 500;
  font-size: 1.8rem;
}

.track-order-orderitem-information h1 {
  color: #0B233F;
  font-size: 1rem;
  font-weight: 500;
}

.track-order-orderitem-information span {
  color: #666666;
  font-weight: 400;
}

.track-order-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  display: flex;
  gap: 20px;
  align-items: center;
}

.track-order-form-input {
  width: 100%;
  padding: 0.8rem 6rem 0.75rem 0.8rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.track-order-form-input::placeholder {
  color: #CACACA;
}

.track-order-form-input:focus {
  outline: none;
  border-color: #F04A23;
}

.track-order-primary-btn {
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-size: medium;
  font-weight: 500;
  background-color: #0B243F;
  color: white;
  border: none;
  cursor: pointer;
}

.track-order-primary-btn:hover {
  background-color: #0b396b;
  transition: 0.4s;
}

.track-order-orderstatus {
  display: flex;
  gap: 30px;
}

.track-order-orderstatus-label {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  gap: 3.4rem;
  text-align: right;
}

.track-order-orderstatus-label h1 {
  font-size: 1rem;
  font-weight: 400;
}

.track-order-orderprogess {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  height: 350px;
}

.track-order-progress-bar {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  background-color: #d3d3d3;
  border-radius: 4px;
  z-index: 0;
}

.track-order-progress-bar-fill {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 0%;
  background-color: #1C4644;
  border-radius: 4px;
  z-index: 1;
  transition: height 0.4s ease;
}

.track-order-order-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.track-order-outer-circle {
  background-color: #d3d3d3;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.track-order-inner-circle {
  background-color: #d3d3d3;
  height: 35px;
  width: 35px;
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.track-order-order-circle.active .track-order-outer-circle,
.track-order-order-circle.active .track-order-inner-circle {
  background-color: #0f2b46;
}

.track-order-inner-circle i {
  color: white;
  font-size: medium;
}

/* How It Works */
.track-order-how-it-works {
  padding: 6rem 1rem;
  background: #f0f0f0;
}

.track-order-section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
}

.track-order-text-red {
  color: #F04A23;
}

.track-order-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
}

.track-order-step {
  background: #fff;
  border-radius: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  max-width: 22rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-order-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.track-order-step-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}

.track-order-step-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.track-order-step-title span {
  color: #F04A23;
  font-weight: 600;
}

.track-order-step-desc {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Testimonials */
.track-order-review-wrapper {
  position: relative;
  overflow: visible;
}

.track-order-review {
  position: relative;
  padding: 4rem 2rem;
  z-index: 1;
  min-height: 400px;
}

.track-order-review-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.track-order-review-img {
  max-width: 320px;
  height: 22rem;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.track-order-review-content {
  flex: 1;
  min-width: 280px;
}

.track-order-review-header {
  margin-bottom: 1rem;
}

.track-order-review-headertxt {
  font-size: 2rem;
  font-weight: 500;
  border-bottom: 3px solid #F04A23;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.track-order-review-headertxt span {
  color: #F04A23;
  font-weight: 600;
}

.track-order-review-quote {
  margin: 1rem 0;
  position: relative;
}

.track-order-review-quote i {
  color: #F04A23;
  font-size: 2rem;
  margin-right: 0.5rem;
}

.track-order-review-quote p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-top: 0.5rem;
}

.track-order-review-name {
  margin-top: 1.5rem;
}

.track-order-review-name h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.track-order-review-name p {
  font-size: 0.95rem;
  color: #666;
  margin: 0.2rem 0 0;
}

/* Background */
.track-order-bg-temple {
  position: absolute;
  left: 0;
  bottom: -75%;
  width: 100%;
  height: 113%;
  opacity: 0.15;
  z-index: 0;
}

/* Responsive Design */
@media (min-width: 1200px) {
  .track-order-hero {
    margin-inline: 3rem;
    padding: 2.5rem 0;
  }
}

@media (width: 375px) and (height: 667px) {
  .track-order-container {
  margin: 0 auto;
  padding: 0px 0px !important;
}


}


@media (min-width: 769px) and (max-width: 1199px) {
  .track-order-container {
    padding: 0 2rem;
  }

  .track-order-hero {
    margin-inline: 1rem;
    padding: 2rem;
  }

  .track-order-shipping-form {
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .track-order-tracking-container {
    flex-direction: column;
    gap: 1rem;
  }

  .track-order-input-wrapper {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .track-order-form-input {
    padding: 0.8rem 1rem;
  }

  .track-order-primary-btn {
    width: 100%;
    text-align: center;
  }

  .track-order-order-details {
    flex-direction: column;
    gap: 2rem;
  }

  .track-order-orderstatus {
    flex-direction: row;
    margin-top: 1rem;
    gap: 16px;
    align-items: flex-start;
  }

  .track-order-orderstatus-label {
    flex-direction: column;
    gap: 2.8rem;
    text-align: left;
    margin-top: 12px;
    flex: 1;
  }

  .track-order-orderstatus-label h1 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .track-order-orderprogess {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 22px;
  }

  .track-order-progress-bar {
    top: 25px;
    bottom: 25px;
    left: 50%;
    right: auto;
    height: auto;
    width: 6px;
    transform: translateX(-50%);
  }

  .track-order-progress-bar-fill {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    height: 0%;
    width: 6px;
  }
}

@media (max-width: 768px) {
  .track-order-container {
    padding: 0;
  }

  .track-order-hero {
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 0;
    background: none;
    margin-inline: 0;
  }

  .track-order-shipping-form {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }

  .track-order-hero-left {
    padding-left: 0;
  }

  .track-order-form-header {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .track-order-form-header .track-order-main {
    font-size: 1.1rem;
  }

  .track-order-input-wrapper {
    gap: 0.5rem;
    align-items: stretch;
    flex-direction: column;
  }

  .track-order-form-input {
    width: 100%;
    padding: 0.7rem 1rem;
  }

  .track-order-primary-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .track-order-tracking-container {
    flex-direction: column;
    gap: 1rem;
  }

  .track-order-order-details {
    flex-direction: column;
    gap: 1.5rem;
  }

  .track-order-orderstatus {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 0.5rem;
    align-items: flex-start;
  }

  .track-order-orderstatus-label {
    flex-direction: column;
    gap: 2.6rem;
    text-align: left;
    margin-top: 12px;
    flex: 1;
  }

  .track-order-orderstatus-label h1 {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .track-order-orderprogess {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: auto;
  }

  .track-order-progress-bar {
    top: 25px;
    bottom: 25px;
    left: 50%;
    right: auto;
    height: auto;
    width: 6px;
    transform: translateX(-50%);
  }

  .track-order-progress-bar-fill {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    height: 0%;
    width: 6px;
  }

  .track-order-outer-circle {
    height: 40px;
    width: 40px;
  }

  .track-order-inner-circle {
    height: 25px;
    width: 25px;
    border: 2px solid white;
  }

  .track-order-inner-circle i {
    font-size: 0.8rem;
  }

  .track-order-form-header .track-order-sec-main {
    display: none;
  }

  .track-order-how-it-works {
    padding: 2rem 1rem;
  }

  .track-order-steps {
    gap: 2rem;
  }

  .track-order-review-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .track-order-review-img {
    display: none;
  }

  .track-order-review-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .track-order-form-header .track-order-main {
    font-size: 1rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .track-order-order-header h1 {
    font-size: 1.5rem;
  }

  .track-order-orderstatus-label h1 {
    font-size: 0.75rem;
  }

  .track-order-orderstatus-label {
    gap: 2.3rem;
  }

  .track-order-sender-header,
  .track-order-receiver-header,
  .track-order-orderitem-header {
    font-size: 1.2rem;
  }

  .track-order-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .track-order-step {
    max-width: 100%;
  }

  .track-order-bg-temple {
    display: none;
  }
}

@media (width: 414px) and (height: 896px) {
  .track-order-container {
    margin: 0 auto;
    padding: 0px 0px !important;
  }

}