/* Wrapper */
.order-tracker-card {
  max-width: 45%;
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Heading */
.order-tracker-card h2 {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
}

/* Sub text */
.subtext {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}

/* Input group */
.input-group {
  display: flex;
  gap: 12px;
}

/* Input */
.input-group input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 15px;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.4);
}

.input-group input:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

/* Button */
.input-group button {
  min-width: 120px;
  border-radius: 12px;
  background: #00a1c4;
  color: #fff;
  font-size: 15px !important;
  cursor: pointer;
  border: none;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}

.input-group button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.15);
}

.input-group button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  position: absolute;
  inset: 0;
  margin: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Results */
#results {
  margin-top: 26px;
}

/* Order card */
.order-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.order-item strong {
  color: #fff;
  font-size: 15px;
}

.order-item small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.6);
}

/* Status pill */
.status {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.status.Delivered {
  background: rgba(0, 200, 120, 0.2);
  color: #4dff9d;
}

.status.InTransit {
  background: rgba(255, 200, 0, 0.2);
  color: #ffd24d;
}

/* Tracking link */
.track-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
}

.order{color:white;}


.info-inside {
    width: 49%;
    display: inline-grid;
    justify-content: space-between;
}

/* =========================
   Tablet (max-width: 991px)
========================= */
@media (max-width: 991px) {
  .order-tracker-card {
    max-width: 90%;
    padding: 28px 24px;
  }

  .order-tracker-card h2 {
    font-size: 24px;
  }

  .subtext {
    font-size: 14px;
  }

  .input-group {
    gap: 10px;
  }

  .input-group button {
    min-width: 110px;
    font-size: 13px;
  }
}

/* =========================
   Mobile (max-width: 600px)
========================= */
@media (max-width: 600px) {
  .order-tracker-card {
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .order-tracker-card h2 {
    font-size: 22px;
    text-align: center;
  }

  .subtext {
    font-size: 13px;
    text-align: center;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group input {
    width: 100%;
    font-size: 14px;
    padding: 15px 14px;
  }

  .input-group button {
    width: 100%;
    min-width: unset;
    padding: 12px 14px;
    font-size: 14px !important;
  }

  #results {
    margin-top: 22px;
  }

  .order-item {
    padding: 14px;
  }

  .order-item strong {
    font-size: 14px;
  }

  .order-item small {
    font-size: 12px;
  }

  .status {
    font-size: 11px;
    padding: 5px 12px;
  }

  .track-link {
    font-size: 12px;
  }
}

