/* Site-wide dark overrides for pages that only load head.sub.php
   (login, password_lost, memo/scrap/point popups, etc.)
   Linked from theme/BS4-Basic/head.sub.php — 2026-10-05d */
html, body {
  background: #0b0d13 !important;
  color: #e9ecef !important;
}
a { color: #f1f3f5; }
a:hover { color: #ff79b0; }

/* forms */
input, textarea, select, .form-control, .frm_input {
  background: #10131a !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.14) !important;
}
input::placeholder, textarea::placeholder { color: #7f8490 !important; }
.input-group-text {
  background: #10131a !important;
  color: #9aa0a8 !important;
  border-color: rgba(255,255,255,0.14) !important;
}
.btn-primary, .btn_submit, .reg_btn_submit, .reply_btn {
  background: linear-gradient(135deg,#ff4f91,#8b2cff) !important;
  border-color: #ff4f91 !important;
  color: #fff !important;
}
.btn-light, .btn_close, .btn_cancel {
  background: #202532 !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #f1f3f5 !important;
}

/* Member skins (basic) */
.mbskin, .mbskin_box, #mb_login, #mb_login_od_wr,
#register_form, .register_form_inner, #fregister,
#fregister_chkall, #fregister_term, #fregister_private, #fregister_private div,
#fregister textarea, #find_info, #find_info .new_win_con, #find_info .find_btn,
#mb_confirm, #pw_confirm, #guest_privacy,
#memo_list, .memo_list li, .memo_list li.read, .memo_from,
#memo_view, #memo_view p, #scrap, #scrap_do, #scrap_do .scrap_tit,
#point, #point .point_all, .point_list li, .point_list .point_use,
#profile, #profile section, #formmail, #formmail .formmail_flie .file_wr,
#formmail .lb_icon, #reg_result, #reg_result #result_email,
.mb_log_cate, .mb_log_cate .join, #mb_login_od_wr p,
.new_win, .new_win .new_win_con, .new_win .tbl_head01, .new_win .win_btn,
#member_cert_refresh, #member_cert_refresh_chkall, #member_cert_refresh_private,
#member_cert_refresh_private div, #member_cert_refresh textarea,
#member_cert_refresh #find_info .find_btn {
  background: #141821 !important;
  color: #e9ecef !important;
  border-color: rgba(255,255,255,0.1) !important;
}
.mb_log_cate h2, #mb_login h1, #register_form h2, #fregister h2,
#fregister_term h2, #fregister_private h2, #find_info h1,
#memo_list h1, #scrap h1, #point h1, #profile h1, #formmail h1, .new_win h1 {
  color: #fff !important; background: transparent !important;
}
.mb_log_cate .join { background: #1b1f2a !important; color: #9aa0a8 !important; }
#fregister p, #member_cert_refresh p {
  background: linear-gradient(135deg,#ff4f91,#8b2cff) !important; color: #fff !important;
}
#fregister p:before, #member_cert_refresh p:before { background: #ff4f91 !important; }
#fregister_private table th, #member_cert_refresh_private table th {
  background: #1b1f2a !important; color: #fff !important; border-color: rgba(255,255,255,0.1) !important;
}
#fregister_private table td, #member_cert_refresh_private table td {
  background: #141821 !important; color: #e9ecef !important; border-color: rgba(255,255,255,0.08) !important;
}
#scrap .scrap_cate { background: #2a2140 !important; color: #d4c4ff !important; }
#point .point_all { background: #1b1f2a !important; color: #e9ecef !important; border-color: rgba(255,255,255,0.1) !important; }
#point .point_status { background: #202532 !important; }
#mb_confirm fieldset .frm_input, #pw_confirm fieldset .frm_input {
  background-color: #10131a !important; color: #fff !important;
}
.mb_login_join a, form#flogin section.mb_login_join a { color: #c5cad3 !important; }
#captcha_info, span#captcha_info { color: #a8adb8 !important; }

/* tables / cards */
.table, .table th, .table td, .card, .card-body, .list-group-item {
  background: #141821 !important; color: #e9ecef !important; border-color: rgba(255,255,255,0.08) !important;
}
.table thead th { background: #1b1f2a !important; color: #fff !important; }

/* mobile login skin (no .mbskin_box wrapper) */
form#flogin,
#mb_login form,
.mbskin form,
#login_password_lost,
.mbskin #login_fs {
  background: #141821 !important;
  color: #e9ecef !important;
}
#mb_login .mb_log_cate,
#mb_login .mb_log_cate h2,
#mb_login .mb_login_join,
section.mb_login_join {
  background: #141821 !important;
  color: #e9ecef !important;
}
section.mb_login_join a { color: #c5cad3 !important; }
/* search switch_field OR label leftover */
#sch_res_detail .switch_field label,
#sch_res_detail label {
  background: #202532 !important;
  color: #e9ecef !important;
  border-color: rgba(255,255,255,0.12) !important;
}
#sch_res_detail h2 { color: #e9ecef !important; }

/* mobile login skin (no .mbskin_box wrapper) */
form#flogin,
#mb_login form,
.mbskin form,
#login_password_lost,
.mbskin #login_fs {
  background: #141821 !important;
  color: #e9ecef !important;
}
#mb_login .mb_log_cate,
#mb_login .mb_log_cate h2,
#mb_login .mb_login_join,
section.mb_login_join {
  background: #141821 !important;
  color: #e9ecef !important;
}
section.mb_login_join a { color: #c5cad3 !important; }
/* search switch_field OR label leftover */
#sch_res_detail .switch_field label,
#sch_res_detail label {
  background: #202532 !important;
  color: #e9ecef !important;
  border-color: rgba(255,255,255,0.12) !important;
}
#sch_res_detail h2 { color: #e9ecef !important; }
.sidebar-list li a { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
#nt_side_menu a { border-top: 1px solid rgba(255,255,255,0.08) !important; }

/* 2026-10-05e: PC top-nav dropdown (.sub-1div / .sub-2div)
   theme.css sets white bg; head.php #nt_menu a forces near-white text */
#nt_menu .sub-1div,
.nt-menu .sub-1div,
#nt_menu .sub-2div,
.nt-menu .sub-2div {
  background: #10131a !important;
  border-color: rgba(255,255,255,0.1) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45) !important;
}
#nt_menu .sub-1da,
.nt-menu .sub-1da,
#nt_menu .sub-2da,
.nt-menu .sub-2da,
#nt_menu .sub-1div a,
#nt_menu .sub-2div a {
  background: transparent !important;
  color: #d5d9e0 !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
#nt_menu .sub-1dli:hover > .sub-1da,
#nt_menu .sub-1dli.on > .sub-1da,
.nt-menu .sub-1dli:hover > .sub-1da,
.nt-menu .sub-1dli.on > .sub-1da,
#nt_menu .sub-2dli:hover > .sub-2da,
#nt_menu .sub-2dli.on > .sub-2da,
.nt-menu .sub-2dli:hover > .sub-2da,
.nt-menu .sub-2dli.on > .sub-2da {
  background: #202532 !important;
  color: #f1f3f5 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
#nt_menu .sub-1line,
.nt-menu .sub-1line,
#nt_menu .sub-2line,
.nt-menu .sub-2line {
  background: #1b1f2a !important;
  color: #fff !important;
}
