:root {
  --bg: #0b1220;
  --panel: #0f1724;
  --accent: #58a6ff;
  --text: #e6eef8;
  --muted: #9fb0d6;
  --danger: #ff6b6b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(135deg, #071022, #14213d);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  background: linear-gradient(180deg, var(--panel), #071329);
  border-radius: 12px;
  padding: 18px;
  width: 930px;
  max-width: calc(100vw - 48px);
  display: flex;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  align-items: flex-start;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 520px;
}

canvas {
  background: linear-gradient(180deg, #071427, #0f2a43);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6);
}

.controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 360px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

.phone-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

input[type="text"] {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 18px;
  letter-spacing: 2px;
  width: 100%;
}

button {
  background: var(--accent);
  color: #082032;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
button:active {
  transform: translateY(1px);
}
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.digit-bubble {
  min-width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.status {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.note {
  font-size: 12px;
  color: var(--muted);
}

.danger {
  color: var(--danger);
  font-weight: 700;
}

footer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
  width: 100%;
}
