* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0f1419;
  color: #e8eaed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #1a2332;
  border: 1px solid #2d3a4d;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

p {
  margin: 0 0 24px;
  color: #9aa0a6;
  font-size: 0.95rem;
  line-height: 1.5;
}

button {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

button.danger {
  background: #c5221f;
  color: #fff;
}

button.danger:hover:not(:disabled) {
  background: #a31b18;
}

button.warning {
  background: #e37400;
  color: #fff;
}

button.warning:hover:not(:disabled) {
  background: #c26200;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.back {
  display: inline-block;
  margin-top: 20px;
  color: #8ab4f8;
  text-decoration: none;
  font-size: 0.9rem;
}

.back:hover {
  text-decoration: underline;
}

.message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.message.success {
  display: block;
  background: #1e3a2f;
  color: #81c995;
}

.message.error {
  display: block;
  background: #3c2020;
  color: #f28b82;
}
