* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f12;
  color: #f1f1f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.card {
  background: #1a1a1f;
  border: 1px solid #2a2a30;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: #9a9aa3;
  font-size: 0.95rem;
}

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

input[type="text"] {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #33333a;
  background: #0f0f12;
  color: #f1f1f1;
  font-size: 1rem;
}

input[type="text"]:focus {
  outline: none;
  border-color: #e63946;
}

button {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: none;
  background: #e63946;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover {
  background: #c92e3a;
}

.loading {
  margin-top: 1rem;
  color: #9a9aa3;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

.error {
  margin-top: 1rem;
  color: #ff6b6b;
  font-size: 0.9rem;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: #0f0f12;
  border: 1px solid #33333a;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e63946, #ff6b6b);
  transition: width 0.3s ease;
}

.progress-label {
  margin: 0.75rem 0 0;
  color: #9a9aa3;
  font-size: 0.9rem;
  text-align: center;
}
