:root {
  --bg: #080808;
  --surface: #111111;
  --border: #222222;
  --text: #e8e8e8;
  --muted: #555555;
  --accent: #e8e8e8;
  --error: #ff4444;
  --success: #44ff88;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem;
}

.container {
  width: 100%;
  max-width: 340px;
  animation: fadeUp 0.4s ease both;
}

h1 {
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

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

input::placeholder {
  color: #2a2a2a;
}

button {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem;
  cursor: pointer;
  transition: opacity 0.15s;
  border-radius: 0;
}

button:hover {
  opacity: 0.85;
}

button:active {
  opacity: 0.7;
}

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

.error-msg {
  margin-top: 1rem;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.7rem;
  color: var(--error);
  display: none;
}

.error-msg.visible {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
