@charset "utf-8";

:root {
    --board-bg: #f4f7fb;
    --board-surface: rgba(255, 255, 255, 0.96);
    --board-surface-soft: #f9fbff;
    --board-border: #dbe5f0;
    --board-text: #162033;
    --board-muted: #6a788f;
    --board-primary: #0f62fe;
    --board-primary-soft: rgba(15, 98, 254, 0.08);
    --board-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

#bo_list,
#bo_v,
#bo_w {
    margin: 0 auto 72px;
    padding: 32px;
    border: 1px solid var(--board-border);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.98) 100%);
    box-shadow: var(--board-shadow);
    color: var(--board-text);
}

.bo_fx,
#bo_v_top,
#bo_v_bot,
#bo_sch,
.bo_top_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#bo_list_total,
.bo_top_tit {
    float: none !important;
    padding: 0 !important;
    margin: 0;
    color: var(--board-muted);
    font-size: 15px;
}

.bo_top_tit .fa {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width: 34px;
	height: 34px;
	margin-right: 10px;
	border-radius: 12px;
	background: var(--board-primary-soft);
	color: var(--board-primary);
}

.btn_bo_user,
.btn_bo_adm,
.bo_v_nb,
.bo_v_com {
    float: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

#bo_list a.btn_b01,
#bo_list a.btn_b02,
#bo_list a.btn_admin,
#bo_v a.btn_b01,
#bo_v a.btn_b02,
#bo_v a.btn_admin,
#bo_w .btn_submit,
#bo_w .btn_cancel,
#bo_w a.btn_frmline,
#bo_w button.btn_frmline,
.btn_bo_adm input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: var(--board-text);
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: all .2s ease;
}

#bo_list a.btn_b02,
#bo_v a.btn_b02,
#bo_w .btn_submit,
.btn_bo_adm input {
    background: var(--board-primary);
    color: #fff;
}

#bo_list a.btn_b01:hover,
#bo_list a.btn_b02:hover,
#bo_v a.btn_b01:hover,
#bo_v a.btn_b02:hover,
#bo_w .btn_submit:hover,
#bo_w .btn_cancel:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

#bo_cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 22px;
}

#bo_cate li {
    float: none;
    margin: 0;
}

#bo_cate a,
#bo_cate li:nth-of-type(1) a {
    width: auto;
    min-width: 110px;
    height: 42px;
    line-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--board-border);
    border-radius: 999px;
    background: #fff;
    color: var(--board-muted);
}

#bo_cate #bo_cate_on {
    background: var(--board-primary);
    border-color: var(--board-primary);
    color: #fff;
    font-weight: 700;
}

#bo_sch {
    float: none !important;
    width: auto !important;
    margin: 0 0 24px;
    padding: 0;
}

#bo_sch .frm_input,
#bo_w .frm_input,
#bo_w input[type="text"],
#bo_w input[type="password"],
#bo_w input[type="file"],
#bo_w select,
#bo_w textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--board-border);
    border-radius: 16px;
    background: #fff;
    color: var(--board-text);
    box-sizing: border-box;
}

#bo_sch .frm_input {
    min-width: 240px;
}

#bo_sch .btn_submit {
    height: 46px;
    padding: 0 18px 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--board-primary);
    color: #fff;
}

#bo_list .tbl_head01,
#bo_v .tbl_head01,
#bo_w .tbl_frm01 {
    width: 100%;
    border: 1px solid var(--board-border);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

#bo_list .tbl_head01 thead th {
    padding: 18px 14px;
    border-bottom: 1px solid var(--board-border);
    background: var(--board-surface-soft);
    color: var(--board-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#bo_list .tbl_head01 td {
    padding: 20px 16px;
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.88);
}

#bo_list .tbl_head01 tbody tr:hover td {
    background: rgba(15, 98, 254, 0.03);
}

#bo_list .tbl_head01 a {
    color: var(--board-text);
    font-weight: 700;
}

#bo_list .tbl_head01 .td_num,
#bo_list .tbl_head01 .td_datetime,
#bo_list .tbl_head01 .td_date,
#bo_list .tbl_head01 .td_day {
    color: var(--board-muted);
}

.td_datafile_down a {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--board-primary);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 12px 24px rgba(15, 98, 254, 0.18);
}

.td_datafile_down a:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.board-file-empty {
	display:inline-flex;
	align-items:center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px dashed var(--board-border);
	border-radius: 999px;
	color: var(--board-muted);
	background: #fff;
}

#bo_v_title {
    padding: 4px 0 20px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

#bo_v_info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    padding: 0 0 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--board-border);
    color: var(--board-muted);
}

#bo_v_file ul,
#bo_v_link ul {
    display: grid;
    gap: 12px;
}

#bo_v_file li,
#bo_v_link li {
    border: 1px solid var(--board-border);
    border-radius: 18px;
    background: var(--board-surface-soft);
}

#bo_v_file a,
#bo_v_link a {
    padding: 14px 16px;
}

#bo_v_con {
    margin: 28px 0 40px;
    line-height: 1.9;
    color: var(--board-text);
}

#bo_v_con img {
    border-radius: 20px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

#bo_w h2,
#bo_v_act,
#bo_w .file_wr,
#bo_w .tbl_frm01 th {
    color: var(--board-text);
}

#bo_w .tbl_frm01 th,
#bo_w .tbl_frm01 td {
    padding: 18px 20px;
    border-top: 1px solid #edf2f7;
    background: #fff;
}

#bo_w .tbl_frm01 th {
    width: 180px;
    background: var(--board-surface-soft);
    color: var(--board-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#bo_w .btn_confirm {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.board-write-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.board-write-main {
    display: grid;
    gap: 18px;
}

.board-write-section {
    padding: 18px;
    border: 1px solid var(--board-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.board-write-section h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: var(--board-text);
}

.board-write-section p {
    margin: 0;
    color: var(--board-muted);
    line-height: 1.7;
}

.board-write-meta {
    display: grid;
    gap: 16px;
}

.board-write-card {
    padding: 18px;
    border: 1px solid var(--board-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.board-write-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--board-text);
}

.board-write-card p,
.board-write-card li {
    margin: 0;
    color: var(--board-muted);
    line-height: 1.7;
}

.board-write-card ul {
    margin: 0;
    padding-left: 18px;
}

.board-file-stack {
    display: grid;
    gap: 12px;
}

.board-file-row {
    padding: 12px 14px;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    background: #fff;
}

.bo_list_prev ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.bo_list_prev li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid var(--board-border);
    border-radius: 18px;
    background: #fff;
}

.bo_list_prev li span {
    color: var(--board-muted);
    font-weight: 700;
}

.bo_list_prev li a {
    color: var(--board-text);
}

.pg_wrap {
    margin-top: 26px;
}

.pg_page,
.pg_current {
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--board-border);
    background: #fff;
    color: var(--board-muted);
    font-weight: 700;
}

.pg_current {
    background: var(--board-primary);
    border-color: var(--board-primary);
    color: #fff;
}

@media (max-width: 900px) {
    #bo_list,
    #bo_v,
    #bo_w {
        padding: 22px 16px;
        border-radius: 24px;
    }

    #bo_list .tbl_head01,
    #bo_v .tbl_head01,
    #bo_w .tbl_frm01 {
        display: block;
        overflow-x: auto;
    }

    #bo_w .tbl_frm01 th,
    #bo_w .tbl_frm01 td {
        display: block;
        width: 100%;
    }

    .board-write-shell,
    .bo_list_prev li {
        grid-template-columns: 1fr;
    }
}
