body {
  font-family: system-ui, sans-serif;
  background: #f4f4f5;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 24rem;
  width: 100%;
  position: relative;
}

.lang-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lang-switch button {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
}

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

label {
  font-size: 0.9rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

input:disabled {
  background: #f4f4f5;
  color: #6b7280;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

button[type="submit"],
button.primary,
#login-button {
  margin-top: 0.5rem;
  padding: 0.6rem;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

button.secondary {
  margin-top: 0.5rem;
  padding: 0.6rem;
  background: none;
  color: #111827;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

button.danger {
  margin-top: 0.5rem;
  padding: 0.6rem;
  background: #b91c1c;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-link {
  display: block;
  padding: 0.6rem;
  background: #111827;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
}

hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

h2 {
  font-size: 1.1rem;
  margin: 0;
}

.footer-link {
  font-size: 0.9rem;
  text-align: center;
}

#form-message,
#profile-message,
#password-message,
#delete-message {
  min-height: 1.2rem;
  font-size: 0.9rem;
  margin: 0;
}

.error {
  color: #b91c1c;
}

.ok {
  color: #15803d;
}
