/* Sign-in only: the same Söhne fonts, black canvas and square geometry as the main site. */
@font-face {
  font-family: 'Minerva Söhne';
  src: url('brand/soehne-regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Minerva Söhne Breit';
  src: url('brand/soehne-breit-bold.otf') format('opentype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
.auth-nav { display: none; }
.auth-cobrand { display: none; }
.auth-screen .auth-cobrand { display: flex; align-items: center; margin-left: 24px; padding-left: 24px; border-left: 1px solid #333; }
.auth-bosch-plate { display: block; }
.auth-bosch-plate img { display: block; width: 160px; height: auto; filter: brightness(0) invert(1); }
.auth-screen {
  --bg: #000;
  --text: #f3f2f2;
  --muted: #aaa;
  --font-ui: 'Minerva Söhne', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Minerva Söhne Breit', 'Helvetica Neue', Arial, sans-serif;
  background: #000;
  font-size: 16px;
}
.auth-screen .grain { display: none; }
.auth-screen .bar { background: #000; border-bottom: 1px solid #202020; }
.auth-screen .bar-in,
.auth-screen .wrap { max-width: 1344px; padding-inline: clamp(24px, 6vw, 80px); }
.auth-screen .bar-in { min-height: 100px; flex-wrap: nowrap; padding-block: 24px; }
.auth-screen .logo { height: 40px; max-width: none; }
.auth-screen .brand { flex-shrink: 0; flex-wrap: nowrap; gap: 0; }
.auth-screen #top-right:empty { display: none; }
.auth-screen .auth-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.auth-nav > span { background: #191919; padding: 12px 17px; color: #f3f2f2; }
.auth-nav a { color: #aaa; text-decoration: none; }
.auth-nav a span { margin-left: 8px; }
.auth-nav a:hover { color: #fff; }
.auth-screen .wrap { padding-block: 0; }
.auth-screen .auth-layout {
  min-height: calc(100svh - 101px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0 clamp(48px, 8vw, 112px);
  place-items: stretch;
  padding: 0;
}
.auth-form-column { display: flex; align-items: center; padding-block: 56px; }
.auth-screen .login-card {
  max-width: 440px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.auth-screen .eyebrow {
  margin: 0 0 22px;
  font: 400 12px/1.4 var(--font-ui);
  letter-spacing: .12em;
  color: #aaa;
}
.auth-screen .login-card h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
  margin: 0 0 24px;
  text-wrap: initial;
}
.auth-screen .login-sub { font-size: 16px; line-height: 1.65; margin: 0 0 34px; color: #aaa; }
.auth-screen .lf { margin: 0 0 18px; }
.auth-screen .lf span { font: 400 14px/1.4 var(--font-ui); text-transform: none; letter-spacing: 0; color: #f3f2f2; margin-bottom: 10px; }
.auth-screen .lf input {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #444;
  border-radius: 0;
  background: #101010;
  font-size: 16px;
  color: #fff;
  transition: border-color .15s;
}
.auth-screen .lf input::placeholder { color: #858585; opacity: 1; }
.auth-screen .lf input:hover { border-color: #777; }
.auth-screen .lf input:focus { border-color: #f3f2f2; box-shadow: none; outline: 1px solid #f3f2f2; outline-offset: 2px; }
.auth-screen .auth-help { margin: -5px 0 0; color: #aaa; font-size: 13px; line-height: 1.6; }
.auth-screen .lerr { min-height: 0; margin: 18px 0; font-size: 14px; line-height: 1.5; color: #ff846e; }
.auth-screen .lerr:empty { margin: 0; }
.auth-screen .btn {
  border-radius: 0;
  padding: 15px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.015em;
  text-transform: none;
  line-height: 1.4;
  transition: background .15s;
}
/* The darker red from the main site's palette keeps white button text legible. */
.auth-screen .btn.primary { background: #dd2b0f; border-color: #dd2b0f; color: #fff; }
.auth-screen .btn.primary:hover { background: #bf240c; border-color: #bf240c; }
.auth-screen .btn.wide { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-top: 26px; min-height: 54px; }
.auth-screen .btn.wide > span:last-child { font: 400 24px/1 var(--font-ui); }
.auth-screen .linkbtn { color: #aaa; font-family: var(--font-ui); font-weight: 400; font-size: 14px; }
.auth-screen .linkbtn:hover { color: #fff; }
.auth-screen .alt-mode { margin-top: 16px; min-height: 44px; }
.auth-screen .alt-mode span { margin-left: 8px; }
.auth-screen :focus-visible { outline: 2px solid #f3f2f2; outline-offset: 5px; }
.auth-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; padding: 30px 0 74px; }
.auth-roger { display: block; width: auto; height: min(64svh, 610px); min-height: 420px; max-width: 100%; object-fit: contain; }
.auth-motto { position: absolute; bottom: 36px; left: 0; right: 0; margin: 0; font: 800 clamp(22px, 2.5vw, 32px)/1.12 var(--font-display); letter-spacing: -.025em; text-align: center; }
.auth-motto span { color: #ec3013; }
.auth-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #242424; padding: 22px 0; font-size: 12px; color: #888; }
.auth-message .login-sub { overflow-wrap: anywhere; }
.auth-message .actions { gap: 16px; }
@media (min-width: 1500px) { .auth-visual { min-height: 700px; } }
@media (max-width: 860px) {
  .auth-screen .auth-layout { column-gap: 32px; }
  .auth-screen .bar-in, .auth-screen .wrap { padding-inline: 28px; }
  .auth-screen .auth-nav { gap: 16px; }
  .auth-screen .auth-nav > span { display: none; }
  .auth-screen .login-card h1 { font-size: 40px; }
  .auth-screen .auth-desktop-break { display: none; }
}
@media (max-width: 680px) {
  .auth-screen .bar-in { min-height: 116px; padding-block: 20px 16px; flex-wrap: wrap; gap: 16px; }
  .auth-screen .logo { height: 30px; }
  .auth-screen .auth-cobrand { margin-left: 16px; padding-left: 16px; }
  .auth-bosch-plate img { width: 120px; }
  .auth-screen .auth-nav { font-size: 12px; width: 100%; justify-content: flex-end; }
  .auth-screen .auth-nav a span { margin-left: 4px; }
  .auth-screen .bar-in, .auth-screen .wrap { padding-inline: 24px; }
  .auth-screen .auth-layout { min-height: calc(100svh - 117px); grid-template-columns: 1fr; }
  .auth-form-column { justify-content: center; padding: 48px 0 40px; }
  .auth-screen .login-card h1 { font-size: clamp(36px, 8.7vw, 52px); }
  .auth-screen .login-sub { margin-bottom: 30px; }
  .auth-screen .eyebrow { margin-bottom: 18px; }
  .auth-visual { display: none; }
  .auth-footer { font-size: 11px; padding: 20px 0; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .auth-screen .bar-in, .auth-screen .wrap { padding-inline: 20px; }
  .auth-screen .logo { height: 25px; }
  .auth-screen .auth-cobrand { margin-left: 12px; padding-left: 12px; }
  .auth-bosch-plate img { width: 106px; }
  .auth-screen .login-card h1 { font-size: 32px; }
  .auth-screen .btn { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .auth-screen * { transition: none !important; } }
