
/* ============================================
   auth.css — Bereich: auth
   ============================================ */
.auth-container{
  min-width: 320px;
  max-width: 500px;
  margin: 80px auto;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

.auth-container h1{
  margin-bottom: 24px;
  font-size: 24px;
}

.auth-title{
  color: var(--text);
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.field{
  margin-bottom: 16px;
}

.field-label,
.field label{
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #555555;
}

.auth-input,
.field input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: 15px;
}

.auth-input:focus,
.field input:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.field.has-error input{
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field.has-error input:focus{
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message{
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.field-help{
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

.actions{
  margin-top: 20px;
}

.actions input[type="submit"]{
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.actions input[type="submit"]:hover{
  background: #e6d23a;
}

.btn-auth{
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-auth:hover{
  background: #e6d23a;
}

.auth-link{
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.auth-link a{
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

.flash{
  padding: 12px 16px;
  margin: 16px auto;
  max-width: 600px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.flash.notice{
  background: #d4edda;
  color: #155724;
}

.flash.alert{
  background: #f8d7da;
  color: #721c24;
}