/* Login v2: Darbi (customer-branded) sign-in panel on the right, Sprint3 (advertise us) panel on the left.
   The Darbi panel is first in the DOM so it leads on phones and in tab order; grid areas place it on the right on desktop.
   Loaded after darbi.css; overrides the login-screen rules only. */

.dz-login { --v2-navy: #0b111e; --v2-blue: #2563eb; --v2-blue-dark: #1d4ed8; --v2-sky: #38bdf8;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-family: var(--font-sans); background: #fff;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "brand panel"; min-height: 100vh; }
.dz-login__brand { grid-area: brand; }
.dz .dz-login__panel[data-theme="light"] { grid-area: panel; }

/* ---------- Sprint3 panel (left) ---------- */
/* Uses the Darbi tokens (warm cream ink, Archivo headings, Plex Mono labels) so the panel matches the brand instead of a generic slate/sky dark theme. */
.dz-login__brand { display: flex; flex-direction: column; justify-content: center; background: var(--brand-navy, #1b2636);
  --font-display: Archivo, "Helvetica Neue", Arial, sans-serif; --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ink: #f2efe8; --ink-soft: #c9cfda; --ink-muted: #a7b0bf; --accent: #8ec3f7; --hairline: rgba(242, 239, 232, .16);
  font-family: var(--font-sans); color: var(--ink); }
.dz-login__brand-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 56px 64px; max-width: 700px; }
.dz-login__s3lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.dz-login__s3lockup span { padding-left: 14px; border-left: 1px solid var(--hairline); font: 500 11px/16px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.dz-login__s3logo { display: block; height: 44px; width: auto; }

.dz-eyebrow { display: inline-block; margin: 0 0 18px; font: 500 11px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.dz-display { margin: 0 0 18px; max-width: 14em; font: 800 44px/1.08 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.dz-lead { margin: 0; max-width: 500px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Value props: ruled rows (title | description), no boxes. */
.dz-cards { display: grid; width: 100%; margin: 36px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--hairline); }
.dz-card { display: grid; grid-template-columns: 170px 1fr; gap: 4px 24px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--hairline); }
.dz-card strong { font: 700 16px/22px var(--font-display); letter-spacing: -0.005em; color: var(--ink); }
.dz-card span { font-size: 14px; line-height: 22px; color: var(--ink-soft); }

.dz-login__services { display: grid; gap: 12px; width: 100%; margin-top: 32px; }
.dz-login__services h2 { margin: 0; font: 500 11px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
/* Services are plain text; the ones with a tooltip get a dotted underline and an info mark instead of a pill. */
.dz-chips { gap: 10px 26px; }
.dz-chip { height: auto; padding: 0; border: 0; border-radius: 0; background: none; font: 600 15px/22px var(--font-display); color: var(--ink); }

/* Service info tooltips. Opaque white card with dark text (AA on white) and a high z-index so nothing behind it bleeds through. */
.dz-chip--tip { position: relative; }
.dz-chip__btn { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0; padding: 2px 0; border: 0; background: none; font: inherit; color: inherit; cursor: help;
  text-decoration: underline dotted rgba(142, 195, 247, .7); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.dz-chip--tip:hover .dz-chip__btn, .dz-chip--tip:focus-within .dz-chip__btn { color: var(--accent); text-decoration-color: var(--accent); }
.dz-chip__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.dz-chip__i { flex: none; color: var(--accent); opacity: .85; font-size: 15px !important; }

.dz-tip { position: absolute; z-index: 50; top: calc(100% + 10px); left: 0; display: block; box-sizing: border-box;
  width: min(320px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 12px; background: #fff; color: #334155;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 12px 32px rgba(0, 0, 0, .45);
  font: 400 13px/1.6 var(--font-sans); letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; cursor: default;
  transform: translateX(var(--tip-shift, 0px)); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.dz-tip::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge across the gap */
.dz-tip__title { display: block; margin-bottom: 6px; font: 700 15px/1.35 var(--font-display); color: #1d4ed8; }
.dz-tip__body { display: block; }
.dz-chip--tip:not([data-dismissed]):is(:hover, :focus-within) .dz-tip { opacity: 1; visibility: visible; }

.dz-login__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; width: 100%; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; }
.dz-login__brand a { color: var(--accent); text-decoration: none; }
.dz-login__brand a:hover { text-decoration: underline; }
.dz-login__cta a:not(.dz-btn) { display: inline-block; padding-block: 4px; }
.dz-login__brand .dz-btn { color: #fff; text-decoration: none; padding: 10px 20px; }
.dz-login__brand .dz-btn:hover { text-decoration: none; }
.dz-login__cta { container-type: inline-size; }
.dz-login__cta-contact { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
/* Button + site link + contact need ~510px on one line. Narrower than that the contact wraps, so left-align it instead of leaving it stranded at the right edge. (Must come after the rule above: equal specificity.) */
@container (max-width: 509px) { .dz-login__cta-contact { margin-left: 0; width: 100%; } }

/* ---------- Darbi panel (right) ---------- */
.dz .dz-login__panel[data-theme="light"] { display: flex; flex-direction: column; background: #fff; box-shadow: none;
  --ink: #0f172a; --ink-muted: #64748b; --line: #cbd5e1; --hairline: #f1f5f9; --surface-raised: #fff; --surface: #fff;
  --primary: var(--v2-blue); --primary-hover: var(--v2-blue-dark); --accent: var(--v2-blue); --focus: var(--v2-blue); }

.dz-login__photo { display: block; min-height: 0; position: relative; flex: none; height: clamp(190px, 27vh, 280px); margin: 0; overflow: hidden; background: var(--v2-navy); }
.dz-login__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 38%; display: block; }
.dz-login__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(11, 17, 30, .7), transparent 45%, rgba(11, 17, 30, .75)); }
/* No backing box: the logo is transparent with light lettering, so the top scrim above and a soft shadow keep it legible over the photo. */
.dz-login__logo { position: absolute; z-index: 2; top: 20px; left: 32px; display: inline-flex; }
.dz-login__logo img { display: block; height: 40px; width: auto; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
/* Hero carousel: 3 slides x 6s = 18s loop. The first slide starts 1s in (negative delay) so it is already visible on load; fill-mode both keeps later slides hidden until their delay. */
.dz-slide { opacity: 0; animation: dz-slide 18s ease-in-out infinite both; }
.dz-slide:nth-child(1) { animation-delay: -1s; }
.dz-slide:nth-child(2) { animation-delay: 5s; }
.dz-slide:nth-child(3) { animation-delay: 11s; }
/* Per-slide crop: the banner is much wider than these photos, so anchor each near the top to keep the riders' heads in frame. */
.dz-login__photo > .dz-slide:nth-child(2) { object-position: 50% 5%; }
.dz-login__photo > .dz-slide:nth-child(3) { object-position: 50% 20%; }
.dz-login__photo:hover .dz-slide { animation-play-state: paused; }
@keyframes dz-slide { 0% { opacity: 0; } 5.5% { opacity: 1; } 33.3% { opacity: 1; } 38.9% { opacity: 0; } 100% { opacity: 0; } }
.dz-login__photo::before, [data-theme="light"] .dz-login__photo::before { content: none; } /* darbi.css navy strip; the ::after scrim replaces it */
.dz-login__photo figcaption { position: absolute; z-index: 2; left: 32px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border-radius: 0; background: none; color: #fff; font: 700 11px/16px var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }

.dz-login__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 48px; }
.dz-login__form { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.dz-login__head { display: grid; gap: 6px; margin-bottom: 8px; }
.dz-login__kicker { margin: 0; font: 700 11px/16px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--v2-blue); }
.dz-login__head h1 { margin: 0; font: 800 30px/1.2 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.dz-login__head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.dz-login__head p.dz-login__kicker { color: var(--v2-blue); font-size: 11px; line-height: 16px; }

.dz-field { gap: 6px; }
.dz-field__label { font-size: 12px; line-height: 16px; font-weight: 600; color: #334155; }
/* Border and placeholder colours darkened to meet WCAG 2.2 AA (3:1 for the control edge, 4.5:1 for placeholder text); same slate hue as before. */
.dz-input { height: auto; padding: 10px 14px; border-radius: 6px; border-color: #8494aa; font-size: 14px; line-height: 20px; color: #0f172a; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.dz-input::placeholder { color: #64748b; }
.dz-input:hover { border-color: #64748b; }
/* Needs the extra .dz: darbi.css resets box-shadow on .dz .dz-input:focus at the same weight, which was cancelling this ring. */
.dz .dz-input:focus-visible { outline: 0; border-color: var(--v2-blue); box-shadow: 0 0 0 1px var(--v2-blue); }
.dz-input--with-action { padding-right: 46px; }
/* Read-only (the resolved domain): a fixed value, not an empty field waiting for input. */
.dz .dz-input[readonly]:not([aria-busy]) { border-color: #e2e8f0; background: #f8fafc; color: #334155; box-shadow: none; }
.dz .dz-input[readonly]:hover { border-color: #e2e8f0; }
.dz-field__action { top: 0; bottom: 0; right: 0; height: auto; padding: 0 14px; border-radius: 0 6px 6px 0; color: #64748b; display: inline-flex; align-items: center; }
.dz-field__action .rzi { display: block; font-size: 20px !important; }
.dz-field__action:hover { background: transparent; color: #1e293b; }
.dz-login__meta { padding-top: 2px; gap: 12px; flex-wrap: wrap; }
.dz-check { gap: 10px; min-height: 28px; font-size: 12px; font-weight: 500; color: #475569; }
.dz-check input { width: 16px; height: 16px; }
.dz-login__meta .dz-link { font-size: 12px; font-weight: 600; text-decoration: none; }
.dz-login__meta .dz-link:hover { text-decoration: underline; }
/* Small text links keep their look but get a taller hit area (>=24px, WCAG 2.5.8); negative margin stops it moving anything. */
.dz-link { padding-block: 6px; margin-block: -6px; }

.dz-btn { min-height: 0; padding: 10px 16px; border-radius: 6px; font: 600 14px/20px var(--font-display); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.dz-login__form > .dz-btn--primary { margin-top: 4px; }
.dz-btn--primary { background: var(--v2-blue); color: #fff; }
.dz-btn--primary:hover { background: var(--v2-blue-dark); }
.dz-btn--primary:active { background: #1e40af; }
.dz-btn:focus-visible { outline: 2px solid var(--v2-blue); outline-offset: 2px; border-radius: 6px; }

/* Brand strip pinned under the form */
.dz-marquee { flex: none; margin: 0; padding: 16px 32px 12px; border-top: 1px solid #f1f5f9; gap: 10px; }
.dz-marquee__head { justify-content: space-between; }
.dz-marquee__title { font: 700 11px/16px var(--font-display); letter-spacing: .1em; color: #64748b; }
.dz-marquee__more { font-size: 12px; color: #64748b; }
.dz-marquee__viewport { padding: 2px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.dz-marquee__list { gap: 28px; padding-right: 28px; animation-duration: 90s; } /* padding-right = gap keeps the loop seamless */
/* Brand names are plain text (no grey pill). The 5px vertical padding keeps the strip the same height it had with pills. */
.dz-marquee__list li.dz-brand { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0;
  font: 700 12px/16px var(--font-display); letter-spacing: .02em; text-transform: uppercase; color: #334155; white-space: nowrap; }
.dz-marquee__list li.dz-brand--mixed { text-transform: none; letter-spacing: 0; }
.dz-marquee__list li.dz-brand--solid { padding: 4px 12px; border: 1px solid #dc2626; border-radius: 6px; background: #dc2626; color: #fff; } /* ABUS keeps its red block */
.dz-brand__icon { font-size: 11px; line-height: 1; }
.dz-brand__icon--dot, .dz-brand__icon--star, .dz-brand__icon--slash { color: #dc2626; }
.dz-brand__icon--dot { font-size: 8px; }
.dz-brand__icon--smile { color: #facc15; font-size: 14px; }
.dz-brand__icon--chevron { color: #64748b; font-size: 13px; font-weight: 700; }

.dz-login__foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 32px 16px; border-top: 1px solid #f1f5f9; font-size: 12px; color: #64748b; }
.dz-login__foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.dz-login__foot a { padding-block: 6px; margin-block: -6px; color: #64748b; text-decoration: none; }
.dz-login__foot a:hover { color: #475569; text-decoration: underline; }
.dz-login__copy { margin-left: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dz-login__brand-inner { padding: 40px; }
  .dz-display { font-size: 34px; }
  .dz-login__main { padding: 32px; }
  .dz-login__logo, .dz-login__photo figcaption { left: 24px; }
}
@media (max-width: 900px) {
  /* Stacked: Darbi login first, Sprint3 panel underneath */
  .dz-login { grid-template-columns: 1fr; grid-template-areas: "panel" "brand"; }
  .dz-login__brand-inner { padding: 40px 32px; max-width: none; }
  .dz-login__photo { height: 220px; }
  .dz-login__main { padding: 32px 24px; }
  .dz-login__cta-contact { margin-left: 0; width: 100%; }
  /* Touch layout: 16px text stops iOS Safari zooming the page when a field is focused. */
  .dz-input:not(.dz-input--code) { font-size: 16px; }
}
@media (max-width: 560px) {
  .dz-login__photo { height: 180px; }
  .dz-login__logo { top: 14px; left: 16px; }
  .dz-login__logo img { height: 32px; }
  .dz-login__photo figcaption { left: 16px; bottom: 12px; }
  .dz-login__main { padding: 24px 16px; }
  .dz-marquee, .dz-login__foot { padding-left: 16px; padding-right: 16px; }
  .dz-login__brand-inner { padding: 32px 16px; }
  .dz-display { font-size: 30px; }
  .dz-card { grid-template-columns: 1fr; }
  .dz-login__s3logo { height: 36px; }
  .dz-login__cta .dz-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dz-tip { transition: none; }
  .dz-slide { animation: none; }
  .dz-slide:first-child { opacity: 1; }
}
