/* ==========================================================================
   ChatBot SaaS — Système de composants "flat" (remplace intégralement le
   thème Expodash/Bootstrap). Reproduit fidèlement les maquettes mock/*.dc.html.
   Consomme les jetons de app/static/css/dashboard-tokens.css (--cbs-*).
   Aucune dépendance Bootstrap : classes autonomes, JS vanilla minimal.
   ========================================================================== */

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--cbs-font-body);
    background: var(--cbs-bg);
    color: var(--cbs-text);
}

a {
    color: var(--cbs-accent);
    text-decoration: none;
}

a:hover {
    color: var(--cbs-accent-hover);
    text-decoration: underline;
}

button {
    font-family: inherit;
}

.tabular {
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Coquille : sidebar + zone principale
   ========================================================================== */

.cbs-shell {
    display: flex;
    min-height: 100vh;
}

.cbs-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--cbs-surface);
    border-right: 1px solid var(--cbs-border);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.cbs-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 20px;
    text-decoration: none;
    color: inherit;
}

.cbs-sidebar__brand:hover {
    text-decoration: none;
    color: inherit;
}

.cbs-sidebar__mark {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--cbs-accent);
    color: var(--cbs-accent-fg);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Plateforme (super admin) : le vrai logo Boafo plutôt que l'initiale de
   l'organisation utilisée par .cbs-sidebar__mark côté tenant. */
.cbs-sidebar__mark--brand {
    background: transparent;
}

.cbs-sidebar__mark--brand img {
    width: 100%;
    height: 100%;
}

.cbs-sidebar__name {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cbs-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cbs-nav-label {
    padding: 16px 12px 6px;
    font-family: var(--cbs-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--cbs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cbs-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--cbs-text-muted);
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}

a.cbs-nav-item:hover {
    text-decoration: none;
    background: var(--cbs-bg);
    color: var(--cbs-text);
}

.cbs-nav-item.is-active {
    position: relative;
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
    font-weight: 600;
}

/* Repère de page courante — seule touche de rouge/orange signal de la
   sidebar, jamais plus d'un item actif à la fois (charte §3.3). */
.cbs-nav-item.is-active::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 3px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 0 2px 2px 0;
    background: var(--cbs-signal);
}

.cbs-nav-item .cbs-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cbs-sidebar__account {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-top: 1px solid var(--cbs-border);
    text-decoration: none;
    color: inherit;
}

.cbs-sidebar__account:hover {
    text-decoration: none;
    color: inherit;
}

.cbs-sidebar__account-name {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cbs-sidebar__account-role {
    font-size: 12px;
    color: var(--cbs-text-muted);
}

.cbs-main {
    flex: 1;
    min-width: 0;
    padding: 32px 40px;
    box-sizing: border-box;
}

/* ==========================================================================
   En-tête de page : fil d'ariane + bouton thème, titre
   ========================================================================== */

.cbs-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.cbs-page-header--tight {
    margin-bottom: 20px;
}

.cbs-breadcrumb {
    font-size: 13px;
    color: var(--cbs-text-muted);
}

.cbs-breadcrumb .current {
    color: var(--cbs-text);
    font-weight: 500;
}

.cbs-page-title {
    font-family: var(--cbs-font-heading);
    font-size: 24px;
    font-weight: 800;
    margin: 8px 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cbs-page-subtitle {
    font-size: 14px;
    color: var(--cbs-text-muted);
    margin: 0 0 4px;
}

.cbs-theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cbs-surface);
    border: 1px solid var(--cbs-border);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cbs-text);
    cursor: pointer;
    flex-shrink: 0;
}

.cbs-theme-toggle:hover {
    border-color: var(--cbs-accent);
    color: var(--cbs-accent);
}

.cbs-theme-toggle__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cbs-text-muted);
    flex-shrink: 0;
}

.cbs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.cbs-dot-sm {
    width: 8px;
    height: 8px;
}

/* ==========================================================================
   Bannière (essai, avertissement persistant)
   ========================================================================== */

.cbs-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    margin-bottom: 20px;
}

.cbs-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
}

/* Point signal orange — la bannière d'essai est le seul endroit où quelque
   chose d'urgent est signalé, donc la seule touche de rouge/orange visible
   sur l'écran (charte §3.3). Décoratif : le texte reste sur --cbs-accent
   pour rester accessible (le rouge seul n'atteint pas l'AAA en petit texte). */
.cbs-banner__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cbs-signal);
    flex-shrink: 0;
}

.cbs-banner a {
    font-weight: 500;
}

.cbs-callout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.cbs-callout--info {
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
}

.cbs-callout--neutral {
    border: 1px solid var(--cbs-border);
    background: var(--cbs-surface);
    color: var(--cbs-text-muted);
}

.cbs-callout__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    color: inherit;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.cbs-callout--info .cbs-callout__icon {
    background: var(--cbs-accent);
    color: var(--cbs-accent-fg);
}

/* ==========================================================================
   Cartes & grilles
   ========================================================================== */

.cbs-card {
    border: 1px solid var(--cbs-border);
    border-radius: 8px;
    background: var(--cbs-surface);
    padding: 20px;
}

.cbs-card--flush {
    padding: 0;
    overflow: hidden;
}

.cbs-card__header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--cbs-border);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cbs-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.cbs-grid-2--reverse {
    grid-template-columns: 1fr 2fr;
}

.cbs-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* KPI */

.cbs-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 1100px) {
    .cbs-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cbs-kpi-label {
    font-size: 13px;
    color: var(--cbs-text-muted);
    font-weight: 500;
    margin-bottom: 10px;
}

.cbs-kpi-value {
    font-size: 32px;
    font-weight: 700;
}

/* ==========================================================================
   Tableaux (grille CSS, pas <table>)
   ========================================================================== */

.cbs-table {
    border: 1px solid var(--cbs-border);
    border-radius: 8px;
    background: var(--cbs-surface);
    overflow: hidden;
}

.cbs-table__head {
    display: grid;
    gap: 12px;
    padding: 10px 20px;
    font-family: var(--cbs-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--cbs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--cbs-border);
}

.cbs-table__row {
    display: grid;
    gap: 12px;
    padding: 14px 20px;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid var(--cbs-border);
}

.cbs-table__row:last-child {
    border-bottom: none;
}

.cbs-table__row:hover {
    background: var(--cbs-bg);
}

/* Une ligne de tableau peut être un <a> entier (ex. sessions récentes) : elle
   ne doit pas hériter du style de lien (couleur accent, soulignement). */
a.cbs-table__row,
a.cbs-table__row:hover {
    color: inherit;
    text-decoration: none;
}

.cbs-table__cell--muted {
    color: var(--cbs-text-muted);
}

.cbs-table__cell--end {
    text-align: right;
}

.cbs-table__action {
    color: var(--cbs-accent);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.cbs-table__action-muted {
    color: var(--cbs-text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.cbs-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Badges de statut
   ========================================================================== */

.cbs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.cbs-badge--neutral {
    background: var(--cbs-bg);
    border: 1px solid var(--cbs-border);
    color: var(--cbs-text);
}

.cbs-badge--success {
    background: rgba(var(--cbs-success-rgb), 0.12);
    color: var(--cbs-success);
}

.cbs-badge--warning {
    background: rgba(var(--cbs-warning-rgb), 0.12);
    color: var(--cbs-warning);
}

.cbs-badge--danger {
    background: rgba(var(--cbs-danger-rgb), 0.12);
    color: var(--cbs-danger);
}

.cbs-badge--info {
    background: rgba(var(--cbs-info-rgb), 0.12);
    color: var(--cbs-info);
}

.cbs-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.cbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cbs-surface);
    color: var(--cbs-text);
    border: 1px solid var(--cbs-border);
    border-radius: 6px;
    padding: 9px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.cbs-btn:hover {
    border-color: var(--cbs-accent);
    color: var(--cbs-accent);
    text-decoration: none;
}

.cbs-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cbs-btn--primary {
    background: var(--cbs-accent);
    color: var(--cbs-accent-fg);
    border-color: var(--cbs-accent);
}

.cbs-btn--primary:hover {
    background: var(--cbs-accent-hover);
    border-color: var(--cbs-accent-hover);
    color: var(--cbs-accent-fg);
}

.cbs-btn--danger {
    background: transparent;
    color: var(--cbs-danger);
    border-color: rgba(var(--cbs-danger-rgb), 0.4);
}

.cbs-btn--danger:hover {
    background: var(--cbs-danger);
    color: #fff;
    border-color: var(--cbs-danger);
}

.cbs-btn--danger-solid {
    background: var(--cbs-danger);
    color: #fff;
    border-color: var(--cbs-danger);
}

.cbs-btn--sm {
    padding: 6px 12px;
    font-size: 13px;
}

.cbs-btn--lg {
    padding: 11px;
    font-size: 14px;
}

.cbs-btn--block {
    width: 100%;
}

/* ==========================================================================
   Formulaires
   ========================================================================== */

.cbs-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.cbs-required {
    color: var(--cbs-danger);
    margin-left: 2px;
}

.cbs-input,
.cbs-select,
.cbs-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--cbs-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--cbs-surface);
    color: var(--cbs-text);
}

.cbs-input:disabled,
.cbs-select:disabled,
.cbs-textarea:disabled {
    background: var(--cbs-bg);
    color: var(--cbs-text-muted);
}

.cbs-input:focus,
.cbs-select:focus,
.cbs-textarea:focus {
    outline: 2px solid var(--cbs-accent);
    outline-offset: 1px;
}

.cbs-field {
    margin-bottom: 16px;
}

.cbs-hint {
    font-size: 12px;
    color: var(--cbs-text-muted);
    margin-top: 6px;
}

.cbs-field-error {
    font-size: 12px;
    color: var(--cbs-danger);
    margin-top: 6px;
}

.cbs-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* ==========================================================================
   Onglets (sous-navigation)
   ========================================================================== */

.cbs-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--cbs-border);
    margin-bottom: 24px;
}

.cbs-tab {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cbs-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.cbs-tab:hover {
    text-decoration: none;
    color: var(--cbs-text);
}

.cbs-tab.is-active {
    color: var(--cbs-accent);
    border-bottom-color: var(--cbs-accent);
}

.cbs-tab__count {
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
}

/* ==========================================================================
   États vides
   ========================================================================== */

.cbs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--cbs-text-muted);
}

.cbs-empty__icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.875rem;
    border-radius: 50%;
    background: var(--cbs-bg);
    font-size: 1.5rem;
    color: var(--cbs-text-muted);
}

.cbs-empty__title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--cbs-text);
}

.cbs-empty__text {
    font-size: 0.875rem;
    margin-bottom: 0;
    max-width: 32ch;
}

/* ==========================================================================
   Avatar
   ========================================================================== */

.cbs-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cbs-avatar--sm {
    width: 24px;
    height: 24px;
    font-size: 11px;
}

.cbs-avatar--lg {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* ==========================================================================
   Modales
   ========================================================================== */

.cbs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 24, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cbs-modal-overlay.is-open {
    display: flex;
}

.cbs-modal {
    width: 100%;
    max-width: 420px;
    background: var(--cbs-surface);
    border-radius: 8px;
    box-shadow: var(--cbs-shadow-float);
    padding: 26px;
    max-height: 90vh;
    overflow-y: auto;
}

.cbs-modal--sm {
    max-width: 400px;
    padding: 24px;
}

.cbs-modal__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cbs-modal__subtitle {
    font-size: 13px;
    color: var(--cbs-text-muted);
    margin-bottom: 20px;
}

.cbs-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

/* ==========================================================================
   Toasts (messages Django)
   ========================================================================== */

.cbs-toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.cbs-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--cbs-surface);
    border-radius: 8px;
    box-shadow: var(--cbs-shadow-float);
    padding: 14px 16px;
    font-size: 13px;
    border-left: 3px solid var(--cbs-info);
}

.cbs-toast--success {
    border-left-color: var(--cbs-success);
}

.cbs-toast--error {
    border-left-color: var(--cbs-danger);
}

.cbs-toast--warning {
    border-left-color: var(--cbs-warning);
}

.cbs-toast__close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--cbs-text-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

/* ==========================================================================
   Liste d'actions rapides
   ========================================================================== */

.cbs-quicklinks {
    display: flex;
    flex-direction: column;
}

.cbs-quicklink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--cbs-border);
}

.cbs-quicklink:last-child {
    border-bottom: none;
}

.cbs-quicklink:hover {
    background: var(--cbs-bg);
    text-decoration: none;
    color: inherit;
}

.cbs-quicklink__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--cbs-accent-subtle);
    color: var(--cbs-accent);
}

.cbs-quicklink__title {
    font-weight: 500;
    font-size: 14px;
}

.cbs-quicklink__subtitle {
    font-size: 12px;
    color: var(--cbs-text-muted);
}

/* ==========================================================================
   Divers
   ========================================================================== */

.cbs-skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1200;
    padding: 0.75rem 1.25rem;
    background: var(--cbs-accent);
    color: var(--cbs-accent-fg);
    font-weight: 600;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}

.cbs-skip-link:focus {
    left: 0;
    color: #fff;
}

.cbs-quota-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--cbs-bg);
    overflow: hidden;
}

.cbs-quota-bar__fill {
    height: 100%;
    background: var(--cbs-accent);
}

.cbs-code-block {
    overflow-x: auto;
    white-space: pre;
    background: var(--cbs-bg);
    border: 1px solid var(--cbs-border);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--cbs-font-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
}

.cbs-mono {
    font-family: var(--cbs-font-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8125rem;
}

/* Anneau de focus clavier uniquement */
.cbs-btn:focus-visible,
.cbs-input:focus-visible,
.cbs-select:focus-visible,
.cbs-nav-item:focus-visible,
a:focus-visible {
    outline: 2px solid var(--cbs-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(var(--cbs-accent-rgb), 0.35);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .cbs-sidebar, .cbs-theme-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   Bulles de conversation (lecture seule)
   ========================================================================== */

.cbs-chat-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cbs-bubble-row {
    display: flex;
}

.cbs-bubble-row--user {
    justify-content: flex-end;
}

.cbs-bubble-row--assistant {
    justify-content: flex-start;
}

.cbs-bubble {
    max-width: 460px;
    border-radius: 8px;
    padding: 11px 15px;
    font-size: 14px;
    line-height: 1.5;
}

.cbs-bubble--user {
    background: var(--cbs-bg);
}

.cbs-bubble--assistant {
    background: var(--cbs-surface);
    border: 1px solid var(--cbs-border);
}

.cbs-bubble__meta {
    font-size: 11px;
    color: var(--cbs-text-muted);
    margin-top: 4px;
}

.cbs-bubble-row--user .cbs-bubble__meta {
    text-align: right;
}

/* ==========================================================================
   Mise en page centrée (auth : connexion, inscription, invitation)
   ========================================================================== */

.cbs-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    position: relative;
}

.cbs-auth-page .cbs-theme-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
}

.cbs-auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--cbs-surface);
    border: 1px solid var(--cbs-border);
    border-radius: 8px;
    padding: 36px 32px;
}

.cbs-auth-card--wide {
    max-width: 480px;
}

/* Marque Boafo (symbole seul), bascule clair/sombre selon la charte §2.5 :
   deux SVG superposés, un seul affiché selon [data-bs-theme]. Réutilisé pour
   .cbs-auth-mark et .cbs-sidebar__mark--brand. */
.cbs-brand-logo--dark {
    display: none;
}

[data-bs-theme="dark"] .cbs-brand-logo--light {
    display: none;
}

[data-bs-theme="dark"] .cbs-brand-logo--dark {
    display: block;
}

.cbs-auth-mark {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
}

.cbs-auth-mark img {
    width: 100%;
    height: 100%;
}

.cbs-auth-title {
    font-family: var(--cbs-font-heading);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.cbs-auth-subtitle {
    font-size: 14px;
    color: var(--cbs-text-muted);
    margin: 0 0 28px;
}

.cbs-auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--cbs-text-muted);
}
