body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 24px;
}

.back-link {
  color: #fff;
  margin-bottom: 16px;
  text-decoration: none;
}

.auth-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 40px 30px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: #fff;
}

h2 {
  text-align: center;
  margin: 0 0 24px;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tabs button {
  background: transparent;
  border: none;
  color: #ddd;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tabs button.active {
  color: #fff;
  border-color: #fff;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

button.submit-btn {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #764ba2;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
}

button.submit-btn:hover:not(:disabled) {
  background: #f1f1f1;
}

button.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form {
  display: none;
}

.form.active {
  display: block;
}

#status {
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
  color: #ffd700;
  min-height: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
