/* =========================================================================
   BRE LOGIN — hellgrau, mit Bergsilhouette & zwei Shop-Logos
   ========================================================================= */
.bre-login-mountains{position:fixed;left:0;right:0;bottom:0;width:100%;z-index:0;pointer-events:none;line-height:0}
.bre-login-mountains svg{width:100%;height:auto;display:block}
.bre-login-mountains .m1{fill:#dde2e8}.bre-login-mountains .m2{fill:#d2d8df}.bre-login-mountains .m3{fill:#c6cdd5}.bre-login-mountains .ms{fill:#eef1f4}

/* ECHTES Vollbild (löst sich vom Theme) → Monitor-Mitte, auch Querformat-Tablet. */
.bre-login-wrapper{
  position:fixed;inset:0;z-index:99990;overflow:auto;
  display:flex;justify-content:center;
  /* "safe center": zentriert normal, rutscht aber an den oberen Rand statt
     abzuschneiden, wenn die Box (z.B. Handy quer, kleine Bildschirmhöhe)
     höher als der sichtbare Bereich ist — sonst waren Logos/Überschrift
     nicht erreichbar, auch nicht durch Scrollen (siehe overflow:auto). */
  align-items:safe center;padding:24px;box-sizing:border-box;
  background:linear-gradient(180deg,#eef1f4 0%,#e0e4e9 100%);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
.bre-login-box{
  position:relative;background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  padding:38px 40px 32px;border-radius:28px;
  box-shadow:0 30px 70px rgba(31,39,48,.16),0 2px 6px rgba(31,39,48,.06);
  width:100%;max-width:440px;text-align:center;border:1px solid #e4e8ed;box-sizing:border-box;
}

/* zwei Shop-Logos — schrumpfen bei schmalen Displays lieber gemeinsam,
   statt umzubrechen (der Trenner sähe dann verwaist auf eigener Zeile aus). */
.bre-login-logos{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:6px}
.bre-login-logos img{height:auto;width:auto;max-height:46px;max-width:42%;flex-shrink:1;object-fit:contain}
.bre-login-logosep{width:1px;height:34px;background:#d7dde3;flex-shrink:0}
.bre-login-logo{max-height:64px;max-width:100%;margin-bottom:8px;display:inline-block}

/* Kleine Displays: weniger Rand, damit mehr vom Formular ohne Scrollen passt. */
@media (max-width:420px){
  .bre-login-wrapper{padding:14px}
  .bre-login-box{padding:28px 22px 24px;border-radius:22px}
}

.bre-login-box h2{margin:12px 0 2px;font-weight:800;color:#1f2730;font-size:21px;letter-spacing:-.3px}
.bre-login-tagline{margin:0 0 26px;font-size:13px;color:#949ba4}

#bre-custom-login-form label{display:block;font-size:11.5px;font-weight:700;color:#5b636d;text-transform:uppercase;margin-bottom:8px;letter-spacing:.7px;text-align:left}
#bre-custom-login-form .login-username,#bre-custom-login-form .login-password{position:relative;margin:0 0 15px}
#bre-custom-login-form input[type="text"],
#bre-custom-login-form input[type="password"]{
  width:100%;padding:15px 16px;border-radius:13px;border:1px solid #d7dde3;font-size:16px;color:#1f2730;
  box-sizing:border-box;background:#fbfcfd;transition:border-color .15s,box-shadow .15s,background .15s;
}
#bre-custom-login-form input[type="text"]:focus,
#bre-custom-login-form input[type="password"]:focus{border-color:#9aa3ad;outline:none;background:#fff;box-shadow:0 0 0 4px rgba(150,160,172,.16)}

/* Passwort-Auge */
.bre-pw-toggle{position:absolute !important;right:12px !important;bottom:9px !important;cursor:pointer !important;color:#949ba4 !important;background:transparent !important;border:none !important;padding:5px !important;display:flex !important;align-items:center !important;justify-content:center !important;transition:all .2s ease !important;z-index:10;border-radius:50% !important;width:32px !important;height:32px !important;outline:none !important}
.bre-pw-toggle:hover{background:rgba(31,39,48,.06) !important;color:#1f2730 !important}

/* Remember als Toggle */
#bre-custom-login-form .login-remember{display:flex;align-items:center;justify-content:space-between;background:#f6f8fa;padding:12px 15px;border-radius:13px;margin-bottom:22px;border:1px solid #e4e8ed}
#bre-custom-login-form .login-remember label{margin-bottom:0;text-transform:none;font-size:13px;font-weight:700;color:#1f2730}
#bre-custom-login-form input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:40px;height:22px;background:var(--bre-gray-300);border-radius:20px;position:relative;cursor:pointer;transition:all .3s ease;border:none !important}
#bre-custom-login-form input[type="checkbox"]:checked{background:#3b82f6}
#bre-custom-login-form input[type="checkbox"]::before{content:"";position:absolute;width:18px;height:18px;background:#fff;border-radius:50%;top:2px;left:2px;transition:all .3s ease;box-shadow:0 2px 4px rgba(0,0,0,.12)}
#bre-custom-login-form input[type="checkbox"]:checked::before{left:20px}

/* Submit */
#bre-custom-login-form input[type="submit"]{
  width:100%;background:linear-gradient(180deg,#3a4250,#262d38);color:#fff;border:none;padding:16px;border-radius:13px;
  font-weight:800;cursor:pointer;font-size:16px;transition:transform .12s,box-shadow .15s;letter-spacing:.3px;
  box-shadow:0 12px 26px rgba(31,39,48,.25);
}
#bre-custom-login-form input[type="submit"]:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(31,39,48,.32)}

.bre-login-forgot a:hover{color:#1f2730 !important}
