/* Login/Register logos: actual asset sizes and theme-aware visibility. */
    .app-brand:has(.tm-auth-logo-wrap),
    .app-brand:has(.tm-auth-logo-wrap) .app-brand-link {
        display: flex !important; justify-content: center !important; align-items: center !important;
    }
    .tm-auth-logo-wrap { display: inline-flex !important; align-items: center; justify-content: center; width: 120px !important; height: 40px !important; }
    .tm-auth-logo { width: 120px !important; height: 40px !important; max-width: 120px !important; max-height: 40px !important; object-fit: contain !important; }
    .tm-auth-logo-light { display: block !important; }
    .tm-auth-logo-dark { display: none !important; }
    html[data-bs-theme="dark"] .tm-auth-logo-light,
    html[data-theme="dark"] .tm-auth-logo-light,
    html.dark-style .tm-auth-logo-light,
    body[data-bs-theme="dark"] .tm-auth-logo-light { display: none !important; }
    html[data-bs-theme="dark"] .tm-auth-logo-dark,
    html[data-theme="dark"] .tm-auth-logo-dark,
    html.dark-style .tm-auth-logo-dark,
    body[data-bs-theme="dark"] .tm-auth-logo-dark { display: block !important; }
    .tm-auth-artcomtech-logo { display: inline-block !important; width: 28px !important; height: 28px !important; object-fit: contain !important; vertical-align: middle; flex-shrink: 0; }

/* Keep both authentication logos visible in their matching themes. */
.tm-auth-logo-wrap {display:inline-flex!important;align-items:center;justify-content:center;width:120px!important;height:40px!important;}
.tm-auth-logo {width:120px!important;height:40px!important;max-width:120px!important;max-height:40px!important;object-fit:contain!important;}
html[data-bs-theme="light"] .tm-auth-logo-light {display:block!important;}
html[data-bs-theme="light"] .tm-auth-logo-dark {display:none!important;}
html[data-bs-theme="dark"] .tm-auth-logo-light {display:none!important;}
html[data-bs-theme="dark"] .tm-auth-logo-dark {display:block!important;}

/* Real, clickable Remember me checkbox, independent of theme form-check overrides. */
.tm-login-remember-row { display: flex; align-items: center; justify-content: flex-start; gap: 9px; position: relative; }
.tm-login-remember-checkbox { appearance: auto !important; -webkit-appearance: checkbox !important; display: inline-block !important; position: static !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; width: 17px !important; height: 17px !important; min-width: 17px !important; margin: 0 !important; padding: 0 !important; cursor: pointer; accent-color: #6366f1; }
.tm-login-remember-label { display: inline-block; margin: 0 !important; cursor: pointer; user-select: none; }

/* Registration consent: native checkbox, accessible and clickable independently of theme form-check styles. */
.tm-register-terms-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; column-gap: 6px; row-gap: 4px; position: relative; }
.tm-register-terms-checkbox { appearance: auto !important; -webkit-appearance: checkbox !important; display: inline-block !important; position: static !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; width: 17px !important; height: 17px !important; min-width: 17px !important; margin: 0 3px 0 0 !important; padding: 0 !important; cursor: pointer; accent-color: #6366f1; }
.tm-register-terms-label { display: inline-block; margin: 0 !important; cursor: pointer; user-select: none; }
.tm-register-terms-link { display: inline-block; position: relative; pointer-events: auto !important; }
