/* Account pages share the site's single saved lesson theme. */
body.ct-auth-page {
    --ct-auth-purple: #7750b2;
    --ct-auth-ink: #202137;
    --ct-auth-muted: #5d6074;
    --ct-auth-border: #a8a7b8;
    --ct-auth-surface: #fff;
    --ct-auth-soft: #f1ebf8;
    --ct-auth-success: #176344;
    --ct-auth-success-bg: #ecf9f1;
    --ct-auth-error: #ad223e;
    --ct-auth-error-bg: #fff0f3;
    background: var(--ct-auth-surface);
    color: var(--ct-auth-ink);
}
html[data-ct-lesson-theme="dark"] .ct-auth-page {
    --ct-auth-purple: #c09ae5;
    --ct-auth-ink: #f1eef7;
    --ct-auth-muted: #beb7ce;
    --ct-auth-border: #777087;
    --ct-auth-surface: #191621;
    --ct-auth-soft: #2b2234;
    --ct-auth-success: #9ce8b9;
    --ct-auth-success-bg: #17392b;
    --ct-auth-error: #ffb5c0;
    --ct-auth-error-bg: #46212d;
}
.ct-auth-page :is(.ct-auth-form-content h1, .ct-auth-aside h2, .ct-auth-brand, .ct-site-brand span) { color: var(--ct-auth-ink); }
.ct-auth-page :is(.ct-auth-home, .ct-auth-hint, .ct-auth-switch, .ct-auth-mail-note, .ct-auth-aside p, .ct-auth-footer, .ct-auth-toggle) { color: var(--ct-auth-muted); }
.ct-auth-page :is(.ct-auth-field input, .ct-auth-country-fallback, .ct-auth-caption) { background: var(--ct-auth-surface); color: var(--ct-auth-ink); border-color: var(--ct-auth-border); }
.ct-auth-page .ct-auth-field input::placeholder { color: var(--ct-auth-muted); opacity: 1; }
.ct-auth-page :is(.ct-auth-aside, .ct-auth-optional, .ct-auth-status-icon) { background: var(--ct-auth-soft); }
.ct-auth-page .ct-auth-optional { color: var(--ct-auth-muted); }
.ct-auth-page .ct-auth-submit { background: #7750b2; color: #fff; }
.ct-auth-page .ct-auth-submit:hover { background: #5b378d; }
.ct-auth-page :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--ct-auth-purple); outline-offset: 3px; }
.ct-auth-page .ct-auth-error { color: var(--ct-auth-error); }
.ct-auth-page .ct-auth-field input[aria-invalid=true] { border-color: var(--ct-auth-error); }
.ct-auth-page .ct-auth-alert-error { color: var(--ct-auth-error); border-color: var(--ct-auth-error); background: var(--ct-auth-error-bg); }
.ct-auth-page .ct-auth-alert-success { color: var(--ct-auth-success); border-color: var(--ct-auth-success); background: var(--ct-auth-success-bg); }
.ct-auth-page .ct-auth-field .iti { --iti-hover-color: var(--ct-auth-soft); --iti-dropdown-bg: var(--ct-auth-surface); --iti-text-color: var(--ct-auth-ink); --iti-dialcode-color: var(--ct-auth-muted); }
.ct-auth-page :is(.iti__dropdown-content, .iti__country-list, .iti__search-input) { background: var(--ct-auth-surface); color: var(--ct-auth-ink); }
.ct-auth-page .iti__country:hover { background: var(--ct-auth-soft); }
.ct-auth-site-page :is(.ct-site-header, .ct-site-header .tp-header-2, .ct-site-mobile-menu nav, .ct-home-footer, .tp-footer-2, .tp-footer-bottom) { background: var(--ct-auth-surface); border-color: var(--ct-auth-border); }
.ct-auth-site-page :is(.main-menu nav > ul > li > a, .ct-site-mobile-menu summary, .ct-site-mobile-menu nav a, .tp-footer-widget-title, .tp-footer-contact > a, .tp-footer-contact-mail a, .tp-footer-copyright a) { color: var(--ct-auth-ink); }
.ct-auth-site-page .ct-site-mobile-menu nav a:hover { color: var(--ct-auth-purple); background: var(--ct-auth-soft); }
.ct-auth-site-page .ct-home-footer :is(.tp-footer-widget-content p, .tp-footer-widget-link a, .tp-footer-contact > span, .tp-footer-copyright span) { color: var(--ct-auth-muted); }
.ct-auth-site-page .ct-home-footer a:hover { color: var(--ct-auth-purple); }
html[data-ct-lesson-theme="dark"] .ct-auth-page :is(.ct-site-brand img, .ct-auth-brand img) { background: #fff; padding: 5px; border-radius: 10px; }
.ct-auth-site-page .ct-newsletter-form { background: var(--ct-auth-soft); border-color: var(--ct-auth-border); }
.ct-auth-site-page .ct-newsletter-form input[type=email] { color: var(--ct-auth-ink); }
.ct-auth-site-page .ct-newsletter-form input::placeholder { color: var(--ct-auth-muted); }
.ct-auth-site-page .tp-footer-bottom-social a { background: var(--ct-auth-soft); color: var(--ct-auth-ink); border-color: var(--ct-auth-border); }
.ct-auth-page .ct-home-theme-toggle { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1000; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ct-auth-border); border-radius: 12px; color: var(--ct-auth-purple); background: var(--ct-auth-surface); box-shadow: 0 8px 24px #09061126; }
.ct-auth-page .ct-home-theme-toggle:hover { background: var(--ct-auth-soft); }
.ct-auth-page .ct-home-sun { display: none; }
html[data-ct-lesson-theme="dark"] .ct-auth-page .ct-home-moon { display: none; }
html[data-ct-lesson-theme="dark"] .ct-auth-page .ct-home-sun { display: block; }
[dir="rtl"] .ct-auth-page .ct-auth-submit { width: fit-content; min-width: 160px; max-width: 100%; margin-right: auto; margin-left: 0; }
[dir="rtl"] .ct-auth-page .ct-final-cta-actions { justify-content: flex-end; }
/* Site identity purple (2026-10-16): remaining blue accents on account pages follow the catalogue accent. */
.ct-auth-page .ct-auth-field input:focus { border-color: var(--ct-auth-purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ct-auth-purple) 22%, transparent); }
.ct-auth-page .ct-auth-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--ct-auth-soft) inset; box-shadow: 0 0 0 1000px var(--ct-auth-soft) inset; -webkit-text-fill-color: var(--ct-auth-ink); caret-color: var(--ct-auth-ink); }
.ct-auth-page .ct-auth-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--ct-auth-soft) inset, 0 0 0 3px color-mix(in srgb, var(--ct-auth-purple) 22%, transparent); box-shadow: 0 0 0 1000px var(--ct-auth-soft) inset, 0 0 0 3px color-mix(in srgb, var(--ct-auth-purple) 22%, transparent); }
.ct-auth-site-page .ct-site-mobile-menu summary:focus-visible { outline-color: var(--ct-auth-purple); }
.ct-auth-site-page .ct-final-cta-section { background: linear-gradient(135deg, #7750b2f0, #4b2c78f5), url('/images/final-cta/cta-bg.jpg') center/cover no-repeat; background-color: #5b378d; }
.ct-auth-site-page .ct-final-cta-grid-no-art .ct-final-cta-primary { color: #4b2c78; }
.ct-auth-site-page .ct-final-cta-section .ct-final-cta-secondary:hover { color: #4b2c78; }
.ct-auth-site-page .ct-final-cta-grid.ct-final-cta-grid-no-art { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.ct-auth-site-page .ct-final-cta-grid-no-art .ct-final-cta-content { max-width: 760px; margin-inline: auto; padding-block: 60px; text-align: center; }
.ct-auth-site-page .ct-final-cta-grid-no-art .ct-final-cta-actions { justify-content: center; }
[dir="rtl"] .ct-auth-page .ct-final-cta-grid-no-art .ct-final-cta-content { width: 100%; }
[dir="rtl"] .ct-auth-page .ct-final-cta-grid-no-art .ct-final-cta-actions { justify-content: flex-end; }
@media (max-width: 767px) { .ct-auth-site-page .ct-final-cta-grid-no-art .ct-final-cta-content { padding-block: 44px; } }
.ct-auth-site-page .ct-home-footer .tp-footer-btn .tp-btn-round { border-color: var(--ct-auth-purple); background-color: var(--ct-auth-purple); color: #fff; }
.ct-auth-site-page .ct-home-footer .tp-footer-btn .tp-btn-round:hover { background-color: transparent; color: var(--ct-auth-purple); }
.ct-auth-site-page .ct-newsletter-form button { background: var(--ct-auth-purple); color: #fff; }
.ct-auth-site-page .ct-newsletter-form button:hover { background: #5b378d; }
.ct-auth-site-page :is(.ct-newsletter-form button, .ct-home-footer a):focus-visible { outline-color: var(--ct-auth-purple); }
html[data-ct-lesson-theme="dark"] .ct-auth-site-page .ct-home-footer .tp-footer-btn .tp-btn-round:not(:hover), html[data-ct-lesson-theme="dark"] .ct-auth-site-page .ct-newsletter-form button { color: #24162f; }
html[data-ct-lesson-theme="dark"] .ct-auth-site-page .ct-newsletter-form button:hover { background: #d4b6f0; }
