@charset "ISO-8859-1";

/* ===== Login Page & Panel (Wicket 9.12) ===== */

/* Page background image that crops responsively without distortion */
.loginWrapper {
  min-height: 100vh;
  background-image: url("../images/login/login_background.jpg"); 
  background-size: cover;           /* do not stretch; fill and crop */
  background-position: center;      /* keep focal point centered */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;              /* vertically center the panel */
  justify-content: center;          /* horizontally center the panel */
  padding: 2rem;
  box-sizing: border-box;
}

.loginPanel {
  background: #ffffff;              /* white background */
  border: none;                     /* no border */
  padding: 2em;                     /* requested padding */
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

.loginLogo {
  text-align: center;
  margin-bottom: 1rem;
}
.loginLogo img {
  max-width: 160px;
  height: auto;
}

/* Welcome text under the logo */
.welcomeText {
  text-align: left;
  color: #898989;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 10px 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Feedback area (Wicket feedback panel) */
.loginFeedback {
  margin: 0 0 10px 0;
}

/* Farben je Level */
.fp--head .feedbackPanelERROR, .fp--head .feedbackPanelFATAL {
  color: #a40000; background: #fdecea; border-left: 2px solid #f44336;padding: 10px 15px;
}
.fp--head .feedbackPanelWARNING {
  color: #8a6d3b; background: #fff8e1; border-left: 2px solid #ff9800;padding: 10px 15px;
}
.fp--head .feedbackPanelSUCCESS {
  color: #1b5e20; background: #edf7ed; border-left: 2px solid #4caf50;padding: 10px 15px;
}
.fp--head .feedbackPanelINFO, .fp--head .feedbackPanelDEBUG {
  color: #0b5394; background: #e7f3ff; border-left: 2px solid #2196f3;padding: 10px 15px;
}

.loginInputFieldFeedback {
  display: block;
  font-family: sans-serif;
  font-size: 9px;
  color: #FF0000;
  text-align:left;
}

/* Form layout */
.mtcLoginForm {
  display: block;
}

.formRow {
  margin-bottom: 1rem;
}

/* Gruppe nebeneinander */
.formRowGroup{
  display: flex;
  gap: 1rem;              /* Abstand zwischen den Spalten */
  margin-bottom: 1rem;
}

/* Jede Spalte gleich breit, kein zusätzlicher Bottom-Abstand nötig */
.formRowGroup .formCol{
  flex: 1 1 0;
  margin-bottom: 0;
}


.formLabel {
  display: block;
  margin-bottom: 5px;
  font-family: sans-serif;
  font-size: 12px;
  color: #007CB0;
  text-align:left;
}

.textInput {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d7d7d7;
  color: #898989;
  font-size: 12px !important;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
}
.textInput:focus {
  border-color: #007CB0;
/*  box-shadow: 0 0 0 3px rgba(0,124,176,0.15);*/
}

.passwordFieldWrapper { position: relative; }
.passwordInput { padding-right: 2.6rem; }

.togglePasswordBtn{
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2rem; height: 2rem;
  border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.togglePasswordBtn:focus{
  outline: none;
/*  box-shadow: 0 0 0 3px rgba(0,124,176,0.2);*/
/*  border-radius: 999px;*/
}

/* Box-Hintergrund: #007CB0 bei 50% Transparenz, Text ebenfalls #007CB0 */
.pwd-req-box{
  background: rgba(0,124,176,0.5);
  color: #007CB0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0 1rem 0;
}

.pwd-req-title{
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pwd-req-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.pwd-req-item{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Runde „Checkbox“ mit #007CB0 Umrandung */
.pwd-req-check{
  width: 18px;
  height: 18px;
  border: 2px solid #007CB0;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: transparent;
}

/* Erfüllt: grüner Haken (Hintergrund bleibt transparent) */
.pwd-req-check.is-ok::after{
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 14px;
  color:#fff;
  font-family: "Segoe UI Symbol","Noto Sans Symbols","DejaVu Sans","Arial Unicode MS",sans-serif;
}
.pwd-req-check.is-ok{
  background: #28a745; /* Grün für den Haken */
}
.pwd-req-check.is-not-ok::after{
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 14px;
  color:#fff;
  font-family: "Segoe UI Symbol","Noto Sans Symbols","DejaVu Sans","Arial Unicode MS",sans-serif;
}
.pwd-req-check.is-not-ok{
  background: #ff0000;
}

.togglePasswordIcon{
  display: block;
  width: 20px; height: 12px;  /*keine „krumme“ Skalierung */
}

/* Remember me row */
.rememberRow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Basis-Style */
.checkboxInput{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-width: 18px;
  min-height: 18px;
  border: 1px solid #007CB0;      /* 1px blauer Rand */
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
}

/* Hover: Hintergrund Lime */
.checkboxInput:hover{
  background-color: #D4D700;
}

/* Checked: zentriertes blaues Viereck */
.checkboxInput:checked{
  background-color: #fff;          /* weiß lassen */
  background-image: linear-gradient(#007CB0, #007CB0);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;      /* Größe des inneren Quadrats */
}


.rememberText {
  font-size: 12px;
  color: #898989;
}

/* Informational paragraph under the checkbox */
.infoText {
  font-size: 9px;
  color: #4a4a4a;
/*  margin: 0.25rem 0 1rem 0;*/
}

/* Primary button */
.btn {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: 0;
  font-weight: 600;
  font-size: 13pt;
  letter-spacing: 0.6px;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btnPrimary {
  background: #007CB0;
  color: #ffffff;
  text-transform: uppercase;
  width: 100%;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,124,176,0.2);
}

/* Divider and footer link */
.divider {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 1rem 0;
}

.forgotPasswordLink {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: #007CB0;
  text-decoration: none;
}
.forgotPasswordLink:hover {
  text-decoration: underline;
}

.linkWithIcon{
  display: inline-flex;
  align-items: center;       /* vertikal mittig */
  text-decoration: none;     /* optional */
}
.linkWithIcon:hover {
  text-decoration: underline;
}

.linkWithIcon .linkIcon{
  width: 28px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

.linkWithIcon .linkLabel{
  margin-left: 2em;     
  font-size: 0.95rem;
  color: #007CB0;
  text-decoration: none;
}

/* Small screens */
@media (max-width: 420px) {
  .loginPanel {
    padding: 1.25em;
  }
  .welcomeText {
    font-size: 1.5rem;
  }
  .loginLogo img {
    max-width: 140px;
  }
}


/* Untereinander auf schmalen Viewports */
@media (max-width: 600px){
  .formRowGroup{
    flex-direction: column;
  }
}

/* High-density/large viewports can shift the visible crop */
@media (min-width: 1200px) {
  .loginWrapper {
    background-position: center top; /* show upper part for wide screens */
  }
}
