:root {
  --bg: #0f1210;
  --bg-elevated: #171b18;
  --border: #262b26;
  --green: #9ae573;
  --green-dim: #6fb54f;
  --text: #f4f6f3;
  --text-muted: #a3aa9f;
  --danger: #ef6a6a;
  --radius: 16px;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #1a201b 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--text-muted);
}

h1 {
  font-size: 22px;
  margin: 0 0 6px;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 28px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0 6px;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0c0f0d;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

input:focus {
  border-color: var(--green);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.btn-primary {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--green);
  color: #0c0f0d;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn-primary:hover {
  background: var(--green-dim);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-msg {
  margin-top: 14px;
  color: var(--danger);
  font-size: 13px;
  text-align: center;
  min-height: 16px;
}

.success-screen {
  text-align: center;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.hidden {
  display: none !important;
}
