/* ============================================================
   DF Midnight Gold - premium dark theme for MyBB 1.8 (CSS-only)
   By Data-Forums. Zero template overrides = upgrade-safe.
   ============================================================ */

/* ---------- base ---------- */
html{scrollbar-color:#3a4553 #0b0e12}
body{background:#0b0e12 radial-gradient(900px 480px at 15% -10%,rgba(251,191,36,.07),transparent 60%) no-repeat fixed;color:#c9d4e0;font-family:'Segoe UI',Lato,Helvetica,Arial,sans-serif;font-size:14px}
a{color:#e8b64c;text-decoration:none}
a:hover{color:#ffd57a;text-decoration:underline}
::selection{background:#fbbf24;color:#1a1408}

/* ---------- layout shell ---------- */
#container,#content,.wrapper{max-width:1200px;margin:0 auto;width:96%}
#panel,.thead,.tcat{border-radius:10px}
table{border-collapse:separate;border-spacing:0}
.tborder{background:#11151b;border:1px solid #232a33;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.35);margin-bottom:14px}
.tcat{background:linear-gradient(90deg,#141a22,#10151c);color:#ffd57a;font-weight:800;letter-spacing:.4px;padding:12px 16px;border-bottom:2px solid rgba(251,191,36,.35);text-transform:uppercase;font-size:12px}
.tcat a{color:#ffd57a}
.thead{background:linear-gradient(180deg,#1a2230,#141b26);color:#e8eef4;font-weight:700;padding:10px 14px;border-bottom:1px solid #232a33;font-size:13px}
.thead a{color:#ffd57a}
.tfoot{background:#141a22;color:#9fb0c2;padding:8px 12px}
.trow1{background:#12161c;color:#c9d4e0;padding:10px 14px;border-bottom:1px solid #1b222c}
.trow2{background:#0f1319;color:#c9d4e0;padding:10px 14px;border-bottom:1px solid #1b222c}
.trow1:hover,.trow2:hover{background:#161d27}
.trow_shade{background:#0d1117}
tr td:last-child{border-right:0}

/* ---------- header / branding ---------- */
#logo,#header{background:linear-gradient(120deg,#0e141c,#0b0e12 60%);border-bottom:2px solid rgba(251,191,36,.4);padding:18px 0}
#logo a,#header a{color:#ffd57a;font-weight:800}
#member_menu,#search_menu,.menu{background:#11151b;border:1px solid #232a33;border-radius:12px}
.menu a{color:#c9d4e0}
.menu a:hover{color:#ffd57a}

/* ---------- posts ---------- */
.post{background:#12161c;border:1px solid #232a33;border-radius:12px;margin-bottom:14px;overflow:hidden}
.post .post_author{background:#0e131a;border-right:1px solid #232a33;padding:14px}
.post .author_avatar img{border-radius:50%;border:2px solid rgba(251,191,36,.5)}
.post .post_head{background:linear-gradient(180deg,#1a2230,#141b26);padding:8px 14px;border-bottom:1px solid #232a33;color:#9fb0c2}
.post .post_body,.post .post_content{padding:14px 16px}
.post .post_signature{border-top:1px dashed #2a3441;color:#7d8b9b}
blockquote{background:#0e131a;border:1px solid #232a33;border-left:3px solid #fbbf24;border-radius:8px;padding:10px 14px;margin:10px 0;color:#aebccb}
.codeblock{background:#0a0d12;border:1px solid #232a33;border-radius:8px}
.codeblock .title{background:#141a22;color:#ffd57a}

/* ---------- forms & buttons ---------- */
input.textbox,textarea,select{background:#0a0d12;border:1px solid #2a3441;border-radius:8px;color:#e8eef4;padding:8px 12px}
input.textbox:focus,textarea:focus{border-color:#fbbf24;outline:none;box-shadow:0 0 0 3px rgba(251,191,36,.15)}
input.button,input[type=submit],button,.button{background:linear-gradient(90deg,#d97706,#fbbf24 45%,#fde68a);border:0;border-radius:10px;color:#1a1408;font-weight:800;padding:9px 18px;cursor:pointer}
input.button:hover,button:hover{filter:brightness(1.08)}

/* ---------- misc ---------- */
.pagenav{background:#11151b;border:1px solid #232a33;border-radius:10px}
.pagenav a,.pagenav .pagination_current{color:#ffd57a}
.smalltext{color:#7d8b9b}
.largetext{color:#e8eef4}
.red{color:#f87171}.green{color:#4ade80}
.online{color:#4ade80}.offline{color:#7d8b9b}
hr{border:0;border-top:1px solid #232a33}
#footer{color:#7d8b9b}
#footer a{color:#e8b64c}
img{max-width:100%}
.float_left{float:left}.float_right{float:right}

/* ---------- responsive ---------- */
@media(max-width:760px){
  #container,#content,.wrapper{width:98%}
  .post .post_author{border-right:0;border-bottom:1px solid #232a33}
  .tcat,.thead{font-size:11px}
}
