:root {
  --bg-main: #020617;
  --bg-card: rgba(15, 23, 42, 0.65);
  --border-soft: rgba(148, 163, 184, 0.2);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --primary: #0f766e;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(37, 99, 235, 0.12), transparent 40%),
    radial-gradient(1000px 500px at 80% 10%, rgba(15, 118, 110, 0.15), transparent 45%),
    var(--bg-main);
  color: var(--text-main);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px;
  overflow: hidden;
}

.order-page {
  width: 100%;
  max-width: 780px;
}

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 24px 24px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);

  transform: translateY(-20px);
  animation: cardFadeUp 0.8s ease-out both;
}

/* Header */
.order-header {
  text-align: center;
  margin-bottom: 16px;
}

.order-header-logo {
  width: 104px;
  margin-bottom: 6px;
}

/* Maintenance block */
.maintenance {
  margin-top: 12px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px dashed var(--border-soft);
  text-align: center;
}

.maintenance-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.maintenance-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* Pulse animation on SVG */
.maintenance-illustration circle {
  animation: softPulse 6s ease-in-out infinite;
}

.maintenance-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.maintenance-sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 16px;
}

/* Buttons */
.maintenance-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.maintenance-btn {
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease,
    background 0.2s ease;
}

.maintenance-btn.secondary {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-main);
}

.maintenance-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

/* Footer note */
.maintenance-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Animations ===== */
@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(-20px);
  }
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 14px;
  }

  .order-card {
    padding: 20px 18px;
    transform: translateY(-12px);
  }

  .order-header-logo {
    width: 92px;
  }

  .maintenance-title {
    font-size: 19px;
  }

  .maintenance-sub {
    font-size: 13.5px;
  }
}
