.order {
  background: #fff;
  padding: 80px 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.order__container {
  width: 85%;
  margin: 0 auto;
  max-width: 1000px;
}

.order__hero {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeIn 1s ease-out;
}

.order__hero-title {
  font-size: 40px;
  color: #2f3542;
  font-weight: bold;
  margin-bottom: 10px;
}

.order__hero-text {
  font-size: 18px;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
}

.order__border {
  height: 3px;
  width: 70px;
  background: #e24a4a;
  margin: 15px auto;
}

/* Progress Bar */
.order__progress {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.order__progress-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.order__progress-step span {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.order__progress-bar {
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  position: relative;
}

.order__progress-fill {
  height: 100%;
  background: #e24a4a;
  border-radius: 2px;
  width: 0;
  transition: width 0.5s ease;
}

.order__progress-step--active .order__progress-fill {
  width: 100%;
}

/* Cart Table */
.order__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  perspective: 1000px;
}

.order__table th,
.order__table td {
  padding: 15px;
  text-align: center;
  font-size: 16px;
  color: #333;
}

.order__table th {
  background: #e24a4a;
  color: #fff;
  font-weight: bold;
}

.order__table tr {
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform-style: preserve-3d;
}

.order__table tr:not(:first-child):hover {
  transform: rotateX(10deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.order__table tr.order__table-row--removing {
  animation: shake 0.3s ease-out forwards;
}

.order__table img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.order__table .btn-delete {
  color: #e24a4a;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.order__table .btn-delete:hover {
  color: #6c5ce7;
}

/* Form Styling (Glassmorphism) */
.order__form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideIn 0.8s ease-out;
}

.order__form legend {
  font-size: 24px;
  color: #2f3542;
  margin-bottom: 20px;
  font-weight: bold;
}

.order__form-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.order__form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.order__form-input:focus {
  border-color: #e24a4a;
  outline: none;
}

.order__form-submit {
  background: #e24a4a;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  width: 102%;
  /* animation: pulse 2s infinite ease-in-out; */
  transition: background 0.3s ease, transform 0.3s ease;
}

.order__form-submit:hover {
  background: #6c5ce7;
  transform: scale(1.05);
}

/* Confirmation Message */
.order__confirmation {
  display: none;
  text-align: center;
  font-size: 18px;
  color: #28a745;
  font-weight: bold;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

/* Particle Animation (Food Icons) */
.order__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.order__particle {
  position: absolute;
  font-size: 20px;
  color: #e24a4a;
  opacity: 0.5;
  animation: float 10s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}




@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(226, 74, 74, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(226, 74, 74, 0.8);
  }
}

/* Back to Top Button */
.order__back-to-top {
  position: fixed;
  bottom: 20px;
  right: 60px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: #e24a4a;
  color: #fff;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}



/* Responsive Design */
@media (max-width: 768px) {
  .order__container {
    width: 90%;
  }

  .order__hero-title {
    font-size: 32px;
  }

  .order__hero-text {
    font-size: 16px;
  }

  .order__table th,
  .order__table td {
    font-size: 14px;
    padding: 10px;
  }

  .order__table img {
    width: 40px;
    height: 40px;
  }

  .order__form {
    padding: 20px;
  }

  .order__contact-btn {
    bottom: 70px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .order__back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .order__hero-title {
    font-size: 24px;
  }

  .order__table th,
  .order__table td {
    font-size: 12px;
    padding: 8px;
  }

  .order__form {
    padding: 15px;
  }

  .order__progress {
    flex-direction: column;
    gap: 10px;
  }
}
