@charset "utf-8";

/* ===== 채용공고 게시판 (job) ===== */
.job_wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; font-family: 'Noto Sans KR', sans-serif; color: #333; }
.job_header { text-align: center; margin-bottom: 50px; }
.job_tit { font-size: 2.5em; font-weight: 800; color: #111; letter-spacing: -1px; }

.job_top { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #111; padding-bottom: 15px; }
.job_total { font-size: 0.95em; color: #666; }
.job_total strong { color: #0056b3; font-weight: 700; }
.job_top .btn_bo_user { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.job_top .btn_bo_user .btn { padding: 8px 16px; border: 1px solid #ddd; background: #fff; color: #333; font-size: 0.9em; border-radius: 4px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; min-height: 38px; box-sizing: border-box; }
.job_top .btn_bo_user .btn:hover { border-color: #111; background: #f8f9fa; }
.job_top .btn_bo_user .btn_write { background: #0056b3; color: #fff; border-color: #0056b3; }
.job_top .btn_bo_user .btn_write:hover { background: #004494; }

/* 목록 테이블 */
.job_tbl_wrap { margin-bottom: 50px; overflow-x: auto; }
.job_tbl { width: 100%; border-collapse: collapse; border-top: 2px solid #111; }
.job_tbl thead th { background: #f8f9fa; padding: 14px 12px; font-size: 0.9em; font-weight: 700; color: #111; text-align: center; border-bottom: 1px solid #ddd; border-left: 1px solid #eee; }
.job_tbl thead th:first-child { border-left: none; }
.job_tbl tbody td { padding: 16px 12px; border-bottom: 1px solid #eee; border-left: 1px solid #eee; vertical-align: middle; }
.job_tbl tbody td:first-child { border-left: none; }
.job_tbl tbody tr:hover { background: #fafafa; }
.job_tbl tbody tr.job_notice { background: #f8f9fa; }
.job_num { width: 80px; text-align: center; font-size: 0.95em; color: #666; }
.job_subject { text-align: left; }
.job_subject a { color: #111; text-decoration: none; }
.job_subject a:hover { color: #0056b3; text-decoration: underline; }
.job_icon_new { display: inline-block; margin-left: 6px; padding: 0 5px; background: #e74c3c; color: #fff; font-size: 10px; font-weight: 700; border-radius: 3px; vertical-align: middle; }
.job_period { width: 160px; text-align: center; font-size: 0.9em; color: #555; }
.job_status { width: 100px; text-align: center; font-size: 0.9em; font-weight: 600; color: #0056b3; }
.job_hit { width: 70px; text-align: center; font-size: 0.9em; color: #666; }
.job_notice_badge { display: inline-block; padding: 2px 8px; background: #1e295d; color: #fff; font-size: 0.75em; font-weight: 700; border-radius: 3px; }
.job_current { color: #0056b3; font-weight: 600; }
.job_empty { padding: 60px 20px; text-align: center; color: #999; font-size: 1.05em; }

.job_pager { margin-top: 40px; }
.job_pager .pg_wrap { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.job_pager .pg_page, .job_pager .pg_current, .job_pager .pg_start, .job_pager .pg_prev, .job_pager .pg_next, .job_pager .pg_end { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid #ddd; color: #666; text-decoration: none; border-radius: 4px; font-size: 0.95em; }
.job_pager .pg_current { background: #111; color: #fff; border-color: #111; }
.job_pager .pg_page:hover, .job_pager .pg_start:hover, .job_pager .pg_prev:hover, .job_pager .pg_next:hover, .job_pager .pg_end:hover { background: #f5f5f5; border-color: #111; color: #111; }

/* 검색 */
.bo_sch_wrap { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
.bo_sch { position: absolute; top: 50%; left: 50%; width: 450px; max-width: 90%; transform: translate(-50%, -50%); background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); padding: 30px; z-index: 1001; }
.bo_sch h3 { margin: 0 0 20px 0; font-size: 1.3em; font-weight: 700; color: #111; }
.bo_sch select { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 12px; }
.bo_sch .sch_bar { display: flex; border: 2px solid #111; border-radius: 6px; overflow: hidden; }
.bo_sch .sch_input { flex: 1; height: 45px; border: 0; padding: 0 15px; }
.bo_sch .sch_btn { width: 60px; height: 45px; background: #111; color: #fff; border: 0; cursor: pointer; font-size: 1.1em; }
.bo_sch .bo_sch_cls { position: absolute; top: 20px; right: 20px; border: 0; background: none; font-size: 1.4em; color: #999; cursor: pointer; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

/* ===== 보기 (View) ===== */
.job_view_wrap { max-width: 900px; margin: 80px auto; padding: 0 20px; font-family: 'Noto Sans KR', sans-serif; }
.job_v_header { border-bottom: 2px solid #111; padding-bottom: 25px; margin-bottom: 35px; }
.job_v_tit { font-size: 2em; font-weight: 800; color: #111; line-height: 1.35; margin: 0 0 20px 0; }
.job_v_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 0.95em; color: #666; }
.job_v_meta .job_v_period,
.job_v_meta .job_v_status { font-weight: 600; color: #0056b3; }
.job_v_content { font-size: 1.05em; line-height: 1.85; color: #333; word-break: break-all; margin-bottom: 40px; }
.job_v_content img { max-width: 100% !important; height: auto !important; }
.job_v_file { margin: 30px 0; padding: 20px; background: #f8f9fa; border: 1px solid #eee; border-radius: 8px; }
.job_v_file h3 { font-size: 1em; margin: 0 0 12px 0; color: #555; }
.job_v_file ul { list-style: none; padding: 0; margin: 0; }
.job_v_file li { margin-bottom: 8px; }
.view_file_download { color: #0056b3; text-decoration: none; }
.view_file_download:hover { text-decoration: underline; }
.job_v_btns { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; border-top: 1px solid #eee; flex-wrap: wrap; gap: 15px; }
.job_v_btns .btn { padding: 12px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 0.95em; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #ddd; background: #fff; color: #555; transition: all 0.2s; }
.job_v_btns .btn:hover { border-color: #111; color: #111; background: #f8f9fa; }
.btn_job_list { background: #111 !important; color: #fff !important; border-color: #111 !important; }
.btn_job_list:hover { background: #333 !important; }
.job_v_btns_right { display: flex; gap: 10px; }
.btn_v_write { background: #0056b3 !important; color: #fff !important; border-color: #0056b3 !important; }
.btn_v_write:hover { background: #004494 !important; }
.btn_v_del { color: #c00 !important; border-color: #c00 !important; }
.btn_v_del:hover { background: #c00 !important; color: #fff !important; }
.job_v_nb { list-style: none; padding: 0; margin: 30px 0 0 0; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.job_v_nb li { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid #eee; }
.job_v_nb li:last-child { border-bottom: none; }
.job_v_nb .nb_label { width: 70px; font-size: 0.85em; color: #888; font-weight: 700; }
.job_v_nb a { flex: 1; color: #333; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job_v_nb a:hover { color: #0056b3; }

/* 댓글 */
.job_v_comment { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.job_v_comment .cmt_header { margin-bottom: 20px; }
.job_v_comment .cmt_tit { font-size: 1.2em; font-weight: 700; color: #333; }
.job_v_comment .cmt_tit strong { color: #0056b3; }
.job_v_comment .cmt_item_inner { display: flex; gap: 15px; padding: 18px; background: #fcfcfc; border: 1px solid #eee; border-radius: 10px; margin-bottom: 12px; }
.job_v_comment .cmt_pf_img img { width: 45px; height: 45px; border-radius: 50%; }
.job_v_comment .cmt_name { font-weight: 700; color: #333; }
.job_v_comment .cmt_date { font-size: 0.85em; color: #999; }
.job_v_comment .cmt_contents { line-height: 1.6; color: #555; font-size: 0.95em; margin-top: 8px; }
.job_v_comment .cmt_write_box { margin-top: 25px; border: 2px solid #eee; border-radius: 10px; overflow: hidden; }
.job_v_comment .cmt_textarea_wr { border-bottom: 1px solid #eee; }
.job_v_comment .cmt_textarea { width: 100%; height: 90px; border: 0; padding: 15px; box-sizing: border-box; resize: none; font-size: 1em; outline: none; }
.job_v_comment .cmt_form_bot { padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; flex-wrap: wrap; gap: 12px; }
.job_v_comment .cmt_input { height: 36px; padding: 0 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.9em; width: 120px; }
.job_v_comment .btn_cmt_submit { height: 40px; padding: 0 24px; background: #0056b3; color: #fff; border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.job_v_comment .btn_cmt_submit:hover { background: #004494; }

/* ===== 글쓰기 ===== */
.job_write_wrap { max-width: 800px; margin: 110px auto; padding: 0 20px; font-family: 'Noto Sans KR', sans-serif; }
.job_write_header { text-align: center; margin-bottom: 35px; }
.job_write_tit { font-size: 1.8em; font-weight: 700; color: #111; margin: 0 0 10px 0; }
.job_write_desc { font-size: 1em; color: #666; margin: 0; }
.job_form { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.job_form .form_box { padding: 35px; }
.job_form .write_div { margin-bottom: 22px; }
.job_form .lb_tit { display: block; font-size: 1em; font-weight: 700; color: #333; margin-bottom: 8px; }
.job_form .lb_tit strong { color: #e74c3c; }
.job_form .frm_input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
.job_form .frm_input:focus { border-color: #0056b3; outline: none; }
.job_form select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #ddd; border-radius: 6px; background: #fff; }
.job_form .row_group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job_form .btn_confirm { display: flex; justify-content: center; gap: 12px; padding: 28px 35px; background: #fcfcfc; border-top: 1px solid #eee; }
.job_form .btn_submit { padding: 14px 45px; background: #0056b3; color: #fff; border: 0; border-radius: 6px; font-size: 1.05em; font-weight: 700; cursor: pointer; }
.job_form .btn_submit:hover { background: #004494; }
.job_form .btn_cancel { padding: 14px 45px; line-height: 1.4; background: #fff; color: #555; border: 1px solid #ddd; border-radius: 6px; font-size: 1.05em; font-weight: 700; text-decoration: none; display: inline-block; }
.job_form .btn_cancel:hover { background: #f5f5f5; color: #333; }
.file_del { margin-top: 8px; font-size: 0.9em; color: #c00; }
.job_lang_block { border-top: 1px dashed #eee; padding-top: 18px; margin-top: 18px; }

@media (max-width: 768px) {
    .job_tit { font-size: 1.8em; }
    .job_top { flex-direction: column; align-items: flex-start; gap: 15px; }
    .job_num { width: 60px; }
    .job_period { width: 120px; font-size: 0.85em; }
    .job_status { width: 80px; font-size: 0.85em; }
    .job_hit { width: 50px; }
    .job_v_tit { font-size: 1.5em; }
    .job_v_meta { gap: 12px; font-size: 0.9em; }
    .job_v_btns { flex-direction: column; align-items: stretch; }
    .job_v_btns_right { justify-content: center; }
    .job_form .row_group { grid-template-columns: 1fr; }
    .job_form .form_box { padding: 20px; }
    .job_form .btn_confirm { flex-direction: column-reverse; padding: 20px; }
    .job_form .btn_submit, .job_form .btn_cancel { width: 100%; }
}
