body {
  background-color: whitesmoke;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: rgb(255, 255, 255);
  font-size: 20px;
}

.bodyDark {
  background-color: rgb(32, 31, 31);
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: rgb(255, 255, 255);
  font-size: 20px;
}

div {
  min-height: 20px;
  display: flex;
  justify-content: center;
}


.header {
  display: flex;
  justify-content: space-between; /* Inhalt links, Button rechts */
  align-items: center;            /* Vertikal zentriert */
  padding: 10px;
  gap: 16px;
  background-color: rgb(32, 31, 31);
  margin-bottom: 0px;
  vertical-align: middle;
}

.navButton {
  height: 32px;                   /* oder eine feste Höhe passend zum Layout */
  width: 32px;
  object-fit: contain;
  cursor: pointer;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}

.logo {
    padding-top: 30px;
    padding-bottom: 30px;
  width: 40%;
  max-width: 500px;
  cursor: pointer;
}

.buttonContainer{
    display: grid;
    row-gap: 50px;
}

.buttonStandard{
    background-color: red;
    border-radius: 25px;
    font-size: 20px;
    color: white;
    border-color: white;
    padding: 20px;
    width: 70vw;
    max-width: 600px;
    cursor: pointer;
}

.buttonPic{
    width: 25px;     /* Größe anpassen*/
    height: 25px;
    margin-left: 30px; /* Abstand zum Text*/
}

.buttonText{
    font-size: 20px;
}


.inputContainer {
  display: flex;
  flex-direction: column;
  align-items: center;  /* zentriert auf der Seite */
  width: 90%;
  margin-top: 30px;
  margin-right: 5%;
  margin-left:5%;
}


.inputGroup {
  position: relative;
  width: 80%;
  margin: 20px auto;
}

.inputGroup input {
  width: 100%;
  padding: 14px 12px 14px 12px;
  font-size: 20px;
  border: 1px solid white;
  border-radius: 8px;
  background: none;
  outline: none;
  color: white;
}

.inputGroup label {
  position: absolute;
  top: 14px;
  left: 12px;
  color: grey;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color:rgb(32, 31, 31);;
  padding: 0 4px;
}

/* Label nach oben verschieben, wenn Input im Fokus oder nicht leer */
.inputGroup input:focus + label,
.inputGroup input:not(:placeholder-shown) + label {
  top: -10px;
  left: 8px;
  font-size: 12px;
  color: white;
}

.timePicker {
font-size: 25px;
width: 100%;
height: 50px;
margin-bottom: 25px;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: border 0.2s ease, box-shadow 0.2s ease;
border: 2px solid #ccc;
}

.timePicker_label{
font-size: 25px;
color: black;
align-self: self-start;
margin-bottom: 15px;
}

.timePicker_duration{
font-size: 30px;
color: black;
align-self: self-start;
margin-bottom: 15px;
}

.durationLabel {
  font-size: 15px;
  color: black;
  align-self: self-start;
  margin-bottom: 15px;
}

.customDropdown {
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 5px;
  height: 60px;
  font-size: 25px;
  color: #333;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
  margin-bottom: 10px;
}

/* Fokus-Effekt */
.customDropdown:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Hover (optional auf Touch) */
.customDropdown:hover {
  border-color: #999;
  cursor: pointer;
}

/* Disabled-Zustand */
.customDropdown:disabled {
  background-color: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
}

.notebox{
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 5px;
  height: 60px;
  font-size: 18px;
  width: 100%;

}

.loginPage {
  min-height: 100vh;
  background-image: url("../pic/login-background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

.loginPage .header {
  justify-content: flex-start;
  text-align: left;
  font-size: clamp(1rem, 1.1vw + 0.8rem, 1.35rem);
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 0.65rem 1rem;
  background: #2b2b2b;
  border-bottom: 1px solid #4a4a4a;
}

.loginPage .container-fluid {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginPage .auth-card {
  width: min(92vw, 640px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffffff;
  border: 2px solid #e4e4e4;
  border-radius: 0;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  padding: 1.2rem 1.1rem 1.4rem;
}

.loginPage .login-logo-wrap {
  width: 100%;
  padding-top: .8rem;
  padding-bottom: .9rem;
}

.loginPage .logo {
  margin-top: .9rem;
  margin-bottom: 1.35rem;
  width: min(38vw, 260px);
  max-width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.loginPage .buttonContainer,
.loginPage .inputContainer {
  width: 100%;
  margin: 0;
  padding: .2rem 0 .35rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.loginPage .buttonContainer {
  row-gap: 1rem;
}

.loginPage .buttonStandard {
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid #f0f0f0;
  background: #c62828;
  width: 100%;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: transform .14s ease, box-shadow .14s ease;
}

.loginPage .buttonStandard:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.loginPage .buttonPic {
  margin-left: 0;
}

.loginPage .inputGroup {
  width: min(92%, 560px);
  margin: 14px auto;
}

.loginPage .inputGroup input {
  background: #ffffff;
  color: #1f1f1f;
  border-color: #9e9e9e;
}

.loginPage .inputGroup label {
  background-color: #ffffff;
  color: #555;
}

.loginPage .inputGroup input:focus + label,
.loginPage .inputGroup input:not(:placeholder-shown) + label {
  color: #555;
}

.loginPage .forgotLink {
  color: #444;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobilgeraete-Optimierung: gleiche Struktur, aber kompakter (kleinere
   Schrift/Abstaende), da die Basiswerte oben fuer ein groesseres
   Kiosk-/Tablet-Display ausgelegt sind. */
@media (max-width: 576px) {
  body,
  .bodyDark {
    font-size: 16px;
  }

  .header {
    padding: 8px;
    gap: 10px;
  }

  .navButton {
    height: 26px;
    width: 26px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .logo {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .buttonContainer {
    row-gap: 28px;
  }

  .buttonStandard {
    font-size: 16px;
    padding: 14px;
    width: 85vw;
  }

  .buttonPic {
    width: 20px;
    height: 20px;
    margin-left: 18px;
  }

  .buttonText {
    font-size: 16px;
  }

  .inputContainer {
    margin-top: 18px;
  }

  .inputGroup {
    width: 92%;
    margin: 12px auto;
  }

  .inputGroup input {
    padding: 11px 10px;
    font-size: 16px;
  }

  .timePicker {
    font-size: 18px;
    height: 42px;
    margin-bottom: 16px;
  }

  .timePicker_label,
  .timePicker_duration {
    font-size: 18px;
  }

  .customDropdown {
    height: 46px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .notebox {
    height: 46px;
    font-size: 15px;
  }

  .loginPage .auth-card {
    padding: 0.9rem 0.8rem 1rem;
  }

  .loginPage .logo {
    width: min(48vw, 220px);
  }
}