@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #09090b;
  color: #f4f4f5;
  min-height: 100vh;
}

.card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #a1a1aa; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: #09090b;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #f4f4f5;
  font-size: 15px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus { border-color: #7c3aed; }

.coin-btn {
  background: #09090b;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}
.coin-btn:hover { border-color: #7c3aed; color: #c4b5fd; }
.coin-btn.active { background: #4c1d95; border-color: #7c3aed; color: #fff; }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 24px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #3f3f46; }

.status-badge {
  display: inline-block;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  margin-top: 12px;
}
.status-pending    { background: #292524; color: #d97706; }
.status-confirming { background: #1e3a5f; color: #60a5fa; }
.status-confirmed  { background: #14532d; color: #4ade80; }
.status-expired    { background: #3b1f1f; color: #f87171; }

/* Nav */
nav { background: #18181b; border-bottom: 1px solid #27272a; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
nav .logo { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #a78bfa, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Utils */
.text-muted { color: #71717a; }
.divider { border: none; border-top: 1px solid #27272a; margin: 20px 0; }

/* Grid helpers */
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.gap-2 { gap: 8px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-1 { margin-bottom: 4px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-2xl { font-size: 24px; }
.font-bold { font-weight: 700; }
.font-mono { font-family: monospace; }
.break-all { word-break: break-all; }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }
.text-blue-400 { color: #60a5fa; }
.text-red-400 { color: #f87171; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.rounded-xl { border-radius: 12px; }
.p-4 { padding: 16px; }
.bg-gray-800 { background: #1f2937; }

/* Dashboard table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: #71717a; font-size: 12px; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid #27272a; }
.table td { padding: 12px; border-bottom: 1px solid #1f1f23; }
.table tr:last-child td { border-bottom: none; }
