/* ============================================================
   Legacy Billmill stylesheet — faithfully ported from the
   original global.css + index.css, adapted to pure CSS
   (no background GIFs required).
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.legacy {
  border: 0;
  margin: 0;
  font: 11px Arial, Verdana, sans-serif;
  line-height: 16px;
  text-align: left;
  color: #4a4949;
  background: #fff;
  min-width: 800px;
}

body.legacy a               { text-decoration: none; color: #ea0000; }
body.legacy a:hover,
body.legacy a:active        { color: #8c0202; }
body.legacy a:focus         { outline: none; }

body.legacy strong          { font-weight: bold; }
body.legacy img             { border: 0; }

/* ---------- Header ---------- */
#bm-header {
  position: relative;
  background-color: #ffffff;
  height: 205px;   /* index page header */
}

/* Logo */
#bm-logo {
  position: absolute;
  left: 8%;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
#bm-logo .logo-mark {
  width: 210px;
  height: 52px;
  background: #F83515;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bm-logo .logo-mark span {
  color: #fff;
  font: bold 22px Arial, sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Right-side login box */
#bm-login-box {
  position: absolute;
  right: 6%;
  top: 40px;
  width: 250px;
  background: #f8f8f8;
  border: 1px solid #d0d0d0;
  padding: 12px 14px 14px;
}
#bm-login-box h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: bold;
  color: #4a4949;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#bm-login-box label {
  display: block;
  float: none;
  width: auto;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 0 2px;
  color: #555;
}
#bm-login-box input[type="text"],
#bm-login-box input[type="password"] {
  display: block;
  width: 100%;
  padding: 3px 4px;
  font-size: 11px;
  border: 1px solid #b0b0b0;
  color: #333;
}
#bm-login-box input[type="submit"] {
  margin-top: 8px;
  cursor: pointer;
  background-color: #F83515;
  color: #ffffff;
  border: none;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#bm-login-box input[type="submit"]:hover { background-color: #c02a10; }
#bm-login-box .login-links {
  margin-top: 8px;
  font-size: 10px;
}
#bm-login-box .login-links a { color: #1ca4dd; }

/* Languages selector */
#bm-languages {
  position: absolute;
  right: 22px;
  top: 8px;
  font-size: 10px;
}
#bm-languages a { color: #888; margin-left: 6px; }

/* ---------- Navigation bar ---------- */
#bm-nav {
  height: 27px;
  background-color: #e8e8e8;
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid #d0d0d0;
  border-bottom: 2px solid #F83515;
}
#bm-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 27px;
  display: flex;
  align-items: stretch;
  border-left: 1px solid #e8e8e8;
}
#bm-nav ul.tabs-left  { float: left;  margin-left: 200px; }
#bm-nav ul.tabs-right { float: right; margin-right: 8%; }
#bm-nav li {
  height: 25px;
  min-width: 90px;
  border-right: 1px solid #d8d8d8;
}
#bm-nav li a,
#bm-nav li span {
  display: block;
  height: 25px;
  line-height: 25px;
  padding: 0 10px;
  text-decoration: none;
  color: #4a4949;
  white-space: nowrap;
  background: #e8e8e8;
}
#bm-nav li span {              /* active tab */
  color: #ffffff;
  background: #F83515;
}
#bm-nav li a:hover,
#bm-nav li a:active {
  color: #ffffff;
  background: #F83515;
  text-decoration: none;
}

/* ---------- Content area ---------- */
#bm-content {
  background-color: #e8e8e8;
  border: 1px solid #e8e8e8;
  min-height: 250px;
  padding: 0;
}

/* Welcome text */
#bm-content h2 {
  font-size: 14px;
  font-weight: bold;
  color: #4a4949;
  position: relative;
  left: 20px;
  width: 85%;
  margin: 0;
  padding: 20px 20px 8px 0;
}
#bm-content p {
  position: relative;
  left: 20px;
  width: 85%;
  margin: 0;
  padding: 4px 20px 8px 0;
}

/* "Sign Up for Free" button */
.bm-btn-signup {
  display: block;
  width: 198px;
  height: 37px;
  background: #F83515;
  position: absolute;
  left: 600px;
  top: 350px;
  text-align: center;
  line-height: 37px;
}
.bm-btn-signup:hover { background: #c02a10; }
.bm-btn-signup span {
  display: block;
  font-size: 12px;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0;
  line-height: 37px;
}

/* Screenshot gallery */
#bm-images {
  position: relative;
  margin-left: 8%;
  padding-top: 30px;
  padding-bottom: 30px;
}
#bm-images table {
  border-spacing: 0;
}
#bm-images td {
  vertical-align: top;
  padding: 20px;
}
.bm-screenshot {
  width: 240px;
  height: 160px;
  background: #c8c8c8;
  border: 2px solid #b0b0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 10px;
  text-align: center;
}
.bm-screenshot svg {
  opacity: 0.4;
}
#bm-images td p {
  position: static;
  left: auto;
  width: auto;
  font-size: 11px;
  color: #666;
  margin-top: 6px;
  padding: 0;
}

/* ---------- Footer ---------- */
#bm-footer {
  background-color: #ffffff;
  border-top: 3px solid #F83515;
  height: 27px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: bold;
}
#bm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 27px;
  float: right;
  margin-right: 8%;
  display: flex;
}
#bm-footer li {
  height: 27px;
  min-width: 90px;
  border-right: 1px solid #eee;
}
#bm-footer li a,
#bm-footer li span {
  display: block;
  height: 25px;
  line-height: 25px;
  padding: 0 10px;
  color: #8e8c8c;
  text-decoration: none;
  white-space: nowrap;
}
#bm-footer li a:hover,
#bm-footer li span {
  color: #ffffff;
  background: #F83515;
}

/* clearfix */
.bm-clear { clear: both; }
