* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f0f11;
  color: #e4e4e7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  text-align: center;
}

h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }

.subtitle { color: #a1a1aa; font-size: 0.9rem; margin-bottom: 2rem; }

form { display: flex; flex-direction: column; gap: 0.75rem; }

input, select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #27272a;
  background: #18181b;
  color: #e4e4e7;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

input:focus, select:focus { border-color: #3b82f6; }

.input-row {
  display: flex;
  gap: 0.5rem;
}

.input-row input { flex: 1; }

.input-row select {
  flex-shrink: 0;
  width: 80px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

button {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover { background: #2563eb; }
button:disabled { background: #6b7280; cursor: not-allowed; }

#status {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

#status.hidden { display: none; }
#status.error { background: #7f1d1d; color: #fca5a5; }
#status.info { background: #1e3a5f; color: #93c5fd; }
