/**
 * Qubex Track auth — retail-pos sign-in layout (split promo + form).
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

.portal-auth-shell {
    --track-auth-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --track-auth-coral: #ff4d5a;
    --track-auth-green: #04966a;
    --track-auth-green-dark: #037a58;
    --track-auth-green-ring: rgba(4, 150, 106, 0.2);
    --track-auth-green-soft: #ecfdf5;
    --track-auth-terracotta: #d49176;
    --track-auth-terracotta-deep: #b86f58;
    --track-auth-gradient-start: #2b7568;
    --track-auth-gradient-mid: #6a8f84;
    --track-auth-gradient-end: #d49176;
    --track-auth-ink: #111827;
    --track-auth-muted: #6b7280;
    --track-auth-border: #e8eaed;
    --track-auth-radius: 14px;
    --track-auth-radius-lg: 18px;

    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    overflow-x: hidden;
    font-family: var(--track-auth-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.portal-auth-shell *,
.portal-auth-shell *::before,
.portal-auth-shell *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.portal-auth-split {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
}

/* ── Promo panel ── */
.portal-auth-promo {
    position: relative;
    display: none;
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    background: linear-gradient(
        145deg,
        var(--track-auth-gradient-start) 0%,
        var(--track-auth-gradient-mid) 32%,
        #b87862 58%,
        var(--track-auth-gradient-end) 100%
    );
    color: #fff;
    overflow: hidden;
}

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

.portal-auth-promo__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
}

.portal-auth-promo__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: clamp(0.75rem, 2vw, 1rem) 0 clamp(1.25rem, 3vw, 2rem);
}

.portal-auth-promo__logo-wrap {
    display: block;
    align-self: flex-start;
    margin-bottom: 0.35rem;
    max-width: 100%;
    text-decoration: none;
    line-height: 0;
}

.track-auth-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.track-auth-logo--lg {
    height: 72px;
    max-width: min(280px, 85vw);
    margin-left: auto;
    margin-right: auto;
}

.track-auth-logo--promo-lg {
    height: clamp(96px, 13vw, 132px);
    max-width: min(440px, 100%);
    width: auto;
}

.portal-auth-promo__headline {
    font-size: clamp(1.5rem, 2.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0.75rem;
}

.portal-auth-promo__headline em {
    color: #fff;
    font-weight: 700;
    font-style: normal;
}

.portal-auth-promo__subtext {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.9375rem, 1.8vw, 1rem);
    line-height: 1.65;
    font-weight: 400;
    margin: 0;
}

.portal-auth-promo__trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
}

.portal-auth-promo__trust-avatars {
    display: flex;
    flex-shrink: 0;
}

.portal-auth-promo__trust-avatars span {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    margin-left: -0.6rem;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.18);
}

.portal-auth-promo__trust-avatars span:first-child {
    margin-left: 0;
    background: linear-gradient(145deg, var(--track-auth-green-dark) 0%, var(--track-auth-green) 100%);
}

.portal-auth-promo__trust-avatars span:nth-child(2) {
    background: linear-gradient(145deg, var(--track-auth-gradient-start) 0%, var(--track-auth-gradient-mid) 100%);
}

.portal-auth-promo__trust-avatars span:nth-child(3) {
    background: linear-gradient(145deg, #b87862 0%, var(--track-auth-terracotta) 100%);
}

.portal-auth-promo__trust-avatars span:nth-child(4) {
    background: linear-gradient(145deg, #e8434f 0%, #ff6b76 100%);
}

.portal-auth-promo__trust-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.4;
}

.portal-auth-promo__trust-text strong {
    color: #fff;
    font-weight: 700;
}

/* ── Form panel ── */
.portal-auth-main {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

@media (min-width: 992px) {
    .portal-auth-main {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }
}

.portal-auth-main__scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden;
    justify-content: center;
    padding: 1.25rem 0;
}

.portal-auth-main__inner {
    flex: 0 1 auto;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 1rem;
}

@media (min-width: 768px) {
    .portal-auth-main__inner {
        padding: 2.5rem 2rem 1.5rem;
    }
}

.app-auth-shell .portal-auth-main__inner {
    max-width: 440px;
}

.app-auth-shell .portal-auth-main__inner.app-auth-main__inner--wide {
    max-width: min(100%, 680px);
}

.app-auth-shell .portal-auth-header,
.app-auth-shell .app-auth-brand-desktop {
    text-align: center;
}

.app-auth-brand-desktop {
    display: block;
    margin-bottom: 0.5rem;
}

.app-auth-brand-desktop .track-auth-logo--lg {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .app-auth-shell .app-auth-brand-desktop {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .portal-auth-main__scroll {
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }

    .portal-auth-main__inner {
        padding-top: max(1rem, env(safe-area-inset-top, 0px));
    }

    .app-auth-shell .app-auth-brand-desktop .track-auth-logo--lg {
        height: clamp(72px, 20vw, 96px);
        max-width: min(320px, 90vw);
    }

    .portal-auth-title {
        font-size: 1.45rem;
    }

    .portal-auth-form .portal-auth-input {
        font-size: 16px;
    }
}

.portal-auth-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.portal-auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--track-auth-ink);
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.portal-auth-subtitle {
    color: var(--track-auth-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.portal-auth-alert {
    border-radius: var(--track-auth-radius);
    font-size: 14px;
    margin-bottom: 1rem;
}

.portal-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portal-auth-form .form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}

.portal-auth-input {
    border: 1.5px solid var(--track-auth-border);
    border-radius: var(--track-auth-radius);
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--track-auth-ink);
    background: #fff;
    padding: 0.625rem 0.85rem;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-auth-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.portal-auth-input:focus {
    border-color: var(--track-auth-green);
    box-shadow: 0 0 0 4px var(--track-auth-green-ring);
    outline: 0;
}

.app-auth-password-wrap {
    position: relative;
}

.app-auth-password-wrap .portal-auth-input {
    padding-right: 2.75rem;
}

.app-auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0.25rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-auth-password-toggle:hover {
    color: var(--track-auth-green);
}

.app-auth-password-toggle svg {
    width: 20px;
    height: 20px;
}

.app-auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: -0.35rem 0 0;
}

.app-auth-forgot {
    font-size: 13px;
    font-weight: 600;
    color: var(--track-auth-green);
    text-decoration: none;
    margin-left: auto;
}

.app-auth-forgot:hover {
    color: var(--track-auth-terracotta-deep);
    text-decoration: underline;
}

.portal-btn-primary {
    background: linear-gradient(
        135deg,
        var(--track-auth-gradient-start) 0%,
        var(--track-auth-green) 45%,
        var(--track-auth-terracotta) 100%
    );
    border: none;
    border-radius: var(--track-auth-radius);
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    min-height: 48px;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 10px 24px -8px rgba(43, 117, 104, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    cursor: pointer;
}

.portal-btn-primary:hover,
.portal-btn-primary:focus {
    color: #fff;
    filter: brightness(1.04);
    box-shadow: 0 14px 28px -8px rgba(43, 117, 104, 0.48);
    transform: translateY(-1px);
}

.portal-auth-submit {
    width: 100%;
    border-radius: var(--track-auth-radius) !important;
}

.portal-auth-switch {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 1.25rem 0 0;
}

.portal-auth-switch a {
    color: var(--track-auth-gradient-start);
    font-weight: 700;
    text-decoration: none;
}

.portal-auth-switch a:hover {
    text-decoration: underline;
}

.app-auth-version {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
    text-align: center;
}

.portal-auth-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
    max-width: 440px;
    padding: 1rem 1.25rem 1.25rem;
    margin-top: 0;
    border-top: 1px solid #f1f5f9;
}

.app-auth-shell .portal-auth-footer {
    max-width: 440px;
    padding-top: 0.75rem;
}

.portal-auth-footer a {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
}

.portal-auth-footer a:hover {
    color: var(--track-auth-green);
}

.portal-auth-footer__dot {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #cbd5e1;
}

/* Captcha */
.qx-captcha-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}

.qx-captcha-img img {
    max-height: 48px;
    border-radius: 8px;
    border: 1px solid var(--track-auth-border);
}

.qx-captcha-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: var(--track-auth-green);
    font-size: 12px;
    font-weight: 600;
    padding: 0.25rem 0;
    cursor: pointer;
}

.qx-captcha-refresh:hover {
    text-decoration: underline;
}

.qx-field-error {
    display: block;
    font-size: 12px;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* ── Register / checkout (bookingengine parity) ───────────────────── */
.portal-auth-shell {
  --portal-primary: #04966a;
  --portal-primary-dark: #037a58;
  --portal-primary-light: #ecfdf5;
  --portal-primary-border: #a7f3d0;
  --portal-primary-focus: rgba(4, 150, 106, 0.2);
}
.app-auth-main__inner--wide { max-width: min(100%, 680px); }

.portal-auth-form--register .row.g-3 {
  --bs-gutter-y: 0.75rem;
  --bs-gutter-x: 0.75rem;
}
.portal-auth-form--register .portal-auth-header {
  margin-bottom: 0.75rem;
}
.portal-auth-form--register .portal-auth-title {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 0.35rem;
}
.portal-auth-form--register .portal-auth-subtitle {
  margin-bottom: 0;
  font-size: 0.9rem;
}
.portal-auth-form--register .portal-auth-fieldset__legend {
  margin-bottom: 0.65rem;
}
.portal-auth-form--register .portal-otp-panel {
  padding: 0.85rem;
}
.portal-auth-form--register .form-label {
  margin-bottom: 0.3rem;
  font-size: 13px;
}
.portal-auth-form--register .portal-auth-input {
  min-height: 42px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.portal-muted-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 0.15rem 0 0;
}
.portal-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.portal-auth-check .form-check-input {
  margin-top: 0.2rem;
}
.portal-auth-check .form-check-label {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}
.portal-auth-back { font-size: 14px; font-weight: 600; color: #64748b; }
.portal-auth-back:hover { color: var(--portal-primary); }
.portal-required { color: #dc2626; font-weight: 700; }
.portal-flash { border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 14px; }
.portal-flash--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.portal-flash--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.portal-flash--info { background: var(--portal-primary-light); border: 1px solid var(--portal-primary-border); color: var(--portal-primary-dark); }
.portal-muted-note { font-size: 13px; color: #64748b; margin: 0; }
.portal-btn-outline {
  border: 2px solid #e2e8f0; background: #fff; color: #334155; border-radius: 10px;
  padding: 0.625rem 1.25rem; font-weight: 600; min-height: 42px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.portal-btn-outline:hover { border-color: var(--portal-primary); color: var(--portal-primary); }
.portal-otp-panel {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem; background: #f8fafc;
}
.portal-auth-steps-wrap { margin-bottom: 1.25rem; }
.portal-auth-steps-meta {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: #94a3b8; margin: 0 0 0.65rem;
}
.portal-auth-steps {
  list-style: none; display: flex; gap: 0; padding: 0; margin: 0;
  border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0;
}
.portal-auth-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.65rem 0.35rem; text-align: center; background: #f8fafc;
  border-right: 1px solid #e2e8f0; opacity: 0.55; min-width: 0;
}
.portal-auth-step:last-child { border-right: 0; }
.portal-auth-step.is-active, .portal-auth-step.is-done { opacity: 1; background: #fff; }
.portal-auth-step__indicator {
  width: 1.5rem; height: 1.5rem; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
  background: #e2e8f0; color: #64748b;
}
.portal-auth-step.is-active .portal-auth-step__indicator { background: var(--portal-primary); color: #fff; }
.portal-auth-step.is-done .portal-auth-step__indicator { background: #16a34a; color: #fff; }
.portal-auth-step__short {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8;
}
.portal-auth-step.is-active .portal-auth-step__short { color: var(--portal-primary); }
.portal-auth-step__label { font-size: 10px; font-weight: 600; color: #475569; line-height: 1.2; }
@media (max-width: 575.98px) { .portal-auth-step__label { display: none; } }
.portal-auth-step.is-skipped,
.portal-auth-steps-wrap.is-trial-flow .portal-auth-step[data-step-key="pay"] {
  display: none !important;
}
.portal-auth-info-note { margin-bottom: 1.25rem; font-size: 13px; }
.portal-auth-fieldset { border: 0; padding: 0; margin: 0; }
.portal-auth-fieldset--follow { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #e2e8f0; }
.portal-auth-fieldset__legend {
  display: flex; align-items: center; gap: 0.6rem; font-size: 14px; font-weight: 700;
  color: #0f172a; margin-bottom: 0.85rem; float: none; width: 100%;
}
.portal-auth-fieldset__num {
  width: 1.5rem; height: 1.5rem; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--portal-primary);
  color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.portal-auth-review {
  padding: 0.85rem 1rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
}
.portal-auth-checkout-card {
  border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 1.25rem;
}
.portal-auth-checkout-card__head {
  display: flex; align-items: flex-start; gap: 0.85rem; padding: 1rem 1.25rem;
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.portal-auth-checkout-card__title { font-size: 1rem; font-weight: 600; color: #0f172a; margin: 0 0 0.15rem; }
.portal-auth-checkout-card__hint { font-size: 13px; color: #64748b; margin: 0; }
.portal-auth-checkout-card__body { padding: 1.25rem; }
.portal-auth-checkout-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.portal-details-row { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.75rem; }
.portal-details-row__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #64748b;
}
.portal-details-row__value { font-size: 14px; color: #334155; }
.portal-checkout-amount { font-size: 1.45rem; font-weight: 700; color: #0f172a; }
.portal-auth-complete { text-align: center; padding: 1rem 0; }
.portal-auth-complete__icon {
  width: 4rem; height: 4rem; border-radius: 999px; display: inline-flex; align-items: center;
  justify-content: center; background: var(--portal-primary-light); color: var(--portal-primary);
  font-size: 2rem; margin-bottom: 1.25rem;
}
.portal-auth-complete__icon.is-ready { background: #f0fdf4; color: #16a34a; }
.portal-auth-complete__message { font-size: 15px; color: #334155; margin-bottom: 1.5rem; line-height: 1.55; }
.portal-plan-compare-trigger {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--portal-primary);
}
.portal-plan-compare-trigger:hover { text-decoration: underline; color: var(--portal-primary); }
.portal-plan-compare-modal .modal-header {
  border-bottom: 1px solid #e2e8f0; padding: 1rem 1.25rem;
}
.portal-plan-compare-modal .modal-title { font-weight: 700; color: #0f172a; }
.portal-plan-compare-modal .modal-footer {
  border-top: 1px solid #e2e8f0; padding: 0.85rem 1.25rem;
}
.portal-plan-compare-wrap {
  border: 1px solid #e2e8f0; border-radius: 12px; overflow-x: auto; background: #fff;
}
.portal-plan-compare-wrap--modal {
  border: 0; border-radius: 0; max-height: min(70vh, 560px);
}
.portal-plan-compare {
  width: 100%; min-width: 560px; font-size: 13px; margin: 0;
  border-collapse: collapse;
}
.portal-plan-compare th,
.portal-plan-compare td {
  padding: 0.7rem 0.85rem; vertical-align: middle;
  border-top: 0; border-bottom: 1px solid #e8edf2; border-left: 0; border-right: 0;
}
.portal-plan-compare thead th {
  position: sticky; top: 0; z-index: 1;
  background: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: #334155; text-align: center;
  border-bottom: 1px solid #e2e8f0;
}
.portal-plan-compare thead th:first-child { text-align: left; }
.portal-plan-compare tbody th {
  font-weight: 600; color: #0f172a; white-space: nowrap; text-align: left;
}
.portal-plan-compare tbody td { text-align: center; color: #475569; }
.portal-plan-compare tbody tr:last-child th,
.portal-plan-compare tbody tr:last-child td { border-bottom: 0; }

/* Auth pill toasts — fixed top-center */
.track-auth-toast {
  position: fixed;
  top: 1.35rem;
  left: 50%;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: min(92vw, 640px);
  max-width: min(92vw, 640px);
  margin: 0;
  padding: 0.8rem 1.35rem 0.8rem 0.95rem;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transform: translateX(-50%) translateY(-12px);
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  animation: track-auth-toast-in 0.32s ease forwards;
}
.track-auth-toast.is-leaving {
  animation: track-auth-toast-out 0.24s ease forwards;
}
.track-auth-toast--error { background: #ff4d5a; }
.track-auth-toast--success { background: #04966a; }
.track-auth-toast--info { background: #2563eb; }
.track-auth-toast__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.track-auth-toast--error .track-auth-toast__icon { color: #ff4d5a; }
.track-auth-toast--success .track-auth-toast__icon { color: #04966a; }
.track-auth-toast--info .track-auth-toast__icon { color: #2563eb; }
.track-auth-toast__text {
  min-width: 0;
  flex: 1;
  padding-top: 0.2rem;
  padding-right: 0.15rem;
  word-break: break-word;
}
@keyframes track-auth-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes track-auth-toast-out {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
@media (max-width: 575.98px) {
  .track-auth-toast {
    top: calc(0.85rem + env(safe-area-inset-top, 0px));
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    font-size: 13px;
    line-height: 1.4;
    padding: 0.72rem 1rem 0.72rem 0.85rem;
    border-radius: 18px;
  }
}
