/* PROJ-1 login — Bayer design system (from design skill mock). */
@font-face {
  font-family: "Bayer Sans";
  src: url("fonts/BayerSans-Light.3c33da3e02ad.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bayer Sans";
  src: url("fonts/BayerSans-Regular.6fd58c4ff1fd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bayer Sans";
  src: url("fonts/BayerSans-Medium.5d03f9f2b01c.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bayer Sans";
  src: url("fonts/BayerSans-Bold.991f90b381db.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --login-panel-max: 26rem;
}

* { box-sizing: border-box; }

body.login-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Bayer Sans", "Noto Sans", system-ui, Arial, sans-serif;
  color: #0F172B;
  background: #F8FAFC;
  -webkit-font-smoothing: antialiased;
}

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.login__brand {
  position: relative;
  background: linear-gradient(155deg, #10384F 0%, #007CBF 55%, #00607E 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 56px 64px;
  overflow: hidden;
}

.login__brand::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 80%;
  background: #5EA611;
  opacity: 0.22;
  transform: skewX(-12deg);
  pointer-events: none;
}

.login__brand-inner {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.login__cross {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 28px;
}

.login__product {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.login__product strong {
  font-weight: 700;
}

.login__tagline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 22rem;
}

.login__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: #fff;
}

.login__card {
  width: 100%;
  max-width: var(--login-panel-max);
}

.login__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.login__heading {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0F172B;
}

.login__lede {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #64748B;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.2, 0, 0, 1);
}

.btn:focus-visible {
  outline: 2px solid #007CBF;
  outline-offset: 3px;
}

.btn--primary {
  background: #007CBF;
  color: #fff;
}

.btn--primary:hover {
  background: #00607E;
}

.btn__arrow {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: currentColor;
  position: relative;
  transform: skewX(-12deg);
}

.btn__arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.login__note {
  margin: 20px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748B;
}

@media (max-width: 768px) {
  .login {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .login__brand {
    padding: 32px 24px 40px;
    min-height: 42vh;
  }

  .login__cross {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  .login__panel {
    padding: 32px 24px 48px;
    align-items: flex-start;
  }
}
