/* Regvion Portal — site-wide theme tweaks layered on top of Vuexy */

/*
 * Logo dark-mode treatment.
 *
 * The shipped regvion-logo.png is a dark-navy wordmark with a copper ring
 * — invisible against the dark sidebar in dark mode. Until a proper
 * regvion-logo-dark.png variant is added, we filter the existing image
 * to monochrome white, which preserves the silhouette and ring shape.
 *
 * To swap in a real dark-mode asset later: drop the file at
 * /images/logo/regvion-logo-dark.png and replace this filter rule with
 * a `content: url(...)` swap on the .rgv-logo-img selector.
 */
html[data-bs-theme="dark"] .rgv-logo-img {
    filter: brightness(0) invert(1);
}

/*
 * Account/login layout has a hard-coded navy heading + muted blue paragraph
 * on the cover panel. In dark mode the cover background flips dark too, so
 * we have to lift those colours.
 */
html[data-bs-theme="dark"] .auth-cover-bg h3[style*="#19293B"] {
    color: var(--bs-body-color) !important;
}
html[data-bs-theme="dark"] .auth-cover-bg p[style*="#5e7a97"] {
    color: var(--bs-secondary-color) !important;
}

/*
 * Floating theme toggle (login screen) — sit it above the auth illustration
 * background plate so it's always tappable.
 */
.rgv-theme-toggle-floating {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
}
.rgv-theme-toggle-floating .nav-item { margin: 0; }
