* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #f6f7f9;
  color: #222;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  line-height: 1.5;
}

#container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

#brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #111;
  margin-bottom: 32px;
}

#content {
  min-height: 80px;
}

#message {
  font-size: 16px;
  color: #444;
}

#message.error {
  color: #d33;
}

.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #0066ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#reset-form {
  text-align: left;
  margin-top: 16px;
}

#reset-form label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  margin-top: 16px;
}

#reset-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

#reset-form input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

#form-error {
  color: #d33;
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
}

#reset-submit {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

#reset-submit:hover:not(:disabled) {
  background: #0052cc;
}

#reset-submit:disabled {
  background: #99c2ff;
  cursor: not-allowed;
}
