/* Banner panel next to the Sign in / Sign up form (US #765).
   Tablet and desktop: the panel fills the left part of the card edge to edge (no inner padding, like the media panel of a split auth screen);
   the form has its own padding. The panel is positioned absolutely, so it never makes the card taller than the form (the page has to fit the screen).
   Mobile: the panel is under the form, as wide as the form fields. Without a banner none of these rules is used (the file is not even loaded). */

.auth-banner-col { min-width: 0; }
.auth-banner { position: relative; width: 100%; height: min(100vw, 420px); border-radius: 12px; overflow: hidden; background: #1b2a49; color: #fff; isolation: isolate; }

/* the outgoing slide fades out first, the incoming one fades in a little later: two captions never overlap */
.ab-slide { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.ab-slide.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease .25s, visibility 0s; }
.ab-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-slide--text { background-image: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .32)); }
.ab-bg { position: absolute; inset: 0; overflow: hidden; }
.ab-bg:before, .ab-bg:after { content: ""; position: absolute; border-radius: 50%; background: #fff; opacity: .10; }
.ab-bg:before { width: 70%; aspect-ratio: 1; right: -22%; top: -10%; }
.ab-bg:after { width: 46%; aspect-ratio: 1; left: -14%; bottom: 12%; opacity: .07; }
.ab-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .76) 100%); }
.ab-brand { position: absolute; left: 20px; top: 18px; font: 800 12px/1 Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .95; color: var(--ab-text, #fff); }
.ab-pill { position: absolute; right: 16px; top: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 30px; background: var(--ab-btn-bg, rgba(255, 255, 255, .2)); border: 1px solid var(--ab-btn-bg, rgba(255, 255, 255, .4)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ab-btn-fg, #fff); font: 700 12px/1 Montserrat, sans-serif; text-decoration: none; transition: background .2s; }
.ab-pill:hover { background: var(--ab-btn-bg, rgba(255, 255, 255, .34)); color: var(--ab-btn-fg, #fff); text-decoration: none; filter: brightness(1.08); }
.ab-corner { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font: 700 16px/1 Arial, sans-serif; transition: transform .25s; }
.ab-link:hover .ab-corner { transform: translate(2px, -2px); }
.ab-cap { position: absolute; left: 22px; right: 22px; bottom: 52px; }
.ab-cap h3 { margin: 0 0 8px; font: 800 23px/1.15 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .01em; color: var(--ab-text, #fff); overflow-wrap: anywhere; }
.ab-cap p { margin: 0; font: 500 14px/1.5 Montserrat, sans-serif; opacity: .94; color: var(--ab-text, #fff); }
.ab-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 36px 24px 64px; }
.ab-text h3 { margin: 0 0 12px; font: 800 25px/1.14 Montserrat, sans-serif; text-transform: uppercase; color: var(--ab-text, #fff); overflow-wrap: anywhere; }
.ab-text p { margin: 0 0 20px; font: 500 15px/1.5 Montserrat, sans-serif; color: var(--ab-text, rgba(255, 255, 255, .93)); }
.ab-btn { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: var(--ab-btn-bg, #fff); color: var(--ab-btn-fg, #FB5348); border-radius: 8px; padding: 12px 20px; font: 800 12px/1 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: transform .2s; }
.ab-btn:hover { transform: translateY(-2px); color: var(--ab-btn-fg, #E5362B); text-decoration: none; filter: brightness(1.06); }
.ab-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.ab-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .35s, background .35s; }
.ab-dots button:hover { background: rgba(255, 255, 255, .8); }
.ab-dots button.is-on { width: 28px; background: #fff; }
.ab-dots button:focus-visible, .ab-pill:focus-visible, .ab-btn:focus-visible, .ab-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* tablet and desktop: the panel at the left (edge to edge), the form at the right */
@media (min-width: 768px) {
    .daomainsite-auth .auth__card.has-banner { max-width: 960px; padding: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; }
    .daomainsite-auth .auth__card--wide.has-banner { max-width: 1040px; }
    .daomainsite-auth .auth__card.has-banner .auth__main { padding: 44px 48px 36px; align-self: center; }
    .daomainsite-auth .auth__card.has-banner .auth__title { font-size: 28px; line-height: 36px; }
    .auth-banner-col { position: relative; min-height: 420px; }
    .auth-banner { position: absolute; inset: 0; width: auto; height: auto; border-radius: 12px 0 0 12px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .daomainsite-auth .auth__card.has-banner .auth__main { padding: 28px 24px 22px; }
    .daomainsite-auth .auth__card.has-banner .auth__title { font-size: 22px; line-height: 28px; }
    .ab-cap { left: 16px; right: 16px; bottom: 46px; }
    .ab-cap h3 { font-size: 18px; }
    .ab-cap p { font-size: 13px; }
    .ab-text { padding: 28px 18px 56px; }
    .ab-text h3 { font-size: 20px; }
    .ab-text p { font-size: 14px; margin-bottom: 16px; }
    .ab-brand { left: 14px; }
    .ab-pill { right: 10px; padding: 7px 10px; }
}

/* mobile: the banner goes under the form, inside the card */
@media (max-width: 767px) {
    .daomainsite-auth .auth__card.has-banner { display: flex; flex-direction: column; }
    .daomainsite-auth .auth__card.has-banner .auth__main { order: 1; }
    .auth-banner-col { order: 2; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-slide, .ab-dots button, .ab-btn, .ab-corner { transition: none; }
}
