@charset "utf-8";

/* Modern Board Style */
#bo_list,
#bo_v,
#bo_w {
    margin: 40px auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    max-width: 1440px;
    line-height: 1.6;
}


#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

#bo_list_total {
    font-size: 14px;
    color: #666;
}

#bo_list_total span {
    font-weight: 700;
    color: #111;
    margin-right: 10px;
}

.btn_bo_user {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.btn_bo_user .btn {
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
    gap: 6px;
}

.btn_bo_user .btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.btn_bo_user .btn_b01 {
    background: #111;
    color: #fff;
    border: none;
}

.btn_bo_user .btn_b01:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Table Style */
.tbl_head01 {
    width: 100%;
    border-top: 2px solid #111;
}

.tbl_head01 table {
    width: 100%;
    border-collapse: collapse;
}

.tbl_head01 th {
    height: 54px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.tbl_head01 td {
    height: 64px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    text-align: center;
    color: #475569;
    padding: 12px 5px;
}

.tbl_head01 .td_subject {
    text-align: left;
    padding-left: 30px;
}

.bo_tit a {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.bo_tit a i {
    color: #94a3b8;
    font-size: 18px;
}

.bo_tit .cnt_cmt {
    background: #fee2e2;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.bo_notice td {
    background: #fffcfc;
}

.notice_icon {
    display: inline-block;
    padding: 3px 10px;
    background: #ef4444;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

/* View Style */
#bo_v_title {
    margin: 0 0 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.bo_v_cate {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bo_v_tit {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}

#bo_v_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.profile_info_ct {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
}

.info_name {
    color: #111;
    font-weight: 700;
}

.info_item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info_item i {
    font-size: 18px;
}

#bo_v_con {
    padding: 40px 10px;
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    min-height: 300px;
}

#bo_v_act {
    text-align: center;
    margin: 50px 0;
}

.bo_v_good {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    color: #64748b;
    transition: all 0.2s;
}

.bo_v_good:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fffafa;
}

.bo_v_good i {
    font-size: 32px;
    margin-bottom: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    #bo_list,
    #bo_v,
    #bo_w {
        margin-top: 20px;
        padding: 0 15px;
    }

    .tbl_head01 thead {
        display: none;
    }

    .tbl_head01 tr {
        display: block;
        padding: 20px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .tbl_head01 td {
        display: block;
        text-align: left;
        height: auto;
        border: none;
        padding: 4px 0;
    }

    .td_num,
    .td_datetime,
    .td_name {
        display: inline-block !important;
        font-size: 13px !important;
        color: #94a3b8 !important;
        margin-right: 15px;
    }

    .td_subject {
        padding-left: 0 !important;
        margin-bottom: 8px;
    }

    .bo_tit a {
        font-size: 17px;
        font-weight: 700;
        line-height: 1.4;
    }

    .bo_v_tit {
        font-size: 22px;
    }

    #bo_v_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .profile_info_ct {
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

/* Board Search Wrap */
.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%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1002;
}

.bo_sch h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.bo_sch select {
    width: 100%;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

.sch_bar {
    display: flex;
    gap: 8px;
}

.sch_input {
    flex: 1;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.sch_input:focus {
    border-color: #111;
}

.sch_btn {
    width: 44px;
    height: 44px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bo_sch_cls {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.bo_sch_bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
}