/* Tradaly Dashboard — geteilte Styles */

:root {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; background: #070810; }
body {
  background: #070810;
  color: #F4F4F0;
  min-height: 100vh;
  margin: 0;
}

h1, h2, h3, .font-tr { letter-spacing: -0.035em; }

/* Brand gradients / glows */
.bg-tradaly-glow {
  background:
    radial-gradient(ellipse 90% 70% at 30% 20%, rgba(82,69,194,0.20), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 90%, rgba(99,204,185,0.10), transparent 60%);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(82,69,194,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,69,194,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem; border-radius: 9999px;
  background: linear-gradient(135deg, #5245C2, #6B5DD8);
  color: white; font-weight: 600; font-size: 15px;
  box-shadow: 0 16px 40px -10px rgba(82,69,194,0.6), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all .2s ease;
  cursor: pointer; border: none;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -10px rgba(82,69,194,0.8); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem; border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  color: #F4F4F0;
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 500; font-size: 15px;
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }

.btn-danger {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.2rem; border-radius: 9999px;
  background: rgba(225,107,107,0.08);
  color: #E16B6B;
  border: 1px solid rgba(225,107,107,0.25);
  font-weight: 600; font-size: 14px;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-danger:hover { background: rgba(225,107,107,0.15); border-color: rgba(225,107,107,0.45); }
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }

/* Cards */
.card {
  background: #10131C;
  border: 1px solid #252937;
  border-radius: 16px;
}
.card-strong {
  background: linear-gradient(180deg, rgba(82,69,194,0.08), transparent), #10131C;
  border: 1px solid rgba(82,69,194,0.3);
  border-radius: 16px;
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pill-active { background: rgba(99,204,185,0.12); color: #63CCB9; border: 1px solid rgba(99,204,185,0.3); }
.pill-paused { background: rgba(240,185,82,0.12); color: #F0B952; border: 1px solid rgba(240,185,82,0.3); }
.pill-revoked { background: rgba(225,107,107,0.12); color: #E16B6B; border: 1px solid rgba(225,107,107,0.3); }
.pill-unbound { background: rgba(138,143,157,0.12); color: #8A8F9D; border: 1px solid rgba(138,143,157,0.3); }

/* Inputs */
.input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #10131C;
  border: 1px solid #252937;
  border-radius: 12px;
  color: #F4F4F0;
  font-size: 15px;
  transition: border-color .15s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.input:focus {
  outline: none;
  border-color: #5245C2;
  box-shadow: 0 0 0 3px rgba(82,69,194,0.18);
}
.input::placeholder { color: #5A5F6D; }

/* Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.dot-live { animation: pulse-dot 2.4s ease-in-out infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 0.9s linear infinite; }

/* Spinner */
.spinner {
  display: inline-block; width: 32px; height: 32px;
  border: 2px solid #252937; border-top-color: #6B5DD8;
  border-radius: 50%; animation: spin 0.9s linear infinite;
}

/* Mono */
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Setup steps */
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  color: #6B5DD8; letter-spacing: 0.14em;
}
