/* Maximalist order styles */
#recent-orders-section {
  margin: 0 !important;
  padding: 0 !important;
}

.orders-container {
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: 10px;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  margin-bottom: 10px !important;
  color: #5c4b3b;
}

.section-title h2 {
  font-size: 1.6rem;
  color: #5c4b3b;
  margin-bottom: 5px;
  font-weight: 600;
}

.section-title p {
  font-size: 1rem;
  color: #7d6b57;
  margin-bottom: 10px;
}

/* Maximalist grid layout */
.orders-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.order-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f7f4 100%);
  border: 2px solid #dc3545;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.order-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #8b7355, #5c4b3b);
}

.order-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  border-color: #8b7355;
}

.order-info {
  flex: 1;
  margin-bottom: 10px;
}

.order-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5c4b3b;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Order details grid */
.order-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 15px;
}

.order-meta {
  font-size: 0.95rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.order-meta::before {
  content: '•';
  color: #8b7355;
  font-size: 1.2rem;
  line-height: 1;
}

.order-progress {
  align-self: center;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  background-color: #dc3545 !important;
  color: white !important;
}

/* Status colors with gradients */
.order-progress[style*="#6c757d"] {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: white;
}

.order-progress[style*="#17a2b8"] {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
}

.order-progress[style*="#ffc107"] {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #212529;
}

.order-progress[style*="#007bff"] {
  background: linear-gradient(135deg, #007bff, #0069d9);
  color: white;
}

.order-progress[style*="#28a745"] {
  background: linear-gradient(135deg, #28a745, #218838);
  color: white;
}

.order-progress[style*="#dc3545"] {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .orders-list-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .order-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .order-item {
    padding: 12px;
  }
  
  .orders-container {
    padding: 12px;
  }
}

/* Loading state */
.loading-orders {
  text-align: center;
  padding: 60px 20px;
  color: #8b7355;
  font-size: 1.1rem;
  font-weight: 500;
}

/* No orders state */
.no-orders {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f7f4 100%);
  border: 2px dashed #e8e4dc;
  border-radius: 16px;
  margin-top: 20px;
}
