/* BSDForAll style for SquirrelMail. Copyright (c) 2026 Stefan Octavian Gheorghiu, ISC license. */
:root { color-scheme: dark; }
html { background: #0f161f; }
body {
  background: #0f161f !important; color: #e4e8ee;
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  scrollbar-color: #2c3847 #0f161f;
}
td, th, p, div, span, li, font { font-family: Georgia, "DejaVu Serif", "Times New Roman", serif; }
a, a:link, a:visited { color: #e3b341 !important; text-decoration: none; }
a:hover, a:active { color: #f6d77a !important; text-decoration: underline; }
::selection { background: #e3b341; color: #14100a; }
hr { border: 0; border-top: 1px solid #2c3847; height: 0; }

/* form controls */
input[type=text], input[type=password], input[type=email], input:not([type]), textarea, select {
  background: #0b1118; color: #e4e8ee; border: 1px solid #2c3847; border-radius: 0; padding: 3px 5px;
  font: 13px ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
input[type=text]:focus, input[type=password]:focus, input:not([type]):focus, textarea:focus, select:focus {
  outline: none; border-color: #e3b341; box-shadow: 0 0 0 1px #e3b341;
}
input[type=submit], input[type=button], input[type=reset], button {
  background: #e3b341; color: #14100a; border: 0; border-radius: 0; padding: 4px 12px; cursor: pointer;
  font: 700 12px ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; letter-spacing: .04em;
}
input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, button:hover { background: #f6d77a; }
input[type=checkbox], input[type=radio] { accent-color: #e3b341; }

/* title bars and headings in the UI font of the main site */
th, b, strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; }
th, b, strong { font-weight: 700; }
tt, pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; }

/* copyright at the bottom of every content page (not in the narrow folder list) */
body:not(.bsd-login-page) { padding-bottom: 3rem; }
body:not(.bsd-login-page)::after {
  content: "BSDForAll \00B7  \00A9  2026 Stefan Octavian Gheorghiu. Free software under the ISC license.";
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .55rem 1rem; text-align: center;
  font: 12px ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; color: #9aa6b5;
  background: #0f161f; border-top: 1px solid #2c3847;
}
@media (max-width: 320px) {
  body:not(.bsd-login-page) { padding-bottom: 0; }
  body:not(.bsd-login-page)::after { display: none; }
}
