/* Hestia Host brand overrides for Roundcube elastic */
a { color: #e5711d; }
a:hover { color: #c95f10; }
button.mainaction, .button.mainaction, .button.btn.mainaction {
  background-color: #ff8a33 !important;
  border-color: #ff8a33 !important;
  color: #fff !important;
}
button.mainaction:hover, .button.mainaction:hover {
  background-color: #e5711d !important;
  border-color: #e5711d !important;
}
.listing li.selected > a, .listing li.selected,
#layout-menu .special-buttons a { color: #e5711d !important; }
.menu a.active, .menu .active > a { color: #e5711d !important; }
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active { background: #ff8a33 !important; border-color: #ff8a33 !important; }
body.task-login { background: #faf7f3; }
body.task-login #layout, body.task-login #login-form + .formcontainer,
body.task-login .formcontainer { background: #fff3e8; }
#logo { max-height: 72px; width: auto; }

/* Mobile fit + dark outline so the white "Hestia" letters read on the light background (Ramy, 2026-12-02) */
#logo {
  max-height: none;
  max-width: min(80vw, 340px);
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
  filter:
    drop-shadow(1px 0 0 #141414) drop-shadow(-1px 0 0 #141414)
    drop-shadow(0 1px 0 #141414) drop-shadow(0 -1px 0 #141414)
    drop-shadow(1px 1px 0 #141414) drop-shadow(-1px -1px 0 #141414)
    drop-shadow(1px -1px 0 #141414) drop-shadow(-1px 1px 0 #141414);
}
