@charset "utf-8";

/* ====================================================================
   MIRAE SOLUTION - inquiry (ganpyeon munui) board skin
   list (table) / view (info) / write (form) - dark premium
   English comments only
   ==================================================================== */

#bo_list, #bo_v, #bo_w {
    --c-bg:#070a14; --c-bg2:#0c1120; --c-card:rgba(255,255,255,0.04);
    --c-br:rgba(255,255,255,0.09); --c-text:#eef2f8; --c-muted:#94a0b8; --c-faint:#5d6a85;
    --c-cyan:#22d3ee; --c-blue:#3b82f6; --c-violet:#8b5cf6;
    color:#eef2f8;
}
#bo_list a, #bo_v a, #bo_w a { color:#c3cde0; text-decoration:none; }

/* shared buttons */
.ms_qa_list .btn, .ms_qa_v .btn, .ms_qa_w .btn, #bo_list .btn, #bo_v .btn {
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    height:42px; padding:0 20px; border-radius:11px; font-size:14px; font-weight:600;
    background:var(--c-card); border:1px solid var(--c-br); color:#fff !important; cursor:pointer;
    transition:transform .2s, border-color .2s;
}
.ms_qa_list .btn:hover, .ms_qa_v .btn:hover, .ms_qa_w .btn:hover { transform:translateY(-2px); border-color:rgba(139,92,246,.45); }
.ms_btn_grad { background:linear-gradient(120deg,#22d3ee,#3b82f6 45%,#8b5cf6) !important; border:0 !important; color:#fff !important; box-shadow:0 10px 26px rgba(59,130,246,.35); }

/* ====================================================================
   LIST (table)
   ==================================================================== */
#bo_list.ms_qa_list { width:100% !important; max-width:1000px; margin:0 auto; padding:10px 0 40px; }
.ms_qa_l_head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:18px; }
.ms_qa_l_head h2 { font-size:26px; font-weight:800; color:#fff; letter-spacing:-.02em; margin:0 0 6px; }
.ms_qa_l_head p { font-size:14px; color:var(--c-muted); margin:0; }
.ms_qa_total { font-size:13px; color:var(--c-muted); margin-bottom:14px; }
.ms_qa_total b { color:#fff; }

.ms_qa_table { border-top:2px solid rgba(255,255,255,.14); }
.ms_qa_thead { display:flex; align-items:center; list-style:none; margin:0; padding:0; height:48px;
    border-bottom:1px solid var(--c-br); color:var(--c-muted); font-size:13px; font-weight:600; }
.ms_qa_tr { display:flex; align-items:center; height:60px; border-bottom:1px solid rgba(255,255,255,.06);
    color:#dce3f0; font-size:14px; transition:background .2s; }
.ms_qa_tr:hover { background:rgba(255,255,255,.03); }
.ms_qa_tr.is_notice { background:rgba(59,130,246,.06); }
.ms_qa_thead .c_num, .ms_qa_tr .c_num { width:70px; text-align:center; flex:none; color:var(--c-faint); }
.ms_qa_thead .c_sub, .ms_qa_tr .c_sub { flex:1; min-width:0; padding:0 10px; }
.ms_qa_tr .c_sub { color:#fff; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ms_qa_thead .c_name, .ms_qa_tr .c_name { width:110px; flex:none; text-align:center; color:var(--c-muted); }
.ms_qa_thead .c_stat, .ms_qa_tr .c_stat { width:96px; flex:none; text-align:center; }
.ms_qa_thead .c_date, .ms_qa_tr .c_date { width:96px; flex:none; text-align:center; color:var(--c-faint); font-size:13px; }
.ms_lock { color:var(--c-violet); margin-right:2px; }
.ms_cmt { display:inline-block; margin-left:6px; min-width:18px; height:18px; line-height:18px; text-align:center;
    background:rgba(34,211,238,.16); color:var(--c-cyan); border-radius:9px; font-size:11px; padding:0 5px; }
.c_stat .st_done { font-style:normal; font-size:12px; font-weight:700; color:#fff; background:linear-gradient(120deg,#3b82f6,#8b5cf6); padding:4px 10px; border-radius:999px; }
.c_stat .st_wait { font-style:normal; font-size:12px; font-weight:600; color:var(--c-muted); background:var(--c-card); border:1px solid var(--c-br); padding:4px 10px; border-radius:999px; }
.ms_qa_empty { text-align:center; padding:80px 20px; color:var(--c-muted); }
.ms_qa_l_btns { display:flex; justify-content:flex-end; gap:10px; margin-top:26px; }

/* ====================================================================
   VIEW
   ==================================================================== */
#bo_v.ms_qa_v { width:100% !important; max-width:840px; margin:0 auto; padding:10px 0 40px; }
.ms_qa_v #bo_v_title { font-size:26px; font-weight:800; color:#fff; line-height:1.35; letter-spacing:-.02em; padding:16px 0 10px; }
.ms_qa_v #bo_v_title .bo_v_cate { display:inline-block; font-size:13px; color:var(--c-cyan); font-weight:700;
    background:rgba(34,211,238,.1); padding:3px 12px; border-radius:999px; margin-right:8px; vertical-align:middle; }
.ms_qa_date { color:var(--c-faint); font-size:13px; padding-bottom:20px; border-bottom:1px solid var(--c-br); }

.ms_qa_info { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--c-br);
    border:1px solid var(--c-br); border-radius:14px; overflow:hidden; margin:24px 0; }
.ms_qa_info dl { display:flex; margin:0; background:var(--c-bg2); padding:16px 20px; }
.ms_qa_info dt { flex:none; width:84px; color:var(--c-muted); font-size:14px; }
.ms_qa_info dd { margin:0; color:#fff; font-size:14px; font-weight:500; word-break:break-all; }
.ms_qa_tel { color:var(--c-cyan) !important; font-weight:700; }

#bo_v_atc { padding:14px 0 30px; }
#bo_v_img { text-align:center; margin-bottom:20px; }
#bo_v_img img { max-width:100%; height:auto; border-radius:12px; border:1px solid var(--c-br); margin:0 auto 12px; display:block; }
#bo_v_con { font-size:16px; line-height:1.95; color:#dce3f0; min-height:80px; word-break:break-all; white-space:pre-line; }
#bo_v_con img { max-width:100%; height:auto; border-radius:10px; margin:8px 0; }
#bo_v_con a { color:var(--c-cyan); }

#bo_v_file { margin-top:20px; }
#bo_v_file h2 { font-size:14px; color:var(--c-muted); margin-bottom:10px; }
#bo_v_file ul { list-style:none; padding:0; margin:0; }
#bo_v_file li { background:var(--c-card); border:1px solid var(--c-br); border-radius:10px; padding:12px 16px; margin-bottom:8px; }
#bo_v_file li a { color:var(--c-cyan) !important; }

.ms_qa_vbtn { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:30px 0 0; padding-top:24px; border-top:1px solid var(--c-br); }

.bo_v_nb { list-style:none; padding:0; margin:24px 0 0; border-top:1px solid var(--c-br); }
.bo_v_nb li { display:flex; align-items:center; gap:14px; padding:15px 4px; border-bottom:1px solid var(--c-br); }
.bo_v_nb .nb_tit { flex:none; width:50px; color:var(--c-cyan); font-size:13px; font-weight:600; }
.bo_v_nb a { color:#c3cde0; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* comments (admin reply) */
#bo_vc { margin-top:34px; padding-top:26px; border-top:1px solid var(--c-br); }
#bo_vc h2 { color:#fff; font-size:17px; margin-bottom:16px; }
#bo_vc textarea { width:100%; min-height:90px; background:#fff; color:#1a2230; border:1px solid #d4dae6; border-radius:12px; padding:14px; font-size:14px; }
#bo_vc .btn_submit { margin-top:10px; }

/* ====================================================================
   WRITE (inquiry form)
   ==================================================================== */
#bo_w.ms_qa_w { width:100% !important; max-width:680px; margin:0 auto; padding:14px 0 50px; }
.ms_qa_w_head { text-align:center; margin-bottom:34px; }
.ms_qa_w_head h2 { font-size:28px; font-weight:800; color:#fff; letter-spacing:-.02em; margin:0 0 10px; }
.ms_qa_w_head p { font-size:14px; color:var(--c-muted); margin:0; }
.ms_qa_w_head b, .ms_fld label b { color:#ef6a6a; }

.ms_fld { margin-bottom:18px; }
.ms_fld label { display:block; font-size:14px; font-weight:600; color:#dce3f0; margin-bottom:8px; }
.ms_fld_help { font-weight:400; font-size:12px; color:var(--c-faint); margin-left:6px; }
.ms_fld_row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

.ms_qa_w .frm_input, .ms_qa_w select, .ms_qa_w .frm_textarea {
    width:100%; height:52px; background:var(--c-bg2); border:1px solid var(--c-br); border-radius:12px;
    color:#fff; padding:0 16px; font-size:15px; transition:border-color .2s;
}
.ms_qa_w select { -webkit-appearance:none; appearance:none;
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a0b8' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat:no-repeat; background-position:right 16px center; padding-right:42px; }
.ms_qa_w .frm_textarea { height:auto; min-height:160px; padding:14px 16px; line-height:1.7; resize:vertical; }
.ms_qa_w .frm_input::placeholder, .ms_qa_w .frm_textarea::placeholder { color:var(--c-faint); }
.ms_qa_w .frm_input:focus, .ms_qa_w select:focus, .ms_qa_w .frm_textarea:focus { outline:0; border-color:rgba(34,211,238,.5); }

.ms_file_row { margin-bottom:8px; }
.ms_qa_w .frm_file { color:var(--c-muted); font-size:13px; padding:10px 0; }
.file_del { display:block; margin-top:6px; color:var(--c-muted); font-size:13px; }

.ms_agree { background:var(--c-card); border:1px solid var(--c-br); border-radius:12px; padding:18px 20px; margin:8px 0 22px; }
.ms_agree_chk { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:15px; color:#fff; font-weight:600; margin:0; }
.ms_agree_chk input { width:18px; height:18px; accent-color:#3b82f6; }
.ms_agree_txt { font-size:12px; color:var(--c-faint); line-height:1.7; margin:12px 0 0; }

.ms_qa_btns { display:flex; gap:12px; justify-content:center; margin-top:10px; }
.ms_qa_btns .btn_cancel { background:var(--c-card); border:1px solid var(--c-br); }
.ms_qa_btns .btn_submit { height:52px; padding:0 40px; font-size:16px; font-weight:700; border-radius:12px; }

/* captcha box */
#bo_w #captcha, #bo_w .captcha { display:flex; align-items:center; gap:8px; flex-wrap:wrap; background:var(--c-card); border:1px solid var(--c-br); border-radius:12px; padding:14px; }

/* ====================================================================
   search popup (shared)
   ==================================================================== */
.bo_sch_wrap { display:none; position:fixed; inset:0; z-index:1000; }
.bo_sch_bg { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.bo_sch { position:relative; z-index:2; max-width:480px; margin:16vh auto 0; background:var(--c-bg2); border:1px solid var(--c-br); border-radius:18px; padding:28px; }
.bo_sch h3 { color:#fff; font-size:18px; margin:0 0 16px; }
.bo_sch select, .bo_sch .sch_input { width:100%; height:46px; border-radius:10px; border:1px solid var(--c-br); background:var(--c-bg); color:#fff; padding:0 14px; font-size:14px; margin-bottom:12px; }
.bo_sch .sch_bar { display:flex; gap:8px; }
.bo_sch .sch_input { margin-bottom:0; }
.bo_sch .sch_btn { flex:none; width:52px; height:46px; border-radius:10px; border:0; background:linear-gradient(120deg,#3b82f6,#8b5cf6); color:#fff; cursor:pointer; }
.bo_sch_cls { position:absolute; top:18px; right:18px; background:none; border:0; color:var(--c-muted); font-size:18px; cursor:pointer; }

/* ====================================================================
   paging
   ==================================================================== */
.pg_wrap { margin:36px 0 0; text-align:center; }
.pg { display:inline-flex; gap:6px; align-items:center; }
.pg_page, .pg_current, .pg_start, .pg_prev, .pg_next, .pg_end {
    display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px;
    border-radius:10px; border:1px solid var(--c-br); background:var(--c-card); color:#c3cde0 !important;
    text-decoration:none; font-size:14px; font-weight:600; }
.pg_current { background:linear-gradient(120deg,#3b82f6,#8b5cf6); border:0; color:#fff !important; }
.pg_page:hover, .pg_start:hover, .pg_prev:hover, .pg_next:hover, .pg_end:hover { border-color:rgba(139,92,246,.45); color:#fff !important; }

/* ====================================================================
   responsive
   ==================================================================== */
@media (max-width:680px){
    .ms_fld_row { grid-template-columns:1fr; gap:0; }
    .ms_qa_thead .c_name, .ms_qa_tr .c_name,
    .ms_qa_thead .c_date, .ms_qa_tr .c_date { display:none; }
    .ms_qa_thead .c_stat, .ms_qa_tr .c_stat { width:80px; }
    .ms_qa_info { grid-template-columns:1fr; }
    .ms_qa_l_head { align-items:flex-start; }
}