/* Full Hosting — Roundcube Elastic contrast fixes (text >= 4.5:1, control boundaries >= 3:1). Managed by fh-cwp-theme-reconcile. */
/* ---------- light ---------- */
html:not(.dark-mode) .form-control, html:not(.dark-mode) .custom-select, html:not(.dark-mode) input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not(.no-bs),
html:not(.dark-mode) select, html:not(.dark-mode) textarea { border-color: #767676 !important; }
html:not(.dark-mode) .form-control:focus, html:not(.dark-mode) .custom-select:focus, html:not(.dark-mode) input:focus, html:not(.dark-mode) select:focus, html:not(.dark-mode) textarea:focus { border-color: #0067a3 !important; }
html:not(.dark-mode) .searchbar { border: 1px solid #767676 !important; border-radius: .25rem; }
html:not(.dark-mode) #layout-content a:not(.button):not(.btn), html:not(.dark-mode) #mailtoprotohandler, html:not(.dark-mode) .formbuttons a.button.icon, html:not(.dark-mode) .float-right > a.button.icon, html:not(.dark-mode) td.source a, html:not(.dark-mode) p.license a, html:not(.dark-mode) #license a, html:not(.dark-mode) .about a:not(.button), html:not(.dark-mode) .propform a:not(.button) { color: #0067a3 !important; }
html:not(.dark-mode) .btn-primary, html:not(.dark-mode) button.mainaction, html:not(.dark-mode) .button.mainaction, html:not(.dark-mode) input.mainaction,
html:not(.dark-mode) #rcmloginsubmit { background-color: #00699e !important; border-color: #00699e !important; color: #fff !important; }
html:not(.dark-mode) .btn-primary:hover, html:not(.dark-mode) .button.mainaction:hover, html:not(.dark-mode) #rcmloginsubmit:hover { background-color: #005582 !important; border-color: #005582 !important; }
html:not(.dark-mode) .btn-secondary { background-color: #5a6d75 !important; border-color: #5a6d75 !important; color: #fff !important; }
html:not(.dark-mode) .pagenav-text, html:not(.dark-mode) #rcmcountdisplay, html:not(.dark-mode) .quota-widget .count { color: #5c5f60 !important; }
html:not(.dark-mode) a.disabled, html:not(.dark-mode) a.button.disabled, html:not(.dark-mode) .toolbar a.disabled { opacity: 1 !important; color: #5f6466 !important; }
html:not(.dark-mode) a.disabled .inner, html:not(.dark-mode) a.button.disabled .inner { color: #5f6466 !important; opacity: 1 !important; }
html:not(.dark-mode) #layout-menu .special-buttons a.logout, html:not(.dark-mode) a.logout .inner, html:not(.dark-mode) #layout-menu a.logout { color: #ff8a88 !important; }
/* ---------- dark ---------- */
html.dark-mode .searchbar { border: 1px solid #7a8a8e !important; border-radius: .25rem; }
html.dark-mode a.disabled, html.dark-mode a.button.disabled, html.dark-mode .toolbar a.disabled { opacity: 1 !important; color: #a3adb0 !important; }
html.dark-mode a.disabled .inner, html.dark-mode a.button.disabled .inner { color: #a3adb0 !important; opacity: 1 !important; }
html.dark-mode .notice, html.dark-mode .notice span, html.dark-mode .ui.alert-info, html.dark-mode .boxinformation { color: #ffffff !important; }
html.dark-mode .form-control, html.dark-mode .custom-select, html.dark-mode input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not(.no-bs), html.dark-mode select, html.dark-mode textarea { border-color: #7a8a8e !important; }
