.orders-reset * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.orders-section {
  background: linear-gradient(135deg, #0d122b 0%, #1a1f3c 100%);
  color: #fff;
  min-height: calc(100vh - 80px); /* بحسب ارتفاع الهيدر */
  padding: 140px 20px 160px; /* من الأعلى والأسفل */
}

.orders-container {
  width: 100%;
  max-width: 800px;
  background: rgba(26, 31, 60, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: auto;
}

.orders-header {
  background: rgba(11, 15, 41, 0.9);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.orders-header h1 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #4a9eff;
}

.orders-header p {
  color: #a0a9d0;
  font-size: 16px;
}

.orders-content {
  padding: 30px;
}

.order-card {
  background: #1a1f3c;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-right: 5px solid #4cc9f0;
}

.orders-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(74, 158, 255, 0.3);
}

.orders-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a9eff;
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.orders-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orders-row:last-child {
  border-bottom: none;
}

.orders-label {
  color: #a0a9d0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-value {
  font-weight: 600;
  text-align: left;
}

.orders-status {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.orders-status-waiting {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.orders-status-rejected {
  background: rgba(255, 0, 0, 0.15);
  color: #ff3333;
  font-weight: bold;
}


.orders-status-paid {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.orders-price {
  color: #28d193;
  font-size: 22px;
  font-weight: 700;
}

.orders-product-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

.orders-time {
  color: #ff9d6c;
}

.orders-message-box {
  background: rgba(11, 15, 41, 0.6);
  border-radius: 15px;
  padding: 20px;
  margin-top: 10px;
  border: 1px solid rgba(255, 157, 108, 0.2);
}

.orders-message-box h3 {
  color: #ff9d6c;
  margin-bottom: 10px;
  font-size: 18px;
}

.orders-message-content {
  background: rgba(255, 157, 108, 0.1);
  padding: 15px;
  border-radius: 10px;
  font-style: italic;
  color: #ffccb3;
}

.orders-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.orders-btn {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.orders-btn-primary {
  background: linear-gradient(135deg, #4a9eff 0%, #2a6fd0 100%);
  color: white;
}

.orders-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #a0a9d0;
}

.orders-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.orders-btn:active {
  transform: translateY(1px);
}

.orders-footer {
  text-align: center;
  padding: 20px;
  color: #a0a9d0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 20px;
}

@media (max-width: 600px) {
  .orders-content {
    padding: 20px 15px;
  }

  .orders-row {
    flex-direction: column;
    gap: 5px;
  }

  .orders-actions {
    flex-direction: column;
  }

  .orders-card h3 {
    font-size: 18px;
  }
}
.toggle-details-btn {
  background: transparent;
  border: none;
  color: #4cc9f0;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.toggle-details-btn:hover {
  text-decoration: underline;
}

/* تنسيقات التقسيم */
.orders-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding: 15px;
}

.orders-pagination .orders-btn {
  padding: 10px 20px;
  background: rgba(26, 31, 60, 0.8);
  color: #fff;
  border: 1px solid #4cc9f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orders-pagination .orders-btn:hover:not(:disabled) {
  background: #4cc9f0;
  color: #0d122b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(76, 201, 240, 0.3);
}

.orders-pagination .orders-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  color: #a0a9d0;
  font-weight: 500;
  padding: 0 15px;
}

/* تنسيقات رأس البطاقة */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

@media (max-width: 600px) {
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .order-summary {
    width: 100%;
    justify-content: space-between;
  }
}