@charset "UTF-8";
@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url("/content/hanout/webfonts/RobotoFlex-VariableFont.woff2") format("woff2-variations");
  src: url("/content/hanout/webfonts/RobotoFlex-VariableFont.woff2") format("woff2") tech("variations");
  src: url("/content/hanout/webfonts/RobotoFlex-Regular.ttf") format("ttf");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Neue Primärfarbe */
/* Neue Sekundärfarbe */
* {
  font-family: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif, sans-serif; /* Verwendung der neuen Schriftart */
}

body, html {
  height: 100%;
  width: 100%;
}

body {
  align-items: flex-start;
  background-color: #f0eff3;
  color: #777;
  display: flex;
  justify-content: center;
  margin: 0;
}

section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin: 3rem 1rem auto 1rem;
  max-width: 400px; /* Erhöhte Breite */
  padding: 2.5rem 2.5rem 0 2.5rem; /* Mehr Padding */
  text-align: center;
  width: 100%;
}

form > * {
  box-sizing: border-box;
  display: block;
  margin-top: 1rem;
  width: 100%;
}

h3 {
  font-weight: 500;
  color: #004c9d; /* Primärfarbe für die Überschrift */
  text-align: center;
  margin-bottom: 1.5rem;
}

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

img {
  display: block;
  margin: 0 auto 1rem;
  width: 150px;
}

input, select {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #004c9d;
  padding: 0.75rem;
  box-shadow: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus {
  border-color: #009fe3;
  box-shadow: 0 1px 3px rgba(0, 159, 227, 0.5);
  outline: none;
}
input::placeholder, select::placeholder {
  color: #777;
  opacity: 1; /* Override default opacity for better visibility */
}

button {
  background-color: #004c9d; /* Primärfarbe */
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  transition: background-color 0.3s;
  text-transform: uppercase;
}
button:hover {
  cursor: pointer;
  background-color: #009fe3; /* Hover-Effekt mit Sekundärfarbe */
}
button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Link im Button-Look (z.B. "Zurück zum Login" nach der Erfolgsmeldung) */
.button-link {
  background-color: #004c9d;
  border-radius: 5px;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 1rem;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s;
  width: 100%;
}
.button-link:hover {
  background-color: #009fe3;
}

/* Hinweis auf die Passwort-Anforderungen (ResetPassword-Seite) */
#password-requirements {
  font-size: 0.85rem;
  text-align: left;
}

#checkbox {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}
#checkbox input[type=checkbox] {
  margin-right: 10px;
}
#checkbox .checkbox-label {
  font-weight: normal;
}

.additional-links {
  margin-top: 1.5rem;
  text-align: left;
}
.additional-links a {
  color: #004c9d;
  text-decoration: none;
  font-weight: bold;
}
.additional-links a:hover {
  text-decoration: underline;
}
.additional-links p {
  margin: 0.5rem 0;
}

#error-container {
  background-color: #c26152;
  color: #fff;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  text-align: left;
  display: none; /* Standardmäßig verstecken */
}
#error-container.visible {
  display: block; /* Sichtbar, wenn Fehler vorhanden */
}
#error-container.success {
  background-color: #5a9e6f; /* Grüne Bestätigung (z.B. "E-Mail versendet") */
}
#error-container h4 {
  margin: 0;
}
#error-container h4:not(:first-child) {
  margin-top: 1rem;
}

#loading-icon {
  align-items: center;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.25s linear;
}
#loading-icon.visible {
  opacity: 1;
}