.container {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--company-primary-color);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;  
}


.mod_lostPasswordNotificationCenter.block {
    background-color: #ffffff;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}
.mod_lostPasswordNotificationCenter.block h1 {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    color: #172b4d;
}


.mod_lostPasswordNotificationCenter.block .widget {
    position: relative;
    margin-bottom: 25px;
}

.mod_lostPasswordNotificationCenter.block .widget input[type="text"],
.mod_lostPasswordNotificationCenter.block .widget input[type="email"] {
    width: 100%;
    padding: 1.4rem 1.1rem 0.6rem; 
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc; 
    color: #374151;
    box-sizing: border-box;
    transition: all 0.2s ease-out;
}


.mod_lostPasswordNotificationCenter.block .widget > label {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: transparent;
    padding: 0 5px;
}


.mod_lostPasswordNotificationCenter.block .widget input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}


.mod_lostPasswordNotificationCenter.block .widget:focus-within > label,
.mod_lostPasswordNotificationCenter.block .widget:has(input:not(:placeholder-shown)) > label {
    top: 0px;
    transform: translateY(-65%);
    left: 15px;
    font-size: 0.8rem;
    color: #007bff;
    background-color: #ffffff; 
}

.mod_lostPasswordNotificationCenter.block label .invisible {
    display: none;
}



/* ========================================== */
/* Lost Password – saubere Fehlerdarstellung  */
/* ========================================== */

.mod_lostPasswordNotificationCenter.block .widget.error {
  margin-bottom: 28px;
}

/* Label im Fehlerzustand bleibt 'floating' und BLEIBT blau */
.mod_lostPasswordNotificationCenter.block .widget.error > label.error {
  position: absolute;
  top: -6px;
  left: 15px;
  transform: translateY(-65%);
  font-size: .8rem;
  color: #007bff;                /* überschreibt globales label.error=rot */
  background: #fff;
  padding: 0 5px;
  z-index: 1;
}

/* Nur die Fehlermeldung selbst wird rot und sitzt direkt über dem Feld */
.mod_lostPasswordNotificationCenter.block .widget.error > p.error {
  margin: 6px 0 8px;
  color: #dc2626;                /* Rot für die Meldung */
  font-size: .95rem;
  line-height: 1.35;
}

/* Feld im Error: roter Rahmen + zarte Füllung, keine Höhenänderung */
.mod_lostPasswordNotificationCenter.block .widget.error input[type="text"],
.mod_lostPasswordNotificationCenter.block .widget.error input[type="email"] {
  border-color: #f1999a;         /* sanfter Rand */
  background-color: #fff5f5;     /* leichtes Rot */
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.mod_lostPasswordNotificationCenter.block .widget.error input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .25);
}

/* Captcha-Frage unter dem Feld bleibt neutral (kein Rot) */
.mod_lostPasswordNotificationCenter.block .widget .captcha_text {
  display: block;
  margin-top: 10px;
  color: #374151;
  font-size: .95rem;
  line-height: 1.35;
}
.mod_lostPasswordNotificationCenter.block .widget .captcha_text.error {
  color: #374151;                /* überschreibt evtl. .error=rot */
}
