/* Reusable left brand panel for auth screens. Everything is scoped under .jak-auth-panel.
   Figma: Registration frames 3328:27410 / 3328:27634 / 3328:27718 (1728px wide). */
.jak-auth-panel {
    position: relative;
    display: none;
    min-height: 0;
    color: #fff;
    font-family: "JAK Shell Sans", "Söhne", "Open Sans", sans-serif;
    overflow: hidden;
}

.jak-auth-panel__watermark {
    position: absolute;
    top: 50%;
    inset-inline-start: 10%;
    width: 918px;
    height: 918px;
    transform: translateY(-50%);
    opacity: .1;
    background: url("../svg/reg/watermark.svg") center / 83% no-repeat;
    pointer-events: none;
}

.jak-auth-panel__logo {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    display: block;
    z-index: 2;
}

.jak-auth-panel__logo img { display: block; width: 220px; height: auto; }

.jak-auth-panel__slides {
    position: relative;
    height: 100%;
    z-index: 1;
}

.jak-auth-panel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 32px 96px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s;
}

.jak-auth-panel__slide.is-active { opacity: 1; visibility: visible; }

.jak-auth-panel__art { width: 419px; max-width: 100%; height: auto; margin-bottom: 16px; }

.jak-auth-panel__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 16px;
    font-size: 38px;
    line-height: 56px;
    font-weight: 500;
    letter-spacing: -.38px;
    color: #fff;
}

/* both lines centred (the Figma stagger was reported as misaligned) */
.jak-auth-panel__title span { display: block; text-align: center; }
.jak-auth-panel__title--single { display: block; }

.jak-auth-panel__text {
    max-width: 380px;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -.14px;
    color: #edeaf5;
}

/* 4-step list */
.jak-auth-panel__slide--steps { align-items: stretch; padding-inline: 10px 44px; }
.jak-auth-panel__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.jak-auth-panel__steps li { display: flex; flex-direction: column; align-items: flex-start; }
.jak-auth-panel__num {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #b8e600;
    color: #1a1026;
    font-size: 20px;
    font-weight: 500;
}
.jak-auth-panel__card {
    align-self: stretch;
    margin-inline-start: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 16px;
    background: #b3dfff;
    border-end-end-radius: 28px;
    color: #1a1026;
    text-align: start;
}
.jak-auth-panel__card strong { font-size: 20px; line-height: 24px; font-weight: 500; }
.jak-auth-panel__card span { font-size: 14px; line-height: 20px; color: #333; }

/* dots */
.jak-auth-panel__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 56px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.jak-auth-panel__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.jak-auth-panel__dots button.is-active { width: 40px; background: #f7f5fb; }

@media (prefers-reduced-motion: reduce) {
    .jak-auth-panel__slide, .jak-auth-panel__dots button { transition: none; }
}

.jak-auth-panel__dots button:focus { outline: 0; }
.jak-auth-panel__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.jak-auth-panel__art--truck { width: 371px; margin-bottom: 8px; }
.jak-auth-panel__smsa { display: block; width: 371px; max-width: 100%; height: auto; margin: 0 auto 24px; }
.jak-auth-panel__title--single { margin-bottom: 12px; }

/* Step list slide: starts below the logo and compacts on short windows instead of running under the logo */
.jak-auth-panel__slide--steps { justify-content: flex-start; padding-top: 108px; overflow-y: auto; scrollbar-width: none; }
@media (max-height: 800px) {
    .jak-auth-panel__slide--steps { padding-top: 96px; padding-bottom: 56px; }
    .jak-auth-panel__steps { gap: 4px; }
    .jak-auth-panel__num { width: 32px; height: 32px; font-size: 16px; }
    .jak-auth-panel__card { margin-inline-start: 32px; padding: 12px 16px; gap: 2px; }
    .jak-auth-panel__card strong { font-size: 17px; line-height: 20px; }
    .jak-auth-panel__card span { font-size: 13px; line-height: 18px; }
}
