/*
 * Thème clair des écrans Brensia (connexion, inscription, compte) : même palette que le thème
 * clair de Brensia Market — fond #f4f5fa, panneaux blancs, texte #1d2233, violet #5b46c9.
 * Les feuilles de la maquette sont écrites en sombre ; tout ce qui suit ne s'applique qu'en clair.
 */
[data-bs-theme="light"] { color-scheme: light; --bm-bg: #f4f5fa; --bm-panel: #ffffff; --bm-card: #ffffff; --bm-line: #dfe2ec; --bm-text: #1d2233; --bm-dim: #5a6378; --bm-purple: #6a55d8; --bm-purple-strong: #5b46c9; --bm-green: #1d7a55; --bm-amber: #8a5a00; --bm-red: #b4233a; }
[data-bs-theme="light"] body.orchid-body { background: var(--bm-bg); color: var(--bm-text); }
[data-bs-theme="light"] a:hover { color: #4a35b8; }

/* Panneau de présentation : clair, teinté de violet. */
[data-bs-theme="light"] .auth-hero { background: radial-gradient(ellipse at 16% 12%, rgba(120, 87, 231, .16), transparent 46%), radial-gradient(ellipse at 84% 70%, rgba(93, 54, 163, .10), transparent 40%), linear-gradient(153deg, #f1eeff, #f6f5ff 55%, #eef0fb); border-right-color: #e1ddf5; color: var(--bm-text); }
[data-bs-theme="light"] .auth-hero:before { background-image: linear-gradient(rgba(91, 70, 201, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 70, 201, .06) 1px, transparent 1px); }
[data-bs-theme="light"] .auth-hero:after { background: radial-gradient(circle, rgba(117, 90, 211, .12), transparent 75%); }
[data-bs-theme="light"] .auth-hero__brand, [data-bs-theme="light"] .auth-hero__brand:hover { color: #1d2233; }
[data-bs-theme="light"] .brand-sub, [data-bs-theme="light"] .auth-panel__brand-sm .brand-sub { color: #6b6290 !important; -webkit-text-fill-color: #6b6290 !important; }
[data-bs-theme="light"] .auth-panel__brand-sm span { color: #1d2233; }
[data-bs-theme="light"] .hero-tag { color: #5b46c9; }
[data-bs-theme="light"] .hero-main h2 { color: #161a2e; }
[data-bs-theme="light"] .hero-main p { color: #4f5870; }
[data-bs-theme="light"] .hero-graphic { background: radial-gradient(ellipse at 50% 50%, rgba(145, 120, 255, .12), transparent 57%); border-color: rgba(91, 70, 201, .16); }
[data-bs-theme="light"] .hero-graphic .ring { border-color: rgba(91, 70, 201, .22); }
[data-bs-theme="light"] .hero-graphic .ring.r3 { border-color: rgba(91, 70, 201, .10); }
[data-bs-theme="light"] .hero-graphic .inner-b { color: #fff; box-shadow: 0 20px 60px rgba(96, 63, 206, .28); }
[data-bs-theme="light"] .orbit-point { background: #ffffff; border-color: #dcd5f7; color: #4a35b8; box-shadow: 0 12px 26px rgba(60, 45, 140, .10); }
[data-bs-theme="light"] .hero-bottom { border-top-color: rgba(91, 70, 201, .16); color: #5a6378; }
[data-bs-theme="light"] .hero-bottom strong { color: #1d2233; }
[data-bs-theme="light"] .hero-stat svg { color: #5b46c9; }

/* Panneau du formulaire. */
[data-bs-theme="light"] .auth-panel, [data-bs-theme="light"] .account-main { background: #ffffff; color: var(--bm-text); }
[data-bs-theme="light"] .auth-panel__footer { color: #5a6378; border-top-color: #e3e6ef; }
[data-bs-theme="light"] .auth-panel__footer a:hover { color: #4a35b8; }
[data-bs-theme="light"] .mini-control { background: #ffffff; border-color: #cdd3df; color: #3a4158; }
[data-bs-theme="light"] .mini-control:hover { border-color: #6a55d8; color: #1d2233; }
[data-bs-theme="light"] .auth-form__eyebrow { color: #5b46c9; }
[data-bs-theme="light"] .auth-form__title, [data-bs-theme="light"] .section-title { color: #11152a; }
[data-bs-theme="light"] .auth-form__subtitle, [data-bs-theme="light"] .section-intro { color: #5a6378; }
[data-bs-theme="light"] .auth-form .form-label { color: #2a3047; }
[data-bs-theme="light"] .auth-form .form-control, [data-bs-theme="light"] .auth-form .form-select { background: #ffffff; color: #1d2233; border-color: #cdd3df; }
[data-bs-theme="light"] .auth-form .form-control::placeholder { color: #8a92a6; }
[data-bs-theme="light"] .auth-form .form-control:focus, [data-bs-theme="light"] .auth-form .form-select:focus { background: #ffffff; border-color: #6a55d8; box-shadow: 0 0 0 3px rgba(106, 85, 216, .16); }
[data-bs-theme="light"] .auth-form .form-check-input { background-color: #ffffff; border-color: #a3aabd; }
[data-bs-theme="light"] .auth-form .form-check-input:checked { background-color: #6a55d8; border-color: #6a55d8; }
[data-bs-theme="light"] .auth-form .form-control.is-invalid { border-color: #c4475f; }
[data-bs-theme="light"] .auth-form__row a, [data-bs-theme="light"] .subtle-link, [data-bs-theme="light"] .form-footnote a, [data-bs-theme="light"] .google-terms a { color: #5440c2; }
[data-bs-theme="light"] .auth-form__row a:hover, [data-bs-theme="light"] .subtle-link:hover { color: #3a2a9c; }
[data-bs-theme="light"] .field-note, [data-bs-theme="light"] .form-footnote, [data-bs-theme="light"] .subtle-note { color: #5a6378; }
[data-bs-theme="light"] .field-error { color: #b4233a; }
[data-bs-theme="light"] .auth-field__toggle { color: #5a6378; }
[data-bs-theme="light"] .auth-field__toggle:hover { color: #1d2233; background: #eef0f7; }
[data-bs-theme="light"] .auth-btn-primary, [data-bs-theme="light"] .primary-btn { color: #ffffff; border-color: transparent; background: linear-gradient(130deg, #7b68f0, #5b46c9); box-shadow: 0 11px 22px rgba(91, 70, 201, .22); }
[data-bs-theme="light"] .auth-btn-primary:hover, [data-bs-theme="light"] .primary-btn:hover { color: #ffffff; background: linear-gradient(130deg, #8a78f5, #6a55d8); }
[data-bs-theme="light"] .secondary-btn { background: #ffffff; border-color: #cdd3df; color: #1d2233; }
[data-bs-theme="light"] .secondary-btn:hover { background: #f6f7fb; border-color: #6a55d8; color: #11152a; }
[data-bs-theme="light"] .auth-divider, [data-bs-theme="light"] .auth-or::before, [data-bs-theme="light"] .auth-or::after { background: #e3e6ef; }
[data-bs-theme="light"] .auth-or, [data-bs-theme="light"] .google-terms { color: #6b7389; }
[data-bs-theme="light"] .auth-terms, [data-bs-theme="light"] .consent-scopes-title { color: #3a4158; }

/* Messages, exigences, cartes de données. */
[data-bs-theme="light"] .notice { background: #f1effd; border-color: #d6d0f7; color: #3f3392; }
[data-bs-theme="light"] .notice svg { color: #5b46c9; }
[data-bs-theme="light"] .notice.success { background: #e3f6ec; border-color: #b6e2cb; color: #135e40; }
[data-bs-theme="light"] .notice.warning { background: #fdf2dc; border-color: #f0d49c; color: #6e4700; }
[data-bs-theme="light"] .requirements { color: #4f5870; }
[data-bs-theme="light"] .requirements svg { color: #8a92a6; }
[data-bs-theme="light"] .progress-strength { background: #e3e6ef; }
[data-bs-theme="light"] .mode-box, [data-bs-theme="light"] .data-card { background: #f6f7fb; border-color: #dfe2ec; color: #1d2233; }
[data-bs-theme="light"] .mode-avatar { background: #ece8ff; color: #4a35b8; }
[data-bs-theme="light"] .mode-box strong { color: #11152a; }
[data-bs-theme="light"] .mode-box small, [data-bs-theme="light"] .data-row .lbl { color: #5a6378; }
[data-bs-theme="light"] .mode-check { color: #1d7a55; }
[data-bs-theme="light"] .data-row { border-bottom-color: #e3e6ef; }
[data-bs-theme="light"] .state-icon { background: #e3f6ec; border-color: #b6e2cb; color: #1d7a55; }
[data-bs-theme="light"] .state-icon.purple { background: #ece8ff; border-color: #d6d0f7; color: #5b46c9; }
[data-bs-theme="light"] .tag { background: #ece8ff; border-color: #d6d0f7; color: #4a35b8; }
[data-bs-theme="light"] .tag.good { background: #dcf7ea; border-color: #b6e2cb; color: #12754f; }
[data-bs-theme="light"] .tag.warn { background: #fdf0cf; border-color: #f0d49c; color: #9a5b05; }
[data-bs-theme="light"] .app-tile { background: linear-gradient(145deg, #f6f4ff, #f1f2fb); border-color: #dcd5f7; }
[data-bs-theme="light"] .app-tile small, [data-bs-theme="light"] .scopes small { color: #5a6378; }
[data-bs-theme="light"] .scopes li { border-bottom-color: #e3e6ef; color: #1d2233; }
[data-bs-theme="light"] .scopes svg { color: #5b46c9; }

/* Espace compte. */
[data-bs-theme="light"] .account-shell { background: #f4f5fa; }
[data-bs-theme="light"] .account-sidebar { background: #ffffff; border-right-color: #dfe2ec; }
[data-bs-theme="light"] .account-brand { color: #11152a; }
[data-bs-theme="light"] .account-nav-label { color: #6b7389; }
[data-bs-theme="light"] .account-nav button, [data-bs-theme="light"] .account-nav a { color: #4f5870; }
[data-bs-theme="light"] .account-nav button:hover, [data-bs-theme="light"] .account-nav a:hover { background: #eef0f7; color: #11152a; }
[data-bs-theme="light"] .account-nav button.current, [data-bs-theme="light"] .account-nav a.current { background: #ece8ff; border-color: #d6d0f7; color: #4a35b8; }
[data-bs-theme="light"] .account-sidebar-foot { border-top-color: #e3e6ef; color: #5a6378; }
[data-bs-theme="light"] .account-main { background: #f4f5fa; }
[data-bs-theme="light"] .account-topbar { background: #ffffff; border-bottom-color: #dfe2ec; }
[data-bs-theme="light"] .account-topbar .crumb { color: #5a6378; }
[data-bs-theme="light"] .account-topbar .crumb strong { color: #11152a; }
[data-bs-theme="light"] .crumb-sep { color: #8a92a6; }
[data-bs-theme="light"] .account-avatar, [data-bs-theme="light"] .big-avatar { background: linear-gradient(135deg, #8b93fb, #7c4dea); color: #ffffff; }
[data-bs-theme="light"] .account-card { background: #ffffff; border-color: #dfe2ec; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 28px -22px rgba(0, 0, 0, .25); }
[data-bs-theme="light"] .account-card .desc, [data-bs-theme="light"] .account-heading p, [data-bs-theme="light"] .account-action small, [data-bs-theme="light"] .account-list li .sub { color: #5a6378; }
[data-bs-theme="light"] .account-list li, [data-bs-theme="light"] .account-action { border-top-color: #e3e6ef; }
[data-bs-theme="light"] .account-list li .main { color: #11152a; }
[data-bs-theme="light"] .account-list li .right { color: #3a4158; }
[data-bs-theme="light"] .profile-menu__panel { background: #ffffff; border-color: #dfe2ec; box-shadow: 0 18px 40px rgba(20, 24, 50, .14); }
[data-bs-theme="light"] .profile-menu__identity { border-bottom-color: #e3e6ef; }
[data-bs-theme="light"] .profile-menu__identity strong { color: #11152a; }
[data-bs-theme="light"] .profile-menu__identity small { color: #5a6378; }
[data-bs-theme="light"] .profile-menu__item { color: #2a3047; }
[data-bs-theme="light"] .profile-menu__item:hover, [data-bs-theme="light"] .profile-menu__item:focus-visible { background: #eef0f7; color: #11152a; }
[data-bs-theme="light"] .profile-menu__logout { border-top-color: #e3e6ef; }
[data-bs-theme="light"] .profile-menu__logout .profile-menu__item { color: #b4233a; }
[data-bs-theme="light"] #toast { background: #e3f6ec; border-color: #b6e2cb; color: #135e40; box-shadow: 0 18px 44px rgba(20, 24, 50, .14); }
