/* Order Confirmation */
.confirmation-box {
  max-width: 800px;
  margin: 50px auto;
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #28a745;
  color: white;
  font-size: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.confirmation-box h2 {
  color: #333;
  margin-bottom: 15px;
}

.confirmation-box > p {
  color: #666;
  margin-bottom: 40px;
}

#order-details {
  text-align: left;
  margin: 40px 0;
}

.order-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #dee2e6;
}

.info-row:last-child {
  border-bottom: none;
}

.status-badge {
  background: #ffc107;
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.total-amount {
  font-size: 1.3rem;
  font-weight: bold;
  color: #007bff;
}

.order-items-list {
  margin: 30px 0;
}

.order-items-list h3 {
  margin-bottom: 20px;
  color: #333;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 10px;
}

.order-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.item-info {
  flex: 1;
}

.item-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
}

.item-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.item-price {
  font-weight: bold;
  color: #007bff;
}

.shipping-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-top: 30px;
}

.shipping-info h3 {
  margin: 0 0 15px 0;
}

.shipping-info pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  color: #333;
}

.actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #545b62;
}

/* Orders List */
.order-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.order-header h3 {
  margin: 0 0 5px 0;
  color: #333;
}

.order-date {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.order-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-total {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-total span:first-child {
  color: #666;
  font-size: 0.9rem;
}

.order-total .amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

.btn-view {
  padding: 10px 25px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-view:hover {
  background: #0056b3;
}

.empty-orders {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 8px;
}

.empty-orders p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

/* Status badge colors */
.status-badge.pending {
  background: #ffc107;
  color: #000;
}

.status-badge.confirmed {
  background: #17a2b8;
  color: white;
}

.status-badge.shipped {
  background: #007bff;
  color: white;
}

.status-badge.delivered {
  background: #28a745;
  color: white;
}