/* === Basis-Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Grundschrift, Hintergrundfarbe etc. */
  html { height: 100%; }

  body {
    font-family: "Calibri", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    height: 100%;
/*    color: #ffffff;
*/
    background: url("/static/images/DJI_0144_10.jpg") no-repeat center center;
    background-attachment: scroll;
    background-color: #00385F;
  }

  /* === Layoutbereiche === */
  /* Header (Logo) */
header {
    position: absolute;
    top: 0px;
}

.usi-footer {
  background-color: #00385F;
  border-style: none;
  color: #ffffff;
}

.usi-footer a:hover {
  color: #ffffff;
}

.usi-footer a:focus {
  color: #ffffff;
}

.usi-footer-font {
  color: #ffffff;
}  

.logo {
    width: 257px;
    height: auto;
  }

  /* Login Box */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 24px 24px 64px;
    overflow: auto;
  }

  .login-box {
    background-color: #00385F;
    padding: 32px;
    width: 636px;
    min-height: auto;
    margin: 24px;
  }

  .login-box h1 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .login-form label {
    display: block;
    font-size: 20px;
    line-height: 1.3;
  }

  .login-form input[type="text"],
  .login-form input[type="password"] {
    width: 100%;
    height: 48px;
    font-size: 18px;
    padding: 16px;
    margin-top: 8px;
    border: 1px solid #A2AAB2;
  }

  .login-form input[type="text"]:focus,
  .login-form input[type="password"]:focus {
    color: #3c444c;
    background-color: #fff;
    border-color: #A2AAB2;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(206, 212, 218, .5);
  }

  .text-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Optionen */
  .form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0px 8px;
  }

  .form-check {
    display: flex;
    gap: 8px;
    padding: 1px 0px;
    align-items: center;
    color: #fff;
  }

  .form-check label {
    font-size: 18px;
  }

  /* Input selbst ausblenden */
  .form-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #A2AAB2;
    background-color: #fff;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  /* Checked-Zustand: Blau mit Häkchen */
  .form-check input[type="checkbox"]:checked {
    background-color: #009CDE;   /* Hellblau */
    border-color: #009CDE;
  }

  /* Häkchen einblenden (pseudo-element) */
  .form-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 3px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .form-check input[type="checkbox"]:focus {
    box-shadow: 0 0 0 4px rgba(173, 181, 189, 0.25);
    outline-offset: 2px;
  }

  /* Services */
  .services {
    background-color: rgba(255,255,255,0.1);
    margin: 16px 0px 16px;
    padding: 16px;
    font-weight: bold;

  }

  .services h2 {
    font-size: 22px;
    line-height: 1.1;
    margin: 0 0 12px 0;
  }

  .services ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .services li:not(:last-child) {
    margin-bottom: 8px;
  }

  .services a {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
  }

  /* Pfeil vor dem Text */
.services a::before {
    content: "→";
    color: #00aaff;
    margin-right: 0.5rem;
    font-weight: bold;
    flex: 0 0 16px;           /* feste Breite reservieren */
    text-align: center;
  }

  /* Hover-Effekt (optional) */
  .services a:hover {
    color: rgba(255,255,255,0.7);
  }

  /* Button */
  .btn-primary {
    align-self: flex-end;
    font-size: 18px;
    color: #000000;
    font-weight: bold;
    background-color: #24ACDD;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
  }

  .btn-primary:hover {
    background-color: #45b8e2;
    border-color: #3ab4e0;
  }

  .btn-primary:focus {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  }

  .btn-primary:active {
    background-color: #50bde4;
    border-color: #3ab4e0;
  }

  /** Tablet & Mobile */
@media screen and (max-height: 834px) {
    .login-page {
        height: auto;
      }
  }

@media screen and (max-width: 1200px) and (max-height: 926px) {
    .logo img { width: 172px; }
}

  @media screen and (max-width: 1200px) {
    .login-page {
        padding-top: 112px;
    }
  }

  @media screen and (max-width: 834px) {
    .login-box h1 { font-size: 29px; }
    .login-form label { font-size: 20px; }
    .login-form input[type="text"],
    .login-form input[type="password"],
    .form-check {
        font-size: 16px;
    }
    .services a { font-size: 18px; }
  }