/* TML Queue preview: a stand-in for FiveM's connecting screen with the queue card in it. */
@font-face { font-family: Inter; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  color: #f0f0f0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(126, 34, 206, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(99, 102, 241, 0.16), transparent 70%),
    #0b0b12;
  display: grid; place-items: center;
  padding: 16px;
}

.connect { width: min(600px, 100%); display: flex; flex-direction: column; gap: 14px; }
.server-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #a0a0b0; }
.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: #c084fc;
  animation: spin 0.9s linear infinite;
}

.card {
  padding: 24px 28px;
  border-radius: 12px;
  background: rgba(22, 22, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  min-height: 300px;
}
.columns { display: flex; gap: 14px; align-items: center; }
.column { flex: 1; min-width: 0; }

.tb { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.tb.size-large { font-size: 26px; line-height: 1.2; }
.tb.size-medium { font-size: 19px; }
.tb.bold { font-weight: 700; }
.tb.subtle { color: #a0a0b0; }
.sp-none { margin-top: 0; }
.sp-default { margin-top: 8px; }
.sp-medium { margin-top: 14px; }
.sp-large { margin-top: 22px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; font-size: 15px; }
.fact-title { color: #a0a0b0; }
.fact-value { font-weight: 700; font-variant-numeric: tabular-nums; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.action {
  font: inherit; font-size: 14px; font-weight: 600; color: #f0f0f0; cursor: default;
  padding: 9px 18px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}

.note { font-size: 12px; color: #7c7c90; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
