/* ============================================================
   Reunited Roleplay – css3.css (dark theme overrides)
   ============================================================ */

/* ── Border-radius helpers ─────────────────────────────────── */
tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child { border-left: 0; }

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child  { border-right: 0; }

.tborder { border-radius: 6px; }

.tborder tbody tr:last-child td { border-bottom: 0; }
.tborder tbody tr:last-child td:first-child { border-bottom-left-radius: 6px; }
.tborder tbody tr:last-child td:last-child  { border-bottom-right-radius: 6px; }

.thead          { border-top-left-radius: 6px; border-top-right-radius: 6px; }
.thead_collapsed {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.thead_left  { border-top-right-radius: 0; }
.thead_right { border-top-left-radius: 0; }

.tcat_menu { border-radius: 0 !important; }

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
    border-radius: 4px;
}

.post.classic .post_author { border-radius: 0 4px 4px 0; }

.popup_menu .popup_item_container:first-child .popup_item {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.popup_menu .popup_item_container:last-child .popup_item {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.pagination a { border-radius: 4px; }

.pollbar {
    position: relative;
    border-radius: 4px;
}

/* ── FontAwesome helpers ────────────────────────────────────── */
.fa_xtra {
    vertical-align: middle;
    font-size: 14px;
    margin-top: -4px;
    padding-right: 4px;
    -webkit-transform: rotateZ(0.0001deg);
    transform: rotateZ(0.0001deg);
}

.fa_xtra.cd { padding-left: 2px; margin-top: -2px; }
.fa_xtra.pm { margin-top: -3px !important; padding-right: 3px !important; }
.fa_xtra.pd { margin-top: -3px !important; padding-right: 5px !important; }
.fa_xtra.mp {
    padding-right: 2px;
    margin-top: -2px;
    margin-left: 2px;
    font-size: 16px;
    cursor: pointer;
}

.fa_xtra.mp:hover { color: #ffae00; }
.fa_xtra.blue     { color: #4fc3f7; }
.fa_xtra.white    { color: #e8eaed; }
.fa_xtra.lgreen   { color: #3dba6e; }
.fa_xtra.green    { color: #ffae00; }
.fa_xtra.red      { color: #e05252; }
.fa_xtra.grey     { color: #9aa0a9; }
.fa_xtra.orange   { color: #ffae00; }

/* ── Colour utility classes ─────────────────────────────────── */
.clr_gry { color: #9aa0a9 !important; }
.clr_lgr { color: #6a7080 !important; }
.clr_wht { color: #e8eaed !important; }
.clr_lgh { color: #4a5060 !important; }
.clr_grn { color: #3dba6e !important; }
.clr_drd { color: #e05252 !important; }

/* ── Online indicator dots ──────────────────────────────────── */
.onoffnew {
    display: inline-block;
    float: left;
    height: 10px; width: 10px;
    border-radius: 50%;
    margin: 10px 14px 0 5px;
}

.onoffnew.onl { background: #3dba6e; box-shadow: 0 0 5px #3dba6e; }
.onoffnew.off { background: #3a4050; }

/* ── Avatar size helpers ─────────────────────────────────────── */
.fxdim44  { width: 44px !important; height: 44px !important; border-radius: 50%; }
.fxdim70  { width: 70px !important; height: 70px !important; border-radius: 50%; }
.fxdim100 { width: 100px !important; height: 100px !important; border-radius: 50%; }

/* ── Font weight ─────────────────────────────────────────────── */
.fw4 { font-weight: 400; }

/* ── Spacing helpers ─────────────────────────────────────────── */
.mrgtop { margin-top: 1.2em; }
.adjst  { padding-right: 1em; }
.rlx    { padding: 0 25px; }

/* ── Last-post text ──────────────────────────────────────────── */
.lstpst {
    color: #9aa0a9;
    padding-right: 2em;
}

.and-more {
    font-size: 12px !important;
    color: #6a7080;
}

/* ── Inline editor ───────────────────────────────────────────── */
.ediedit {
    width: 100%;
    padding: 7px 6px 6px 7px;
    margin-top: -7px;
    box-sizing: border-box;
    background: #252930;
    color: #e8eaed;
    border: 1px solid #2e333b;
}

.postbit-icon { display: inline-block; }
.postbit-text { display: inline-block; }

/* ── Dropdown menu adjustment ───────────────────────────────── */
.menuadj {
    position: absolute;
    right: 21px;
    margin-top: 6px;
}

/* ── Footer columns ──────────────────────────────────────────── */
.ft-row { float: left; width: 100%; }

.ft-col-1,
.ft-col-2,
.ft-col-3 { position: relative; }

.ft-col-1 h2,
.ft-col-2 h3,
.ft-col-3 h4 {
    font-size: 15px;
    color: #e8eaed;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-col-1 { float: left;  width: 31%; }
.ft-col-2 { float: right; width: 13%; padding: 0 3px; }
.ft-col-3 { float: right; width: 20%; padding: 0 3px; }

.ft-head {
    font-weight: 600;
    font-size: 13px;
    color: #e8eaed;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-menu {
    list-style: none;
    margin: 0; padding: 0;
}

.ft-menu li {
    font-size: 13px;
    margin: 4px 0;
}

.ft-menu li a {
    color: #9aa0a9 !important;
    text-decoration: none;
    transition: color .12s ease;
}

.ft-menu li a:hover {
    color: #ffae00 !important;
    padding-left: 3px;
}

/* ── Footer contact items ────────────────────────────────────── */
.ft-col-item {
    margin-bottom: 8px;
    position: relative;
    padding: 8px;
    font-family: inherit;
    color: #9aa0a9;
    border-radius: 4px;
    background: #252930;
    border: 1px solid #2e333b;
}

.ft-col-item-icon {
    display: inline-block;
    margin-right: 12px;
    position: relative;
    height: 34px; width: 34px;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    background: #ffae00;
}

.ft-col-item-icon i {
    line-height: 34px;
    color: #141618;
}

.ft-col-item-title {
    display: inline-block;
    margin-top: -6px;
    line-height: 1.3;
    vertical-align: middle;
    color: #9aa0a9;
}

/* ── Admin / profile options button ─────────────────────────── */
.aroptions {
    padding: 5px 7px 5px 6px !important;
    margin-bottom: 3px !important;
    margin-left: 1px;
    color: #141618;
    text-align: center;
    border-radius: 4px !important;
    font-size: 12px !important;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 600;
    background: #ffae00 !important;
    border: 1px solid #d49200;
}

.aroptions:hover {
    background: #ffc233 !important;
}

/* ── Profile layout ──────────────────────────────────────────── */
.profile-pdg { padding-left: 10px; }
.atoz > a    { padding-left: 2px; }

.lftbx {
    position: relative;
    float: left;
    padding: 15px 0 15px 15px;
    width: 150px;
    margin: 6px 0 5px 5px;
}

/* ── Login form inputs ───────────────────────────────────────── */
.lgn {
    padding: 12px !important;
    border: 0 !important;
    border-left: 2px solid #ffae00 !important;
    background: #252930 !important;
    color: #e8eaed !important;
}

.lgn:focus {
    background: #2a2f38 !important;
    border-left-color: #ffc233 !important;
}

.lgn-btn {
    margin-right: 1px !important;
    width: 120px !important;
    border: 0 !important;
    padding: 0 !important;
    height: 36px !important;
    line-height: 37px !important;
    background: #ffae00 !important;
    color: #141618 !important;
    font-weight: 600 !important;
}

.lgn-btn:hover {
    background: #ffc233 !important;
}

.rgs-btn {
    width: 142px !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    border: 1px solid #ffae00 !important;
    font-size: 13px !important;
    text-align: center !important;
    padding: 0 !important;
    height: 36px !important;
    line-height: 36px !important;
    background: transparent !important;
    color: #ffae00 !important;
    font-weight: 600 !important;
}

.rgs-btn:hover {
    background: #ffae00 !important;
    color: #141618 !important;
}

/* ── Background helpers ──────────────────────────────────────── */
.white-bg { background: #1e2126; }

.nopd-tb { padding-top: 0 !important; padding-bottom: 0 !important; }
.nopd-lr { padding-left: 0 !important; padding-right: 0 !important; }

.rmb-login { font-size: 14px !important; font-weight: 300 !important; color: #9aa0a9 !important; }

.adj_log {
    position: relative;
    z-index: 5;
    float: right;
    color: #9aa0a9;
    margin-right: 24px;
    margin-top: -21px;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sdb_adj { float: right; width: 22%; margin-top: 18px; }
.pedit--adj { top: 80px !important; }

/* ── Mini-page links in thread list ─────────────────────────── */
.mpage a,
.mpage a:link,
.mpage a:visited,
.mpage a:focus {
    background: #252930;
    font-size: 11px;
    border: 1px solid #2e333b;
    color: #9aa0a9;
    padding: 0 4px;
    border-radius: 3px;
}

.mpage a:hover { border-color: #ffae00; color: #ffae00; }

.trow1 .mpage,
.trow2 .mpage {
    opacity: 0;
    transition: opacity .1s ease;
}

.trow1:hover .mpage,
.trow2:hover .mpage {
    opacity: 1;
}

/* ── Profile box icon ────────────────────────────────────────── */
.box_profile {
    text-align: center;
    color: #e8eaed;
    height: 26px !important;
    width: 26px !important;
    line-height: 26px;
    margin: 0 9px 0 -2px;
    border-radius: 50%;
    background: #252930;
    border: 1px solid #2e333b;
}

/* ── Post author outer ───────────────────────────────────────── */
.outer-postbit {
    margin: auto auto 5px;
    display: block;
    text-align: center;
    max-width: 140px;
}

/* ── Sidebar toggle ──────────────────────────────────────────── */
span.toggle-container { float: right; margin: 17px 2px 0 0; }

.rightbutton,
.leftbutton {
    cursor: pointer;
    float: right;
    font-size: 18px;
    display: block;
    color: #9aa0a9;
    transition: color .15s ease;
}

.rightbutton:hover,
.leftbutton:hover { color: #ffae00; }

/* ── Profile container ───────────────────────────────────────── */
.profcontainer .left-sidebar {
    padding-right: 10px;
    float: left;
    width: 270px;
}

.profcontainer .profheading {
    margin: 0 0 0 290px;
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    overflow: hidden;
    padding: 20px 23px 23px;
    background: #1e2126;
    border: 1px solid #2e333b;
    color: #e8eaed;
    border-bottom: 0 !important;
}

.profcontainer .left-sidebar .sidebar-container {
    background: #1e2126;
    padding: 0;
    margin-bottom: 15px;
    border: 1px solid #2e333b;
    border-radius: 6px;
    overflow: hidden;
}

.profcontainer .left-sidebar .sidebar-container .sidebar-inner {
    padding: 12px 18px;
    overflow: hidden;
    color: #9aa0a9;
    line-height: 1.65;
}

.resp .sidebar-container .sidebar-inner {
    padding: 10px 15px;
    overflow: hidden;
    background: #1e2126;
    margin-bottom: 5px;
    border: 1px solid #2e333b;
}

.thead.profile-side {
    padding: .8rem 1.1rem .7rem;
    color: #e8eaed;
    border-bottom: 1px solid #2e333b;
    background: #252930;
}

.fw-fn { font-weight: 400; font-size: 16px; font-family: inherit; }

/* ── Profile tabs ────────────────────────────────────────────── */
.tabs-wrap {
    margin-left: 290px;
    border: 1px solid #2e333b;
    border-top: 0;
    background: #1e2126;
}

ul.tabs {
    list-style: none;
    font-family: inherit;
    font-weight: 400;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #1a1d23;
    border-bottom: 1px solid #2e333b;
}

ul.tabs li {
    background: none;
    color: #9aa0a9;
    display: inline-block;
    float: left;
    padding: 14px 26px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

ul.tabs li:hover { background: #252930; color: #e8eaed; }

ul.tabs li.current {
    background: transparent;
    color: #ffae00;
    font-weight: 600;
    border-bottom: 2px solid #ffae00;
    margin-bottom: -1px;
}

.tab-content {
    display: none;
    padding: 25px;
    background: #1e2126;
    color: #9aa0a9;
}

.tab-content.current { display: inherit; }

/* ── Avatar header ───────────────────────────────────────────── */
.ava-hs {
    margin-right: 1.3rem;
    float: left;
    overflow: hidden;
}

.ava-hs img {
    height: 60px;
    width: 60px;
    border-radius: 4px;
    border: 2px solid #2e333b;
}

.ib-hs { display: none; }

/* ── Profile contact box ─────────────────────────────────────── */
.profile-ctbox {
    border-bottom: 1px solid #2e333b;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.profile-ctbox:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-top: 4px;
}

.profile-mcp ul,
.profile-acp ul {
    overflow: hidden;
    margin: 0; padding: 0;
    list-style-type: none;
}

/* ── Dashed helper ───────────────────────────────────────────── */
.dashed {
    border: 1px dashed #2e333b;
    border-radius: 4px;
}

/* ── Border-radius helpers ───────────────────────────────────── */
.bradius     { border-radius: 4px !important; }
.bradius_xtr { border-radius: 6px !important; }
.bradius-full { border-radius: 50px !important; }

/* ── Transition helper ───────────────────────────────────────── */
.trns-normal { transition: all 0.25s ease; }

/* ── Transition: add-buddy buttons ──────────────────────────── */
[class*="add_buddy_button"]       { margin-top: 13px !important; }
[class*="add_buddy_button"]:hover,
[class*="add_ignore_button"]:hover { background: #ffae00 !important; color: #141618 !important; }
[class*="report_user_button"]:hover { background: #e05252 !important; color: #fff !important; }

/* ── Fade animation ──────────────────────────────────────────── */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media screen and (max-width: 1100px) {
    .ttip span { display: block; }
    .fb-pt     { display: none; }

    ul.tabs li.current { float: none; }
    ul.tabs li {
        float: none;
        display: block;
    }
}
