/* --- Sticky Order Status Bar (Floating Card) --- */
.order-status-bar {
  position: fixed;
  bottom: 30px;
  /* Floating above bottom */
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  /* Start hidden below */
  width: 90%;
  max-width: 500px;
  /* Compact card width */
  background: #FFFFFF;
  color: #181211;
  /* Dark text for contrast on white */
  padding: 12px 20px;
  border-radius: 50px;
  /* Pill shape/Rounded corners */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  /* Strong elevation */
  z-index: 9998;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy pop-up */
}

/* Active State to slide up */
.order-status-bar.active {
  transform: translateX(-50%) translateY(0);
}

.status-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.order-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9CA3AF;
  /* Gray-400 */
  font-weight: 700;
}

.order-number {
  font-size: 16px;
  font-weight: 800;
  color: #181211;
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFF7ED;
  /* Orange-50 (Lightest Orange) */
  border-radius: 99px;
  border: 1px solid #FFEDD5;
  /* Orange-100 */
}

.status-icon {
  font-size: 18px;
  color: #EA580C;
  /* Orange-600 */
}

.status-text {
  font-size: 14px;
  font-weight: 700;
  color: #C2410C;
  /* Orange-700 */
}

/* View Details Button */
.view-details-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F97316;
  /* Brand Orange */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  flex-shrink: 0;
}

.view-details-arrow:hover {
  background: #EA580C;
  /* Darker Orange */
  transform: scale(1.1);
}

.view-details-arrow span {
  font-size: 20px;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .order-status-bar {
    width: 95%;
    bottom: 20px;
    padding: 10px 16px;
  }

  .status-text {
    font-size: 13px;
  }
}