@import "tailwindcss";

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111827;
  color: #f8fafc;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgb(17 24 39) 0%, rgb(15 23 42) 48%, rgb(24 36 54) 100%);
}

button {
  border: 1px solid rgb(148 163 184 / 0.38);
  border-radius: 7px;
  background: rgb(248 250 252 / 0.1);
  color: #f8fafc;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 11px;
}

button:disabled {
  cursor: default;
  opacity: 0.55;
}

.loading-shell {
  box-sizing: border-box;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 34px 40px 32px;
}

.loading-mark {
  width: 34px;
  height: 34px;
  border: 2px solid rgb(96 165 250 / 0.3);
  border-top-color: #60a5fa;
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

.loading-kicker {
  margin: 24px 0 7px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 720;
  letter-spacing: 0;
}

.loading-message {
  min-height: 24px;
  margin: 14px 0 18px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.loading-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(148 163 184 / 0.24);
}

.loading-progress {
  width: 6%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #a7f3d0);
  transition: width 220ms ease;
}

.loading-error {
  margin: 16px 0 0;
  color: #fecaca;
  font-size: 13px;
  line-height: 1.45;
}

.loading-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
