:root {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: xx-large;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0px;
  padding: 0px;
  display: flex;
}



a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  flex-grow: 1;
  margin: 0;
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  font-family: sans-serif;
  background: white;
}

body * {
  font-size: xx-large;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  /* border-radius: 8px; */
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s;
  width: -webkit-fill-available;

}

button:hover {
  border-color: #f33939;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

}
.TabControl {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    max-width: 100%;
    width: -webkit-fill-available;
    gap: 10px;
}

.TabButton {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background: darkgray;
    color: white;
    font-size: 32px;
}

.active {
   background-color: #e93e3e;
}.OnScreenKeyboard {
    margin-top: auto;
    vertical-align: bottom;
    width: -webkit-fill-available;
    margin-top: 10px;
}

.KeyContainer {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 100vw;
}

.Key {
    flex-grow: 1;
}

.options1 {
    width: 100%;
}

.einsatzartselect {
    width: -webkit-fill-available;
    margin-bottom: 15px;
}

.FormPageContainer {
    max-width: 100vw;
}

.FormPage {
    max-width: 100vw;
}

.SaveButton {
    margin: 0px 15px;
    margin-top: 10px;
    background-color: steelblue;
    color: white;
}

input:focus {
    outline: 2px solid red;
}.OnScreenKeyboard {
  position: fixed;
  bottom: 0;
  /* width: 100%; */
  background-color: #f0f0f0;
  /* padding: 10px; */
  /* box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1); */
  display: block;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0px;
  left: 0;
}

.keyboard-row {
  display: inline-flex;
  justify-content: center;
  width: 90%;
}

.key {
  flex: 1 1 8%;
  margin: 2px;
  padding: 15px 6px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  cursor: pointer;
  font-size: 1.3vw;
  max-width: 80px;
  text-align: center;
  border-radius: 4px;
  user-select: none;
  outline: none;
}

.space-key {
  max-width: 200px;
  width: 100%;
  flex: 1;
}

.space-key:empty {
  background: transparent;
}

.key:active {
  background-color: #d3d3d3;
}

/* Add responsiveness to make keyboard adaptive to screen size */
@media (max-width: 768px) {
  .key {
    font-size: 3vw;
    /* Adjust key size for smaller screens */
    padding: 10px;
  }
}

.ExtraBtnContainer {
  display: flex;
  justify-items: right;
  align-items: end;
  justify-content: right;
  width: 100%;
  background: white;
}

.HideKeyboardBtn {
  font-size: x-large;
  padding: 5px;
  background: cadetblue;
  color: white;
  aspect-ratio: 1;
  padding: 0px 10px;
}.SignatureFieldContainer {
    display: block;
    justify-content: center;
    align-items: center;
    width: 100%;
    align-self: center;
    justify-self: center;
    margin-bottom: 10px;
}

.SignatureField {
    width: 97vw;
    margin-bottom: 10px;
    justify-self: center;
}

.SignatureFieldCanvas {
    border: 2px solid rgb(0, 0, 0);
    touch-action: none;
    width: 95vw;
    height: 400px;
    display: block;
    justify-self: center;
}#root {
  text-align: center;
  font-family: sans-serif;
  width: -webkit-fill-available;
  background: white;
  width: -webkit-fill-available;
  flex-grow: 1;
    padding: 5px;
}

input {
  background: white;
  color: black;
}

select {
  background: white;
  color: black;
}

.LoginInput {
  width: -webkit-fill-available;
}.login-form {
  margin: 100px auto;
  max-width: 320px;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-image: url('/images/web-app-manifest-512x512.png');
  background-size: cover;
  align-content: center;
  aspect-ratio: 1;
}


.login-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  height: min-content;
}
