body {
  margin: 0;
  background: var(--bg-muted);
  color:var(--text-main);
}

.form-w {
  background: var(--bg-main);
  border: 1px solid var(--border-main);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  padding: 24px;
  max-width: 540px;
  margin: 150px auto;
}
.form-w form {
  margin-top: 1rem;
}
.form-w .form-link {
  margin-top: 12px;
}
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 0 3rem;
  text-align: center;
}
form .field {
  margin-bottom: 20px;
  display: block;
  width: 100%;
}
label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-main);
}
input {
  width: 100%;
  background: var(--bg-main);
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-main);
  border-radius: 8px;
  padding: 12px;
  outline: none;
  transition: border-color .15s ease;
}
input:focus {
  border-color: var(--text-main);
}
.errors {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.35);
  color: #fecaca;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.help {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 6px;
}
ul.errorlist {
  margin: 8px 0;
  padding-left: 18px;
  color: var(--text-muted);
}
.btn {
  width: 100%;
}

.google-auth-container {
  margin-bottom: 24px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 400;
  padding: 10px 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color .15s ease;
}

.btn-google img {
  display: block;
}
.btn-signup {
  margin-top: 1rem;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-main);
}

.divider span {
  padding: 0 10px;
  font-size: 0.9rem;
}

.legal-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.legal-notice a {
  color: var(--text-main);
  text-decoration: underline;
}


.form-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.form-footer a {
  text-decoration: underline;
}
