@charset "utf-8";

:root{
    /* KTMA Theme */
    --bd-primary:#00335A;
    --bd-primary-dark:#002443;
    --bd-primary-rgb:0,51,90;

    --bd-point:#00A7D1;
    --bd-point-rgb:0,167,209;

    /* Text */
    --bd-text:#1E293B;
    --bd-text-strong:#0F172A;
    --bd-text-mid:#475569;
    --bd-text-sub:#64748B;
    --bd-text-muted:#94A3B8;
    --bd-placeholder:#CBD5E1;

    /* Background */
    --bd-white:#FFFFFF;
    --bd-bg:#FFFFFF;
    --bd-bg-soft:#F6F9FC;
    --bd-bg-soft-2:#EEF4F9;
    --bd-bg-light:#FAFCFE;
    --bd-bg-table:#F8FBFD;

    /* Line */
    --bd-line:#D7E3EC;
    --bd-line-light:#E8EEF4;
    --bd-line-dark:#C6D4DF;

    /* Badge / File */
    --bd-badge-bg:rgba(var(--bd-primary-rgb),.06);
    --bd-badge-line:rgba(var(--bd-primary-rgb),.12);

    /* Radius */
    --bd-radius-lg:24px;
    --bd-radius-md:18px;
    --bd-radius-sm:14px;

    /* Effects */
    --bd-shadow-rgb:0,51,90;
    --bd-shadow-soft:0 10px 24px rgba(var(--bd-shadow-rgb),.04);
    --bd-shadow-mid:0 12px 24px rgba(var(--bd-shadow-rgb),.10);
    --bd-focus:0 0 0 4px rgba(var(--bd-primary-rgb),.08);
}

/* ========================================
   문의게시판 커스텀
   - write : inquiry_top_visual / inquiry_form_list 구조
   - list  : simple_board_table 테이블형 구조
   - view  : report_view_wrap 구조
======================================== */

/* 공통 */
#bo_v,
#bo_list,
#bo_w {
    box-sizing: border-box;
}

.inque_box,
.simple_board_wrap,
.report_view_wrap {
    width: 100%;
    background: var(--bd-white);
}

/* =========================
   WRITE
========================= */

.inque_box {
    background: var(--bd-white);
}

.inquiry_top_visual {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 48px 46px;
    border: 1px solid var(--bd-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(var(--bd-primary-rgb),.10) 0, rgba(var(--bd-primary-rgb),0) 36%),
        linear-gradient(135deg, var(--bd-bg-soft) 0%, var(--bd-bg-soft-2) 50%, var(--bd-bg-light) 100%);
    box-shadow: 0 16px 40px rgba(var(--bd-shadow-rgb),.06);
}

.inquiry_top_visual::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(var(--bd-primary-rgb),.05);
}

.inquiry_top_inner {
    position: relative;
    z-index: 1;
}

.inquiry_eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(var(--bd-primary-rgb),.08);
    color: var(--bd-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.inquiry_top_visual h2 {
    margin: 0;
    
    font-size: 34px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.inquiry_desc {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.9;
    color: var(--bd-text-sub);
    word-break: keep-all;
}

.inque_box #bo_w {
    padding: 38px 40px 44px;
    margin: 0;
    border: 1px solid var(--bd-line);
    border-radius: 24px;
    background: var(--bd-white);
    box-shadow: 0 10px 30px rgba(var(--bd-shadow-rgb),.04);
}

#bo_w .form_01 {
    margin: 0;
}

.inquiry_form_list {
    border-top: 1px solid var(--bd-line-light);
}

.form_row {
    display: flex;
    border-bottom: 1px solid var(--bd-line-light);
}

.form_th {
    width: 220px;
    flex: 0 0 220px;
    padding: 26px 24px 26px 6px;
    box-sizing: border-box;
}

.form_th h3 {
    margin: 0;
    
    font-size: 19px;
    line-height: 1.6;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.form_th h3 span {
    font-weight: 600;
    color: var(--bd-text-muted);
}

.form_td {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 0;
}

.field_help {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--bd-text-muted);
}

/* 입력 */
#bo_w .frm_input,
#bo_w input[type="text"],
#bo_w input[type="email"],
#bo_w input[type="password"],
#bo_w input[type="file"],
#bo_w select,
#bo_w textarea {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid var(--bd-line-dark);
    border-radius: 16px;
    background: var(--bd-white);
    box-sizing: border-box;
    color: var(--bd-text);
    font-size: 16px;
    transition: all .2s ease;
}

#bo_w textarea,
#bo_w .cont_area {
    height: 220px !important;
    padding: 16px 18px;
    line-height: 1.8;
    resize: none;
}

#bo_w .frm_input:focus,
#bo_w input[type="text"]:focus,
#bo_w input[type="email"]:focus,
#bo_w input[type="password"]:focus,
#bo_w select:focus,
#bo_w textarea:focus {
    outline: 0;
    border-color: var(--bd-primary);
    box-shadow: 0 0 0 4px rgba(var(--bd-primary-rgb),.08);
}

#bo_w input::placeholder,
#bo_w textarea::placeholder {
    color: var(--bd-placeholder);
}

/* 체크 */
.check_group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.check_group.vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.check_group.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

.check_item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    font-size: 16px;
    color: var(--bd-text);
    cursor: pointer;
    word-break: keep-all;
}

.check_item input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

/* 파일 */
#bo_w .bo_w_flie .file_wr {
    position: relative;
    height: 56px;
    border: 1px solid var(--bd-line-dark);
    border-radius: 16px;
    background: var(--bd-white);
    overflow: hidden;
}

#bo_w .bo_w_flie .lb_icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-right: 1px solid var(--bd-line-dark);
    background: var(--bd-bg-soft);
    color: var(--bd-primary);
}

#bo_w .bo_w_flie .frm_file {
    width: 100%;
    height: 56px;
    padding: 12px 14px 12px 72px;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

#bo_w .bo_w_flie .frm_input {
    margin-top: 10px;
}

.file_del {
    display: block;
    margin-top: 10px;
    color: var(--bd-text-muted);
    font-size: 14px;
}

/* 개인정보 */
.form_row_privacy .form_td {
    padding-bottom: 24px;
}

.privacy_guide_box {
    margin-bottom: 16px;
    padding: 20px 22px;
    border-left: 4px solid var(--bd-primary);
    border-radius: 0 16px 16px 0;
    background: var(--bd-bg-soft);
    color: var(--bd-text-sub);
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.agree_box {
    border: 1px solid var(--bd-line-dark);
    border-radius: 18px;
    background: var(--bd-bg-light);
    overflow: hidden;
}

.agree_box textarea {
    height: 170px !important;
    padding: 16px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--bd-text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.fregister_agree {
    margin-top: 14px;
    padding: 0;
    border: 0;
}

.agree_flex {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bd-text);
    cursor: pointer;
}

.agree_flex input,
.fregister_agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

/* 캡챠 */
#bo_w #captcha {
    margin-top: 8px;
}

/* 버튼 */
.btn_submit_wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.btn_fill,
.btn_line,
#bo_w .btn_submit,
.btn_submit_wrap .btn_admin_list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .2s ease;
    cursor: pointer;
}

.btn_line,
.btn_submit_wrap .btn_admin_list {
    border: 1px solid var(--bd-line-dark);
    background: var(--bd-white);
    color: var(--bd-text);
}

.btn_fill,
#bo_w .btn_submit {
    border: 1px solid var(--bd-primary);
    background: var(--bd-primary);
    color: var(--bd-white);
    box-shadow: 0 12px 24px rgba(var(--bd-primary-rgb),.18);
}

.btn_fill:hover,
.btn_line:hover,
#bo_w .btn_submit:hover,
.btn_submit_wrap .btn_admin_list:hover {
    transform: translateY(-2px);
}

/* =========================
   LIST
========================= */

.simple_board_wrap {
    width: 100%;
}

.simple_board_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.simple_total {
    color: var(--bd-text-muted);
    font-size: 14px;
}

.simple_total strong {
    color: var(--bd-text-strong);
    font-weight: 700;
}

.simple_search form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.simple_search select,
.simple_search .sch_input {
    height: 40px;
    border: 1px solid var(--bd-line-dark);
    background: var(--bd-white);
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--bd-text-mid);
}

.simple_search select {
    min-width: 110px;
}

.simple_search .sch_input {
    width: 220px;
}

.simple_search .sch_btn {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--bd-primary);
    background: var(--bd-primary);
    color: var(--bd-white);
    font-size: 14px;
    cursor: pointer;
}

/* 카테고리 */
.simple_cate_nav {
    margin-bottom: 16px;
}

.simple_cate_nav h2 {
    width: 0;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

.simple_cate_nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.simple_cate_nav li {
    display: inline-block;
    margin-right: 6px;
}

.simple_cate_nav li a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--bd-line-dark);
    color: var(--bd-text-mid);
    text-decoration: none;
}

.simple_board_table {
    border-top: 2px solid var(--bd-text-mid);
}

.simple_board_table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.simple_board_table th,
.simple_board_table td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--bd-line-light);
    font-size: 16px;
    color: var(--bd-text-mid);
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
}

.simple_board_table thead th {
    background: var(--bd-bg-table);
    color: var(--bd-text);
    font-weight: 700;
}

.simple_board_table .td_chk {
    width: 44px;
}

.simple_board_table .td_num {
    width: 70px;
}

.simple_board_table .td_subject {
    text-align: left;
}

.simple_board_table .td_name {
    width: 140px;
}

.simple_board_table .td_hit {
    width: 80px;
}

.simple_board_table .td_date {
    width: 110px;
}

.simple_board_table .td_chk input {
    width: 16px;
    height: 16px;
}

.notice_txt {
    display: inline-block;
    font-weight: 700;
    color: var(--bd-text-strong);
}

.list_subject {
    display: inline-block;
    color: var(--bd-text-strong);
    text-decoration: none;
    line-height: 1.5;
    vertical-align: middle;
}

.list_subject:hover {
    color: var(--bd-primary);
}

.list_subject .subject_text {
    vertical-align: middle;
}

.list_subject .fa-lock,
.list_subject .new_icon,
.list_subject .hot_icon,
.list_subject .fa-download,
.list_subject .fa-link {
    display: inline-block;
    line-height: 14px;
    width: 16px;
    font-size: 0.833em;
    color: var(--bd-primary);
    background: var(--bd-badge-bg);
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid var(--bd-badge-bg);
    vertical-align: middle;
}

.empty_table {
    padding: 70px 20px !important;
    text-align: center !important;
    color: var(--bd-text-muted) !important;
}

.simple_btn_area {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.btn_area_left,
.btn_area_right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.simple_paging {
    margin-top: 28px;
    text-align: center;
}

.simple_paging .pg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.simple_paging .pg_page,
.simple_paging .pg_current {
    min-width: 38px;
    height: 38px;
    line-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--bd-line-dark);
    background: var(--bd-white);
    color: var(--bd-text-mid);
    text-decoration: none;
    box-sizing: border-box;
    font-size: 14px;
}

.simple_paging .pg_current {
    border-color: var(--bd-primary);
    background: var(--bd-primary);
    color: var(--bd-white);
}

/* =========================
   VIEW
========================= */

#bo_v.report_view_wrap {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.report_view_inner {
    display: block;
}

.report_view_head {
    margin-bottom: 28px;
    padding: 34px 38px;
    border: 1px solid var(--bd-line);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--bd-bg-light) 0%, var(--bd-bg-soft) 100%);
    box-shadow: 0 10px 30px rgba(var(--bd-shadow-rgb),.05);
}

.report_cate {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(var(--bd-primary-rgb),.08);
    color: var(--bd-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.view_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.badge_member,
.badge_type {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.badge_member {
    background: var(--bd-badge-bg);
    color: var(--bd-primary);
}

.badge_type {
    background: rgba(var(--bd-primary-rgb),.08);
    color: var(--bd-primary);
}

.report_title {
    margin: 0;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
    
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.report_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bd-line-light);
}

.report_meta span {
    color: var(--bd-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.report_meta strong {
    display: inline-block;
    margin-right: 8px;
    color: var(--bd-text);
    font-weight: 600;
}

.report_view_body {
    display: block;
}

.report_image_box,
.report_content_box,
.report_file_box {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--bd-line);
    border-radius: 22px;
    background: var(--bd-white);
    box-shadow: 0 10px 30px rgba(var(--bd-shadow-rgb),.04);
}

.report_image_box:after {
    display: block;
    clear: both;
    content: "";
}

.report_image_box a.view_image {
    display: block;
    margin-bottom: 14px;
}

.report_image_box img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.report_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 2px solid var(--bd-primary);
}

.report_table th,
.report_table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--bd-line-light);
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}

.report_table th {
    background: var(--bd-bg-light);
    color: var(--bd-text);
    font-weight: 700;
}

.report_table td {
    background: var(--bd-white);
    color: var(--bd-text-sub);
}

.report_table .content_text {
    min-height: 220px;
    line-height: 1.9;
    color: var(--bd-text-mid);
}

.inquiry_type_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.empty_value {
    color: var(--bd-placeholder);
}

.report_file_box h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    
    line-height: 1.4;
}

.report_file_box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.report_file_box li + li {
    margin-top: 12px;
}

.report_file_box a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--bd-line-light);
    border-radius: 16px;
    background: var(--bd-bg-light);
    text-decoration: none;
    transition: all .2s ease;
}

.report_file_box a:hover {
    border-color: var(--bd-point);
    background: var(--bd-bg-soft);
    transform: translateY(-2px);
}

.report_file_box .file_icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bd-badge-bg);
    color: var(--bd-primary);
    text-align: center;
    line-height: 44px;
    font-size: 16px;
}

.report_file_box .file_text {
    flex: 1 1 auto;
    min-width: 0;
}

.report_file_box .file_text strong {
    display: block;
    color: var(--bd-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-all;
}

.report_file_box .file_text small {
    display: block;
    margin-top: 2px;
    color: var(--bd-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.report_file_box .file_size {
    flex: 0 0 auto;
    color: var(--bd-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.report_btn_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.report_btn_left,
.report_btn_right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 기존 불필요 요소 숨김 */
/* #bo_v_share,
#bo_v_act,
.bo_v_nb,
#bo_v_bot{
    display: none !important;
} */

/* =========================
   반응형
========================= */

@media (max-width: 1024px) {
    .inquiry_top_visual {
        padding: 34px 26px;
        border-radius: 20px;
    }

    .inquiry_top_visual h2 {
        font-size: 28px;
    }

    .inquiry_desc {
        font-size: 16px;
    }

    .inque_box #bo_w {
        padding: 28px 22px 34px;
        border-radius: 20px;
    }

    .form_row {
        display: block;
    }

    .form_th {
        width: 100%;
        padding: 20px 0 10px;
    }

    .form_td {
        padding: 0 0 20px;
    }

    .check_group.grid {
        grid-template-columns: 1fr;
    }

    .simple_board_top {
        flex-direction: column;
        align-items: stretch;
    }

    .simple_search form {
        width: 100%;
        flex-wrap: wrap;
    }

    .simple_search select {
        width: 120px;
    }

    .simple_search .sch_input {
        flex: 1 1 auto;
        width: auto;
    }

    .report_view_head {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .report_title {
        font-size: 24px;
    }

    .report_meta {
        gap: 8px 18px;
        margin-top: 14px;
        padding-top: 14px;
    }

    .report_meta span {
        font-size: 14px;
    }

    .report_image_box,
    .report_content_box,
    .report_file_box {
        padding: 18px;
        border-radius: 18px;
    }

    .report_table colgroup {
        display: none;
    }

    .report_table,
    .report_table tbody,
    .report_table tr,
    .report_table th,
    .report_table td {
        display: block;
        width: 100%;
    }

    .report_table tr {
        border-bottom: 1px solid var(--bd-line-light);
    }

    .report_table th,
    .report_table td {
        padding: 14px;
        border: 0;
    }

    .report_table th {
        padding-bottom: 6px;
        background: var(--bd-bg-light);
        font-size: 15px;
    }

    .report_table td {
        padding-top: 0;
        font-size: 14px;
    }

    .report_table .content_text {
        min-height: auto;
        padding-top: 6px;
    }

    .report_file_box h3 {
        font-size: 18px;
    }

    .report_file_box a {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .report_file_box .file_icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        flex-basis: 40px;
    }

    .report_file_box .file_size {
        font-size: 13px;
    }

    .report_btn_area,
    .simple_btn_area {
        flex-direction: column;
        align-items: stretch;
    }

    .report_btn_left,
    .report_btn_right,
    .btn_area_left,
    .btn_area_right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .simple_board_table {
        overflow-x: auto;
    }

    .simple_board_table table {
        min-width: 760px;
    }
}

@media (max-width: 640px) {
    .inquiry_top_visual {
        padding: 28px 18px;
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .inquiry_eyebrow {
        font-size: 12px;
        padding: 7px 12px;
    }

    .inquiry_top_visual h2 {
        font-size: 23px;
    }

    .inquiry_desc {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.8;
    }

    .inque_box #bo_w {
        padding: 22px 16px 28px;
        border-radius: 18px;
    }

    .form_th h3 {
        font-size: 15px;
    }

    #bo_w .frm_input,
    #bo_w input[type="text"],
    #bo_w input[type="email"],
    #bo_w input[type="password"],
    #bo_w input[type="file"],
    #bo_w select,
    #bo_w textarea {
        height: 50px;
        font-size: 14px;
        border-radius: 14px;
    }

    #bo_w textarea,
    #bo_w .cont_area {
        height: 180px !important;
    }

    .check_item,
    .agree_flex {
        font-size: 14px;
    }

    .privacy_guide_box,
    .field_help {
        font-size: 13px;
    }

    .btn_submit_wrap {
        flex-direction: column;
    }

    .btn_submit_wrap .btn_admin_list,
    #bo_w .btn_submit,
    .btn_fill,
    .btn_line {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 15px;
    }

    .simple_search form {
        flex-wrap: wrap;
    }

    .simple_search select {
        width: 100%;
    }

    .simple_search .sch_input {
        width: calc(100% - 58px);
        flex: none;
    }

    .simple_search .sch_btn {
        width: 50px;
        flex: 0 0 50px;
    }

    .report_view_head {
        padding: 22px 16px;
    }

    .report_title {
        font-size: 20px;
    }

    .report_meta {
        display: block;
    }

    .report_meta span {
        display: block;
    }

    .report_meta span + span {
        margin-top: 4px;
    }

    .report_image_box,
    .report_content_box,
    .report_file_box {
        padding: 16px;
    }

    .report_table th,
    .report_table td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .report_file_box a {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .report_file_box .file_size {
        width: 100%;
        padding-left: 56px;
    }
}

/* =========================
   COMMENT AREA - 전체교체본
========================= */

/* 댓글 토글 버튼은 안 쓰고 목록 바로 노출 */
.cmt_btn {
    display: none !important;
}

/* 댓글 전체 */
#bo_vc {
    display: block !important;
    margin-top: 40px;
    padding: 0;
}

#bo_vc > h2,
#bo_vc_w > h2,
.bo_vc_w > h2 {
    margin: 0 0 18px;
    
    font-size: 24px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#bo_vc_empty {
    padding: 28px 24px;
    border: 1px solid var(--bd-line);
    border-radius: 18px;
    background: var(--bd-bg-light);
    color: var(--bd-text-muted);
    font-size: 15px;
    text-align: center;
    box-sizing: border-box;
}

/* 댓글 아이템 */
#bo_vc article {
    position: relative;
    overflow: visible;
    margin-bottom: 14px;
    padding: 24px 26px;
    border: 1px solid var(--bd-line);
    border-radius: 20px;
    background: var(--bd-white);
    box-shadow: 0 10px 24px rgba(var(--bd-shadow-rgb),.04);
    box-sizing: border-box;
}

#bo_vc article:last-child {
    margin-bottom: 0;
}

/* 대댓글 */
#bo_vc article[style*="margin-left"] {
    background: var(--bd-bg-light);
}

/* 댓글 헤더 */
#bo_vc article > header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-right: 56px;
    margin-bottom: 16px;
    width: 80%;
}

#bo_vc article > header h2 {
    width: 100%;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

/* 프로필 */
.comment_profile_img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid var(--bd-line);
    border-radius: 50%;
    background: var(--bd-bg-light);
    box-sizing: border-box;
}

.comment_profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 작성자명 */
#bo_vc article > header .sv_member,
#bo_vc article > header .sv_guest,
#bo_vc article > header .comment_profile_img + a,
#bo_vc article > header .comment_profile_img + span,
#bo_vc article > header .comment_profile_img + * {
    color: var(--bd-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

/* IP / 날짜 */
#bo_vc article > header .bo_vc_hdinfo,
#bo_vc article > header time {
    color: var(--bd-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

#bo_vc article > header .fa-clock-o {
    margin-right: 4px;
    color: var(--bd-placeholder);
}

/* 댓글 내용 */
.cmt_contents {
    position: relative;
    z-index: 1;
}

.cmt_contents > p {
    margin: 0;
    color: var(--bd-text-mid);
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}

.cmt_contents > p img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* 옵션 버튼 영역 */
.cmt_contents .bo_vl_opt {
    position: absolute;
    top: -56px;
    right: 0;
    z-index: 30;
}

.cmt_opt {
    position: relative;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--bd-line-dark);
    border-radius: 50%;
    background: var(--bd-white);
    color: var(--bd-text-muted);
    cursor: pointer;
    transition: all .2s ease;
    pointer-events: auto;
}

.cmt_opt:hover {
    border-color: var(--bd-primary);
    background: var(--bd-bg-soft);
    color: var(--bd-primary);
}

.cmt_opt i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

/* 옵션 레이어 */
.bo_vl_act {
    display: none;
    position: absolute;
    top: 44px;
    right: 0;
    z-index: 999;
    min-width: 120px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    border: 1px solid var(--bd-line);
    border-radius: 14px;
    background: var(--bd-white);
    box-shadow: 0 12px 24px rgba(var(--bd-shadow-rgb),.12);
    box-sizing: border-box;
}

.bo_vl_act li {
    margin: 0;
    padding: 0;
}

.bo_vl_act li a {
    display: block;
    padding: 10px 14px;
    color: var(--bd-text);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    pointer-events: auto;
    cursor: pointer;
}

.bo_vl_act li a:hover {
    background: var(--bd-bg-soft);
    color: var(--bd-primary);
}

/* 답변기능 안 쓰면 첫 항목 숨김 */
.bo_vl_act li:first-child {
    display: none;
}

/* 수정/답변 폼 삽입 위치 */
.bo_vc_w {
    display: block;
    margin-top: 14px;
}

/* 댓글 작성 박스 */
#bo_vc_w {
    display: block !important;
    margin-top: 34px;
    padding: 28px;
    border: 1px solid var(--bd-line);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--bd-bg-light) 0%, var(--bd-bg-soft) 100%);
    box-shadow: 0 10px 24px rgba(var(--bd-shadow-rgb),.04);
    box-sizing: border-box;
}

#fviewcomment {
    display: block;
}

#fviewcomment #char_cnt {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--bd-text-muted);
    font-size: 13px;
    font-weight: 600;
}

#fviewcomment textarea#wr_content {
    width: 100%;
    min-height: 160px;
    padding: 16px 18px;
    border: 1px solid var(--bd-line-dark);
    border-radius: 18px;
    background: var(--bd-white);
    box-sizing: border-box;
    color: var(--bd-text);
    font-size: 15px;
    line-height: 1.8;
    resize: vertical;
    transition: all .2s ease;
}

#fviewcomment textarea#wr_content:focus {
    outline: 0;
    border-color: var(--bd-primary);
    box-shadow: 0 0 0 4px rgba(var(--bd-primary-rgb),.08);
}

#fviewcomment textarea#wr_content::placeholder {
    color: var(--bd-placeholder);
}

/* 작성 하단 */
.bo_vc_w_wr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-top: 16px;
}

.bo_vc_w_info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bo_vc_w_info .frm_input {
    width: 180px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--bd-line-dark);
    border-radius: 14px;
    background: var(--bd-white);
    box-sizing: border-box;
    color: var(--bd-text);
    font-size: 14px;
}

.bo_vc_w_info .frm_input:focus {
    outline: 0;
    border-color: var(--bd-primary);
    box-shadow: 0 0 0 4px rgba(var(--bd-primary-rgb),.08);
}

.bo_vc_w_info #captcha {
    width: 100%;
    margin-top: 6px;
}

/* 오른쪽 버튼 */
.btn_confirm {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 비밀글 체크는 필요하면 살리고, 아니면 숨김 */
.btn_confirm .bo_chk {
    display: none;
}

#fviewcomment .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    padding: 0 20px;
    border: 1px solid var(--bd-primary);
    border-radius: 999px;
    background: var(--bd-primary);
    box-sizing: border-box;
    color: var(--bd-white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(var(--bd-primary-rgb),.18);
    transition: all .2s ease;
}

#fviewcomment .btn_submit:hover {
    transform: translateY(-2px);
}

/* 모바일 */
@media (max-width: 1024px) {
    #bo_vc article {
        padding: 20px 18px;
        border-radius: 18px;
    }

    #bo_vc_w {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .bo_vc_w_wr {
        flex-direction: column;
        align-items: stretch;
    }

    .bo_vc_w_info {
        width: 100%;
    }

    .btn_confirm {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    #bo_vc {
        margin-top: 28px;
    }

    #bo_vc > h2,
    #bo_vc_w > h2,
    .bo_vc_w > h2 {
        margin-bottom: 14px;
        font-size: 20px;
    }

    #bo_vc article {
        padding: 18px 14px;
        border-radius: 16px;
    }

    #bo_vc article > header {
        gap: 8px 10px;
        padding-right: 44px;
    }

    .comment_profile_img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .cmt_contents > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .cmt_contents .bo_vl_opt {
        top: -50px;
    }

    .cmt_opt {
        width: 32px;
        height: 32px;
    }

    .cmt_opt i {
        font-size: 14px;
    }

    .bo_vl_act {
        top: 38px;
        min-width: 108px;
    }

    #bo_vc_w {
        margin-top: 24px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    #fviewcomment textarea#wr_content {
        min-height: 140px;
        padding: 14px;
        border-radius: 14px;
        font-size: 14px;
    }

    .bo_vc_w_info .frm_input {
        width: 100%;
        height: 44px;
        border-radius: 12px;
        font-size: 14px;
    }

    .btn_confirm {
        width: 100%;
    }

    #fviewcomment .btn_submit {
        width: 100%;
        min-width: 0;
        height: 46px;
    }
}

.comment_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(var(--bd-primary-rgb),.12);
    color: var(--bd-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    position: relative;
}

.btn_submit_wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:30px;
}

.btn_submit_wrap .btn_m{
    min-width:180px;
    height:50px;
    line-height:50px;
    padding:0 28px;
    border-radius:50px;
    font-size:16px;
    font-weight:700;
    text-align:center;
    transition:.25s;
    box-sizing:border-box;
}

/* 목록보기 */
.btn_submit_wrap .btn_list{
    background:#fff;
    border:1px solid #d9d9d9;
    color:#231815;
}

/* 문의하기 */
.btn_submit_wrap .btn_submit{
    margin:0 !important;
}

@media (max-width:640px){
    .btn_submit_wrap{
        gap:8px;
    }

    .btn_submit_wrap .btn_m{
        min-width:0;
        flex:1;
        height:50px;
        line-height:48px;
        font-size:14px;
        padding:0 14px;
    }
}


.simple_board_table .td_status{
    width:140px;
    text-align:center;
    white-space:nowrap;
}

.status_badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:64px;
    height:35px;
    padding:0 10px;
    border-radius:999px;
    background:#0B5EA8;
    color:#fff;
    font-size:14px;
    font-weight:700;
    line-height:1;
}