.login-art {
  background: #064f4b !important;
  color: #fff !important;
}

.login-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/login-reuse.jpg?v=20260925a') center center / cover no-repeat;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: luminosity;
  opacity: .22;
  pointer-events: none;
}

.login-art::after {
  content: none !important;
  display: none !important;
}

.login-art .hero-copy h1,
.login-art .hero-copy p,
.login-art small {
  color: #fff !important;
}

.login-art > small { position: relative; z-index: 1; }

.login-art .hero-copy p {
  color: rgba(255, 255, 255, .82) !important;
}

.login-art .eyebrow {
  color: #c8eee6 !important;
}

.login-art .login-logo {
  filter: brightness(0) invert(1) !important;
}

.login-brand {
  width: 165px;
  height: 56px;
  min-width: 165px;
  min-height: 56px;
  flex: 0 0 56px;
  background: #fff;
  -webkit-mask: url('/reuse-federace-logo-transparent.png') left center / contain no-repeat;
  mask: url('/reuse-federace-logo-transparent.png') left center / contain no-repeat;
}

.login-brand::before,
.login-brand::after { content: none !important; display: none !important; }

.login-panel-inner {
  width: min(420px, 100%);
}

.login-panel-inner .login-card {
  width: 100%;
}

.login-package-choice {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dfe5e3;
  text-align: center;
}

.login-package-choice > span {
  color: #5d6971;
  font-size: 14px;
}

.login-package-choice .btn-secondary {
  min-height: 48px;
  border-color: #0e887e;
  color: #0e7068;
  text-decoration: none;
}

.login-package-choice .btn-secondary:hover {
  background: #edf8f6;
}

.login-panel :is(.btn-primary,.btn-secondary) {
  min-height: 48px;
  border-radius: 8px;
  box-shadow: none !important;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.login-panel .btn-primary { background: #0e887e; }
.login-panel .btn-primary:hover { background: #0b756d; }
.login-panel .btn-secondary:hover { border-color: #0e887e; background: #f1f8f6; color: #0b756d; }

@media (max-width: 850px) {
  .login-shell {
    min-height: 100svh;
    grid-template-rows: auto 1fr;
  }

  .login-art {
    min-height: 0 !important;
    display: grid;
    gap: 30px;
    padding: 24px 22px 27px !important;
  }

  .login-art::before {
    background-position: center 64%;
    opacity: .18;
  }

  .login-brand {
    width: 130px;
    height: 44px;
    min-width: 130px;
    min-height: 44px;
    flex-basis: 44px;
  }

  .login-art .hero-copy {
    max-width: 520px;
  }

  .login-art .hero-copy .eyebrow {
    font-size: 12px;
  }

  .login-art .hero-copy h1 {
    margin: 5px 0 8px;
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1.08;
  }

  .login-art .hero-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .login-art > small {
    display: none;
  }

  .login-panel {
    align-items: start;
    padding: 30px 22px 38px;
  }

  .login-card h2 {
    font-size: 28px;
  }

  .login-card > p {
    margin-bottom: 24px;
  }

  .login-card .input {
    min-height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .login-art { gap: 26px; padding: 20px 18px 23px !important; }
  .login-brand { width: 122px; height: 41px; min-width: 122px; min-height: 41px; flex-basis: 41px; }
  .login-art .hero-copy h1 { font-size: 28px; }
  .login-art .hero-copy p { font-size: 14px; }
  .login-panel { padding: 26px 18px 32px; }
}
