.os-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
  color: #222;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header */

.os-header {
  padding: .6rem .75rem;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.os-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}

.os-header-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Header-Logo im Login deutlich größer */
.os-header-logo {
  height: 56px;
  width: auto;
  max-width: 240px;
  max-height: 56px;
  border-radius: .35rem;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.os-header-text {
  display: flex;
  flex-direction: column;
}

.os-header-title {
  font-size: .9rem;
  font-weight: 600;
}

.os-header-subtitle {
  font-size: .8rem;
  color: #555;
}

.os-header a {
  color: #1f6fd8;
  text-decoration: none;
  font-size: .85rem;
}

.os-header a:hover {
  text-decoration: underline;
}

.os-header-date {
  display: none;
  margin-top: .25rem;
}

/* Main / Login */

.os-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem .75rem 2.5rem;
}

.staff-login-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  padding: 1.5rem 1.6rem 1.4rem;
  padding-top: 1.6rem;
  /*padding-right: 7.5rem; /* Platz für Logo */
  background: #ffffff;
  border: 1px solid #dde1e7;
  border-radius: .9rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
  font-size: .9rem;
}

.staff-login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: .85rem;
}

.staff-login-brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 220px;
  max-height: 72px;
  opacity: 1;
}

.staff-login-title {
  margin-bottom: .15rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.staff-login-subtitle {
  margin-bottom: 1rem;
  font-size: .86rem;
  color: #6b7280;
}

/* Form */

.staff-login-card form {
  display: block;
}

.staff-login-card .mb-2 {
  margin-bottom: .75rem !important;
}

.staff-login-card .form-label {
  display: block;
  margin-bottom: .15rem;
  font-size: .85rem;
}

.staff-login-card .form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: .9rem;
  padding: .4rem .55rem;
}

.staff-login-card .btn {
  width: 100%;
  margin-top: .25rem;
  padding: .45rem .9rem;
  font-size: .9rem;
}

/* Messages / Footer */

.os-msg {
  margin-bottom: .9rem;
  padding: .55rem .65rem;
  border-radius: .45rem;
  font-size: .84rem;
}

.os-msg-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.staff-login-footer {
  margin-top: .9rem;
  font-size: .8rem;
  color: #6b7280;
}

/* Mobile */

@media (max-width: 480px) {
  .staff-login-card {
    margin: 0;
    padding: 1.25rem 1.2rem 1.3rem;
  }

  .staff-login-brand {
    right: 12px;
    bottom: 12px;
    width: 28px;
    height: 28px;
  }

  .staff-login-brand-logo {
    width: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }
}