/*
 * Page de connexion BoxToPlay (/{lang}/login).
 * Mise en page en deux colonnes : formulaire à gauche, vitrine du panel à droite.
 * Surface sombre de marque dans les deux thèmes, le logo étant conçu pour un fond sombre.
 */
.btp-auth {
    --auth-bg: #f6f9fc;
    --auth-side: #ffffff;
    --auth-surface: #ffffff;
    --auth-field: #ffffff;
    --auth-border: #dce6ef;
    --auth-border-strong: #b9c9d8;
    --auth-border-hover: #94aabf;
    --auth-text: #233a52;
    --auth-muted: #667b90;
    --auth-placeholder: #8a9bad;
    --auth-primary: #0e749e;
    --auth-primary-strong: #1385ae;
    --auth-primary-hover: #0b5f82;
    --auth-primary-text: #ffffff;
    --auth-link: #0e749e;
    --auth-link-hover: #0b5f82;
    --auth-accent-soft: rgba(19, 133, 174, 0.1);
    --auth-accent-border: rgba(19, 133, 174, 0.3);
    --auth-focus-ring: rgba(14, 116, 158, 0.18);
    --auth-hover-surface: #f1f6fa;
    --auth-card-shadow: 0 6px 20px rgba(30, 58, 82, 0.06);
    --auth-danger: #9f1239;
    --auth-danger-bg: #fff1f2;
    --auth-danger-border: #fecdd3;
    --auth-success: #166534;
    --auth-success-bg: #ecfdf5;
    --auth-success-border: #a7f3d0;
    --auth-showcase-glow-1: rgba(19, 133, 174, 0.12);
    --auth-showcase-glow-2: rgba(104, 207, 232, 0.16);
    --auth-showcase-bg: #eef5fa;
    --auth-mockup-bg: #ffffff;
    --auth-mockup-nav: #f3f7fb;
    --auth-mockup-card: #f6f9fc;
    --auth-mockup-line: #d5e0ea;
    --auth-mockup-line-strong: #b4c4d4;
    --auth-mockup-track: #e4ecf3;
    --auth-mockup-shadow: 0 24px 60px rgba(30, 58, 82, 0.14);
    --auth-mockup-ok: #22c55e;
    --auth-mockup-ok-soft: rgba(34, 197, 94, 0.28);
    --auth-mockup-off: #94a3b8;
    --auth-dot: #c4d1dd;
    --auth-logo-filter: invert(1) hue-rotate(180deg) saturate(1.4);
    color-scheme: light;
    min-height: 100vh;
    margin: 0;
    background: var(--auth-bg);
    color: var(--auth-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
}

html.btp-auth-dark .btp-auth {
    --auth-bg: #151b25;
    --auth-side: #1b2230;
    --auth-surface: #232c3b;
    --auth-field: #1a212d;
    --auth-border: #354257;
    --auth-border-strong: #4a5a72;
    --auth-border-hover: #62738c;
    --auth-text: #e2edf7;
    --auth-muted: #9fb0c4;
    --auth-placeholder: #6f8197;
    --auth-primary: #68cfe8;
    --auth-primary-strong: #2bb3d6;
    --auth-primary-hover: #8adcef;
    --auth-primary-text: #0b1a24;
    --auth-link: #68cfe8;
    --auth-link-hover: #9be2f2;
    --auth-accent-soft: rgba(104, 207, 232, 0.12);
    --auth-accent-border: rgba(104, 207, 232, 0.3);
    --auth-focus-ring: rgba(104, 207, 232, 0.18);
    --auth-hover-surface: rgba(255, 255, 255, 0.05);
    --auth-card-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    --auth-danger: #fda4af;
    --auth-danger-bg: rgba(248, 113, 113, 0.12);
    --auth-danger-border: rgba(248, 113, 113, 0.35);
    --auth-success: #86efac;
    --auth-success-bg: rgba(52, 211, 153, 0.12);
    --auth-success-border: rgba(52, 211, 153, 0.35);
    --auth-showcase-glow-1: rgba(104, 207, 232, 0.12);
    --auth-showcase-glow-2: rgba(43, 179, 214, 0.08);
    --auth-showcase-bg: #151b25;
    --auth-mockup-bg: #1d2533;
    --auth-mockup-nav: #192030;
    --auth-mockup-card: #232c3b;
    --auth-mockup-line: #3a475b;
    --auth-mockup-line-strong: #4a5a72;
    --auth-mockup-track: #2f3a4d;
    --auth-mockup-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --auth-mockup-ok: #4ade80;
    --auth-mockup-ok-soft: rgba(74, 222, 128, 0.3);
    --auth-mockup-off: #64748b;
    --auth-dot: #4a5a72;
    --auth-logo-filter: none;
    color-scheme: dark;
}

.btp-auth-layout {
    display: flex;
    min-height: 100vh;
}

/* Colonne formulaire */
.btp-auth-side {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 580px;
    min-height: 100vh;
    padding: 28px 32px 22px;
    background: var(--auth-side);
    border-right: 1px solid var(--auth-border);
    box-sizing: border-box;
}

.btp-auth-brand {
    display: inline-flex;
    align-items: center;
}

.btp-auth-brand img {
    display: block;
    filter: var(--auth-logo-filter);
    height: 40px;
    width: auto;
}

.btp-auth-main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
}

.btp-auth-card {
    padding: 30px 28px;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    box-shadow: var(--auth-card-shadow);
}

.btp-auth-heading {
    margin: 0 0 24px;
    text-align: center;
}

.btp-auth-heading h1 {
    margin: 0 0 8px;
    color: var(--auth-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.btp-auth-heading p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Champs */
.btp-auth .btp-auth-field {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.btp-auth .btp-auth-field-row {
    display: flex;
    gap: 12px;
}

.btp-auth .btp-auth-field-row > .btp-auth-field {
    flex: 1 1 0;
    min-width: 0;
}

.btp-auth .btp-auth-label {
    display: block;
    margin: 0 0 6px;
    color: var(--auth-text);
    font-size: 13px;
    font-weight: 600;
}

.btp-auth .btp-auth-input-wrap {
    position: relative;
}

.btp-auth .btp-auth-input,
.btp-auth .btp-auth-input:focus {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    background: var(--auth-field);
    color: var(--auth-text);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.btp-auth .btp-auth-input::placeholder {
    color: var(--auth-placeholder);
    opacity: 1;
}

.btp-auth .btp-auth-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px var(--auth-focus-ring);
    outline: 0;
}

.btp-auth .btp-auth-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--auth-field) inset;
    -webkit-text-fill-color: var(--auth-text);
    caret-color: var(--auth-text);
}

.btp-auth .btp-auth-input-wrap.has-toggle .btp-auth-input {
    padding-right: 46px;
}

.btp-auth .btp-auth-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    color: var(--auth-muted);
    border: 0;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.btp-auth .btp-auth-password-toggle:hover,
.btp-auth .btp-auth-password-toggle:focus-visible {
    color: var(--auth-text);
}

.btp-auth .btp-auth-password-toggle:focus-visible {
    outline: 2px solid var(--auth-primary);
    outline-offset: -4px;
}

.btp-auth .btp-auth-field.has-error .btp-auth-input {
    border-color: var(--auth-danger);
}

.btp-auth .btp-auth-field .help-block {
    margin: 6px 0 0;
    color: var(--auth-danger);
    font-size: 12px;
}

/* Ligne options : se souvenir de moi, mot de passe oublié */
.btp-auth .btp-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 20px;
}

.btp-auth .btp-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.btp-auth .btp-auth-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--auth-primary-strong);
    cursor: pointer;
}

.btp-auth .btp-auth-check a {
    color: var(--auth-primary);
}

.btp-auth .btp-auth-link {
    padding: 0;
    background: none;
    color: var(--auth-primary);
    border: 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.btp-auth .btp-auth-link:hover,
.btp-auth .btp-auth-link:focus-visible {
    color: var(--auth-link-hover);
    text-decoration: underline;
}

/* Boutons */
.btp-auth .btp-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btp-auth .btp-auth-btn:focus-visible {
    outline: 2px solid var(--auth-primary);
    outline-offset: 2px;
}

.btp-auth .btp-auth-btn-primary {
    background: var(--auth-primary);
    color: var(--auth-primary-text);
    border: 1px solid var(--auth-primary);
}

.btp-auth .btp-auth-btn-primary:hover {
    background: var(--auth-primary-hover);
    border-color: var(--auth-primary-hover);
    color: var(--auth-primary-text);
}

.btp-auth .btp-auth-btn-secondary {
    background: transparent;
    color: var(--auth-text);
    border: 1px solid var(--auth-border-strong);
}

.btp-auth .btp-auth-btn-secondary:hover {
    background: var(--auth-hover-surface);
    border-color: var(--auth-border-hover);
    color: var(--auth-text);
}

.btp-auth .btp-auth-btn svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.btp-auth .btp-auth-oauth {
    display: grid;
    gap: 10px;
}

.btp-auth .btp-auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btp-auth .btp-auth-separator::before,
.btp-auth .btp-auth-separator::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--auth-border);
}

.btp-auth .btp-auth-switch {
    margin: 16px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
    text-align: center;
}

.btp-auth .btp-auth-recaptcha {
    margin: 0;
}

/* Messages */
.btp-auth .btp-auth-alert {
    position: relative;
    margin: 0 0 20px;
    padding: 12px 40px 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.btp-auth .btp-auth-alert a {
    color: inherit;
    text-decoration: underline;
}

.btp-auth .btp-auth-alert-danger {
    background: var(--auth-danger-bg);
    color: var(--auth-danger);
    border-color: var(--auth-danger-border);
}

.btp-auth .btp-auth-alert-success {
    background: var(--auth-success-bg);
    color: var(--auth-success);
    border-color: var(--auth-success-border);
}

.btp-auth .btp-auth-alert .close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: inherit;
    opacity: 0.8;
    text-shadow: none;
}

/* Champ de code 2FA commun (otpInput) dans le cadre d'authentification */
.btp-auth .btp-otp {
    color: var(--auth-text);
}

.btp-auth .btp-otp-label {
    color: var(--auth-text);
    font-size: 13px;
}

.btp-auth .btp-otp-cell {
    background: var(--auth-field);
    color: var(--auth-text);
    border-color: var(--auth-border);
}

.btp-auth .btp-otp-cell.is-filled {
    background: var(--auth-accent-soft);
}

.btp-auth .btp-otp-entry:focus-within .btp-otp-cell.is-active {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px var(--auth-focus-ring);
}

.btp-auth .btp-otp.is-invalid .btp-otp-cell {
    border-color: var(--auth-danger);
}

.btp-auth .btp-otp:not(.is-enhanced) .btp-otp-source {
    height: 46px;
    background: var(--auth-field);
    color: var(--auth-text);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    box-shadow: none;
}

.btp-auth .btp-otp-hint {
    color: var(--auth-muted);
}

.btp-auth .btp-otp-alternative {
    color: var(--auth-link);
}

.btp-auth .btp-otp-alternative:hover,
.btp-auth .btp-otp-alternative:focus-visible {
    background: var(--auth-accent-soft);
    box-shadow: 0 0 0 2px var(--auth-accent-border);
}

/* Page d'attente de la déconnexion : la fin de la barre déclenche la déconnexion, ne pas désactiver ces animations */
.btp-auth .btp-auth-logout {
    text-align: center;
}

.btp-auth .btp-auth-logout-spinner {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 18px;
    border: 3px solid var(--auth-border);
    border-top-color: var(--auth-primary);
    border-radius: 50%;
    animation: btpAuthSpin 1s linear infinite;
}

.btp-auth .btp-auth-logout-progress {
    height: 6px;
    margin: 0 0 18px;
    background: var(--auth-border);
    border-radius: 999px;
    overflow: hidden;
}

.btp-auth .btp-auth-logout-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--auth-primary);
    border-radius: 999px;
    animation: btpAuthLogoutProgress 5s linear forwards;
}

.btp-auth .btp-auth-logout-countdown {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    font-weight: 600;
}

.btp-auth .btp-auth-logout-tick {
    display: inline-block;
    color: var(--auth-primary);
    font-variant-numeric: tabular-nums;
    animation: btpAuthLogoutTick 1s linear 5;
}

@keyframes btpAuthSpin {
    to { transform: rotate(360deg); }
}

@keyframes btpAuthLogoutProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes btpAuthLogoutTick {
    from { opacity: 1; }
    to { opacity: 1; }
}

/* Pied de colonne */
.btp-auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--auth-muted);
    font-size: 12px;
}

.btp-auth-langs {
    display: inline-flex;
    gap: 6px;
}

.btp-auth-langs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    color: var(--auth-muted);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btp-auth-langs a:hover,
.btp-auth-langs a:focus-visible {
    color: var(--auth-text);
    border-color: var(--auth-border-strong);
}

.btp-auth-langs a.is-active {
    color: var(--auth-primary);
    border-color: var(--auth-primary);
    background: var(--auth-accent-soft);
}

/* Colonne vitrine */
.btp-auth-showcase {
    position: relative;
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 28px 48px 40px;
    background:
        radial-gradient(circle at 78% 18%, var(--auth-showcase-glow-1), transparent 42%),
        radial-gradient(circle at 15% 85%, var(--auth-showcase-glow-2), transparent 45%),
        var(--auth-showcase-bg);
    overflow: hidden;
}

.btp-auth-topbar {
    position: absolute;
    top: 28px;
    right: 32px;
    display: flex;
    gap: 10px;
}

.btp-auth-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    color: var(--auth-text);
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.btp-auth-topbar a:hover,
.btp-auth-topbar a:focus-visible {
    border-color: var(--auth-border-strong);
    color: var(--auth-text);
}

.btp-auth-topbar a.btp-auth-topbar-discord {
    background: #5865f2;
    border-color: #5865f2;
    color: #ffffff;
}

.btp-auth-topbar a.btp-auth-topbar-discord:hover,
.btp-auth-topbar a.btp-auth-topbar-discord:focus-visible {
    background: #4752c4;
    border-color: #4752c4;
}

.btp-auth-topbar svg {
    width: 16px;
    height: 16px;
}

.btp-auth-stage {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 0;
}

/* Maquette stylisée du panel */
.btp-auth-mockup {
    display: flex;
    height: 340px;
    background: var(--auth-mockup-bg);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    box-shadow: var(--auth-mockup-shadow);
    overflow: hidden;
}

.btp-auth-mockup-nav {
    flex: 0 0 150px;
    padding: 16px 12px;
    background: var(--auth-mockup-nav);
    border-right: 1px solid var(--auth-border);
}

.btp-auth-mockup-logo {
    width: 70%;
    height: 8px;
    margin: 0 0 22px 6px;
    background: var(--auth-primary-strong);
    border-radius: 999px;
}

.btp-auth-mockup-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 5px 6px;
    border-radius: 6px;
}

.btp-auth-mockup-item::before {
    content: "";
    flex: 0 0 8px;
    height: 8px;
    background: var(--auth-mockup-line);
    border-radius: 2px;
}

.btp-auth-mockup-item::after {
    content: "";
    width: 60%;
    height: 5px;
    background: var(--auth-mockup-line);
    border-radius: 999px;
}

.btp-auth-mockup-item.is-active {
    background: var(--auth-accent-soft);
}

.btp-auth-mockup-item.is-active::before,
.btp-auth-mockup-item.is-active::after {
    background: var(--auth-primary);
}

.btp-auth-mockup-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px;
}

.btp-auth-mockup-bar {
    display: flex;
    justify-content: space-between;
    margin: 0 0 16px;
}

.btp-auth-mockup-pill {
    width: 90px;
    height: 16px;
    background: var(--auth-mockup-track);
    border: 1px solid var(--auth-border);
    border-radius: 6px;
}

.btp-auth-mockup-pill.is-accent {
    width: 46px;
    background: var(--auth-accent-border);
    border-color: transparent;
}

.btp-auth-mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.btp-auth-mockup-card {
    padding: 12px;
    background: var(--auth-mockup-card);
    border: 1px solid var(--auth-border);
    border-radius: 10px;
}

.btp-auth-mockup-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.btp-auth-mockup-dot {
    flex: 0 0 8px;
    height: 8px;
    background: var(--auth-mockup-ok);
    border-radius: 50%;
}

.btp-auth-mockup-dot.is-off {
    background: var(--auth-mockup-off);
}

.btp-auth-mockup-title {
    width: 45%;
    height: 7px;
    background: var(--auth-mockup-line-strong);
    border-radius: 999px;
}

.btp-auth-mockup-meter {
    height: 6px;
    margin: 0 0 8px;
    background: var(--auth-mockup-track);
    border-radius: 999px;
    overflow: hidden;
}

.btp-auth-mockup-meter span {
    display: block;
    height: 100%;
    background: var(--auth-primary-strong);
    border-radius: 999px;
}

.btp-auth-mockup-actions {
    display: flex;
    gap: 6px;
    margin: 12px 0 0;
}

.btp-auth-mockup-actions span {
    flex: 1 1 0;
    height: 14px;
    background: var(--auth-mockup-track);
    border-radius: 5px;
}

.btp-auth-mockup-actions span:first-child {
    background: var(--auth-mockup-ok-soft);
}

/* Carrousel des points forts, animé en CSS */
.btp-auth-features {
    position: relative;
    height: 92px;
    margin: 20px 0 0;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    overflow: hidden;
}

.btp-auth-feature {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 56px 0 20px;
    opacity: 0;
    animation: btpAuthFeatureCycle 20s infinite;
}

.btp-auth-feature:nth-child(2) { animation-delay: 5s; }
.btp-auth-feature:nth-child(3) { animation-delay: 10s; }
.btp-auth-feature:nth-child(4) { animation-delay: 15s; }

.btp-auth-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    height: 44px;
    color: var(--auth-primary);
    background: var(--auth-accent-soft);
    border: 1px solid var(--auth-accent-border);
    border-radius: 10px;
    font-size: 18px;
}

.btp-auth-feature-text {
    min-width: 0;
}

.btp-auth-feature-title {
    margin: 0 0 4px;
    color: var(--auth-text);
    font-size: 15px;
    font-weight: 600;
}

.btp-auth-feature-desc {
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.45;
}

.btp-auth-feature-dots {
    position: absolute;
    top: 50%;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-50%);
}

.btp-auth-feature-dots span {
    width: 6px;
    height: 6px;
    background: var(--auth-dot);
    border-radius: 999px;
    animation: btpAuthDotCycle 20s infinite;
}

.btp-auth-feature-dots span:nth-child(2) { animation-delay: 5s; }
.btp-auth-feature-dots span:nth-child(3) { animation-delay: 10s; }
.btp-auth-feature-dots span:nth-child(4) { animation-delay: 15s; }

.btp-auth-features:hover .btp-auth-feature,
.btp-auth-features:hover .btp-auth-feature-dots span {
    animation-play-state: paused;
}

@keyframes btpAuthFeatureCycle {
    0% { opacity: 0; transform: translateY(8px); }
    3%, 22% { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes btpAuthDotCycle {
    0%, 24% { height: 18px; background: var(--auth-primary); }
    25%, 100% { height: 6px; background: var(--auth-dot); }
}

@media (prefers-reduced-motion: reduce) {
    .btp-auth-feature,
    .btp-auth-feature-dots span {
        animation: none;
    }

    .btp-auth-feature:first-child {
        opacity: 1;
    }

    .btp-auth-feature-dots span:first-child {
        height: 18px;
        background: var(--auth-primary);
    }
}

@media (min-width: 992px) {
    .btp-auth-showcase {
        display: flex;
    }
}

@media (max-width: 991px) {
    .btp-auth-side {
        max-width: none;
        border-right: 0;
    }

    .btp-auth-main {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .btp-auth-side {
        padding: 20px 16px 18px;
    }

    .btp-auth-card {
        padding: 24px 18px;
    }

    .btp-auth .btp-auth-field-row {
        flex-direction: column;
        gap: 0;
    }
}
