.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--bg-light);
}

.auth-box {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
}

.form-control {
  padding: 0.75rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--accent);
  color: #222;
}

.auth-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.auth-links a {
  color: var(--accent);
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.login-error {
  background: #fee;
  color: #c00;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* INPUT WRAPPER */
.input-wrapper {
  display: inline-flex;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: .5rem;
  overflow: hidden;
}

.domain-prefix {
  padding: .6rem;
  padding-right: 0.1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.input-wrapper input {
  border: none;
  padding: .6rem 0.1rem;
  min-width: 150px;
  outline: none;
  font-family: inherit;
}

.input-wrapper input:focus {
  outline: none;
}

.field_with_errors {
  display: contents;
} 