/* Order History Styles */
.order-history-item {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.order-history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.order-items {
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
}

.order-items > div {
  padding: 5px 0;
  border-bottom: 1px dashed #eee;
}

.order-items > div:last-child {
  border-bottom: none;
}

/* Order Confirmation Styles */
.order-confirmation {
  text-align: center;
  padding: 20px;
  animation: fadeIn 0.5s ease;
}

.order-confirmation .alert {
  padding: 20px;
  margin-bottom: 20px;
}

.order-confirmation h4 {
  margin-bottom: 15px;
  color: #155724;
}

/* Loading Spinner */
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.2em;
}

/* Error Message */
#checkout-error {
  margin-bottom: 20px;
  animation: shake 0.5s ease;
}

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

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

