*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
}

.view {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hidden { display: none !important; }

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.lock-icon, .check-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]:focus {
  border-color: #6c63ff;
}

button {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:hover { background: #574fd6; }
button:active { transform: scale(0.98); }
button:disabled { background: #aaa; cursor: not-allowed; }

.card.success { border-top: 4px solid #22c55e; }

.status {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  min-height: 1.25rem;
  color: #e53e3e;
}

.email-label {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.card.success button {
  background: #e5e7eb;
  color: #333;
  margin-top: 1rem;
}
.card.success button:hover { background: #d1d5db; }
