/* login-theme.css — the Gold | Classic | Bloody Diamond | Natural Emerald
   themes on the LOGIN view of index.html (Hugo, 2026-10-18). Scoped to
   #loginView: the dashboard rules in dashboard-theme.css and the welcome
   page are untouched. Gold = the hardcoded defaults in index.html
   (body.gold-theme), so there is no gold block. Classic = body without a
   theme class, Bloody Diamond = body.bloody-theme, Natural Emerald =
   body.emerald-theme. The suns reuse the .theme-quick-btn styles already
   defined in index.html and the shared dashboard-theme-toggle.js machinery
   (same localStorage + DB state as the dashboard and welcome pages). */

/* ---- the four-sun quick switch inside the login top bar (compact variant
   of the sidebar row; the sidebar layout rules do not apply here) ---- */
#loginView .theme-quick-switch { display: flex; align-items: center; gap: 8px; margin-inline-start: 6px; padding: 0; margin-top: 0; justify-content: flex-start; }

/* ---- Classic (no theme class): electric blue #2E5BFF ---- */
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .gold-contour { border-color: rgba(46, 91, 255, 0.75); box-shadow: 0 0 6px rgba(46, 91, 255, 0.45), 0 0 16px rgba(46, 91, 255, 0.14), inset 0 0 12px rgba(46, 91, 255, 0.07); }
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-logo { --gold-logo: #2E5BFF; }
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lang-btn:hover,
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-big:hover { border-color: #2E5BFF; }
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lang-btn.active,
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-login,
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-modal-card .login-btn { background: #2E5BFF; border-color: #2E5BFF; }
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-login:hover,
body:not(.light-theme):not(.gold-theme):not(.bloody-theme):not(.emerald-theme) #loginView .lv-modal-card .login-btn:hover:not(:disabled) { background: #2E5BFF; border-color: #2E5BFF; }

/* ---- Bloody Diamond: deep blood red #A30000 ---- */
body:not(.light-theme).bloody-theme #loginView .gold-contour { border-color: rgba(163, 0, 0, 0.75); box-shadow: 0 0 6px rgba(163, 0, 0, 0.45), 0 0 16px rgba(163, 0, 0, 0.14), inset 0 0 12px rgba(163, 0, 0, 0.07); }
body:not(.light-theme).bloody-theme #loginView .lv-logo { --gold-logo: #A30000; }
body:not(.light-theme).bloody-theme #loginView .lang-btn:hover,
body:not(.light-theme).bloody-theme #loginView .lv-big:hover { border-color: #A30000; }
body:not(.light-theme).bloody-theme #loginView .lang-btn.active,
body:not(.light-theme).bloody-theme #loginView .lv-login,
body:not(.light-theme).bloody-theme #loginView .lv-modal-card .login-btn { background: #A30000; border-color: #A30000; }
body:not(.light-theme).bloody-theme #loginView .lv-login:hover,
body:not(.light-theme).bloody-theme #loginView .lv-modal-card .login-btn:hover:not(:disabled) { background: #A30000; border-color: #A30000; }

/* ---- Natural Emerald: deep emerald green #004400 ---- */
body:not(.light-theme).emerald-theme #loginView .gold-contour { border-color: rgba(0, 68, 0, 0.75); box-shadow: 0 0 6px rgba(0, 68, 0, 0.45), 0 0 16px rgba(0, 68, 0, 0.14), inset 0 0 12px rgba(0, 68, 0, 0.07); }
body:not(.light-theme).emerald-theme #loginView .lv-logo { --gold-logo: #004400; }
body:not(.light-theme).emerald-theme #loginView .lang-btn:hover,
body:not(.light-theme).emerald-theme #loginView .lv-big:hover { border-color: #004400; }
body:not(.light-theme).emerald-theme #loginView .lang-btn.active,
body:not(.light-theme).emerald-theme #loginView .lv-login,
body:not(.light-theme).emerald-theme #loginView .lv-modal-card .login-btn { background: #004400; border-color: #004400; }
body:not(.light-theme).emerald-theme #loginView .lv-login:hover,
body:not(.light-theme).emerald-theme #loginView .lv-modal-card .login-btn:hover:not(:disabled) { background: #004400; border-color: #004400; }

/* Emerald DARK only (Hugo, 2026-10-19): the Matrix digit green #00E676 (login-view.js rain). Same rules as the block above, scoped :not(.dash-light) and placed after it; Emerald light keeps #004400.
   The accent fills carry dark text (#14120a, about 11:1; the base dark text on #004400 was 1.6:1). */
body.emerald-theme:not(.dash-light) #loginView .gold-contour { border-color: rgba(0, 230, 118, 0.75); box-shadow: 0 0 6px rgba(0, 230, 118, 0.45), 0 0 16px rgba(0, 230, 118, 0.14), inset 0 0 12px rgba(0, 230, 118, 0.07); }
body.emerald-theme:not(.dash-light) #loginView .lv-logo { --gold-logo: #00E676; }
body.emerald-theme:not(.dash-light) #loginView .lang-btn:hover,
body.emerald-theme:not(.dash-light) #loginView .lv-big:hover { border-color: #00E676; }
body.emerald-theme:not(.dash-light) #loginView .lang-btn.active,
body.emerald-theme:not(.dash-light) #loginView .lv-login,
body.emerald-theme:not(.dash-light) #loginView .lv-modal-card .login-btn { background: #00E676; border-color: #00E676; color: #14120a; }
body.emerald-theme:not(.dash-light) #loginView .lv-login:hover,
body.emerald-theme:not(.dash-light) #loginView .lv-modal-card .login-btn:hover:not(:disabled) { background: #00E676; border-color: #00E676; color: #14120a; }
body.emerald-theme:not(.dash-light) #loginView .theme-quick-btn[data-dashboard-theme="emerald"] { color: #00E676; }
