* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-container {
  width: 100%;
  max-width: 480px;
  padding: 16px;
}

.card {
  background: #020617;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #1f2937;
}

.card h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #9ca3af;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #9ca3af;
}

input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  width: 100%;
  margin-top: 4px;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #374151;
}

.btn-secondary:hover {
  background: #1f2937;
}

.error-message {
  margin-top: 8px;
  color: #f97373;
  font-size: 13px;
  min-height: 18px;
}

.info-box {
  background: #020617;
  border-radius: 8px;
  border: 1px solid #1f2937;
  padding: 12px;
  font-size: 14px;
  color: #d1d5db;
}

.divider {
  height: 1px;
  background: #1f2937;
  margin: 16px 0;
}

.code-box {
  background: #020617;
  border-radius: 8px;
  border: 1px solid #1f2937;
  padding: 12px;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
  max-height: 200px;
  overflow: auto;
  white-space: pre-wrap;
}
