/* =========================================================
   FATALITY.CENTER — Modern Black & White Theme
   Paste this into: Admin CP > Templates & Themes > Themes
   > (your theme) > Edit Themes (pencil icon) > global.css
   SELECT ALL existing content in that box and REPLACE it
   with this file entirely, then Save & Apply.
   ========================================================= */

/* ---------- base ---------- */
body {
    background-color: #0a0a0a;
    color: #d9d9d9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- overall container ---------- */
#container, .container, .bgcolor {
    background-color: #0a0a0a;
    border: 1px solid #1f1f1f;
}

/* ---------- header ---------- */
#header {
    background-color: #000000;
    border-bottom: 1px solid #1f1f1f;
}

#logo {
    background: #000000 !important;
    text-align: center;
    padding: 42px 0 34px;
}

/* hide the stock MyBB logo graphic, replace with our own wordmark */
#logo img {
    display: none !important;
}

#logo a {
    display: block;
    border-bottom: none;
}

#logo a::after {
    content: "FATALITY.CENTER";
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 7px;
    color: #ffffff;
    text-transform: uppercase;
}

/* the nav menu lives INSIDE #logo in this theme, so we have to
   cancel the wordmark text specifically for any link inside the
   menu list, or it duplicates onto every nav item */
#logo ul.menu a::after,
#logo li a::after {
    content: none !important;
}

/* nav menu bar */
#header ul,
#header ul li,
#footer ul,
#footer ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header ul.menu,
#footer ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 34px;
    border-top: 1px solid #1f1f1f;
    padding: 16px 0 !important;
}

#header ul.menu li a,
#footer ul li a {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888 !important;
    padding: 6px 12px;
    border-radius: 4px;
    border-bottom: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}

#header ul.menu li a:hover,
#footer ul li a:hover {
    color: #ffffff !important;
    background-color: #161616;
    text-decoration: none;
}

/* welcome/user strip */
#panel, #panel .upper {
    background: #000000 !important;
    color: #777777 !important;
    border-bottom: 1px solid #1f1f1f;
    font-size: 11px;
    padding: 10px 14px;
}

#panel .upper a, #panel a {
    color: #cccccc !important;
}

#panel .upper a:hover, #panel a:hover {
    color: #ffffff !important;
}

/* dropdown menus */
.popup_menu .popup_item:hover {
    background: #ffffff;
    color: #000000;
}

/* pagination controls */
.pagination a {
    border: 1px solid #1f1f1f;
    border-radius: 4px;
    padding: 3px 8px;
}

.pagination a:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    text-decoration: none;
}

/* ---------- forum / table structure ---------- */
.tborder {
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    background-color: #000000;
    overflow: hidden;
    margin-bottom: 4px;
}

.thead, .tcat {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    padding: 10px 14px;
    border-bottom: none;
}

.thead a, .tcat a {
    color: #000000 !important;
}

.trow1 {
    background-color: #0d0d0d;
    color: #cccccc;
    border-bottom: 1px solid #1a1a1a;
    padding: 8px 12px;
}

.trow2 {
    background-color: #131313;
    color: #cccccc;
    border-bottom: 1px solid #1a1a1a;
    padding: 8px 12px;
}

.trow1:hover, .trow2:hover {
    background-color: #1c1c1c;
    transition: background-color 0.15s ease;
}

.tfoot {
    background-color: #000000;
    border-top: 1px solid #1f1f1f;
    color: #666666;
    font-size: 10px;
    padding: 8px 12px;
}

.subject_new, .subject_old, .lastpost a {
    color: #ffffff;
}

/* ---------- posts ---------- */
.post {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    margin-bottom: 10px;
}

.post_author {
    background-color: #000000;
    border-right: 1px solid #1a1a1a;
    text-align: center;
    padding: 12px;
}

.post_author .username {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.post_body {
    color: #cccccc;
    line-height: 1.7;
    padding: 12px 16px;
}

.postavatar img, .avatar img {
    border: 1px solid #2a2a2a;
    border-radius: 4px;
}

/* ---------- buttons & forms ---------- */
input, textarea, select {
    background-color: #0d0d0d;
    color: #ffffff;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    font-family: inherit;
    padding: 6px 8px;
}

input:focus, textarea:focus, select:focus {
    border-color: #ffffff;
    outline: none;
}

input[type="submit"], input[type="button"], .button {
    background-color: #ffffff;
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 11px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

input[type="submit"]:hover, .button:hover {
    background-color: #000000;
    color: #ffffff;
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* ---------- footer ---------- */
#footer, .footer {
    text-align: center;
    color: #555555;
    font-size: 10px;
    border-top: 1px solid #1f1f1f;
    padding: 16px 0;
}