@charset "utf-8";

/* 최근게시물 스킨 (new) */

/* 검색 폼 */
#new_sch {
    padding: 24px;
    margin-bottom: 20px;
    background: var(--color-bg-gray, #f5f5f5);
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-md, 8px);
    text-align: center;
}
#new_sch legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
#new_sch select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-sm, 4px);
    font-size: 14px;
    color: var(--color-text, #333);
    background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center;
    background-size: 18px;
    padding-right: 32px;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
#new_sch select:focus {
    outline: none;
    border-color: var(--color-secondary, #2196F3);
}
#new_sch select option {
    padding: 8px;
}
#new_sch .frm_input {
    width: 250px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-sm, 4px);
    font-size: 14px;
    color: var(--color-text, #333);
    background: #fff;
    vertical-align: middle;
}
#new_sch .frm_input:focus {
    outline: none;
    border-color: var(--color-secondary, #2196F3);
}
#new_sch .btn_submit {
    height: 42px;
    padding: 0 20px;
    background: var(--color-secondary, #2196F3);
    border: none;
    border-radius: var(--radius-sm, 4px);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    vertical-align: middle;
    transition: background 0.15s ease;
}
#new_sch .btn_submit:hover {
    background: var(--color-secondary-dark, #1976D2);
}
#new_sch p {
    margin: 12px 0 0;
    padding: 0;
    font-size: 13px;
    color: var(--color-text-muted, #999);
}

/* 관리자 버튼 */
.admin_new_btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.admin_new_btn .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg-gray, #f5f5f5);
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-sm, 4px);
    color: var(--color-text-muted, #999);
    cursor: pointer;
    transition: all 0.15s ease;
}
.admin_new_btn .btn:hover {
    background: var(--color-danger, #f44336);
    border-color: var(--color-danger, #f44336);
    color: #fff;
}

/* 테이블 래퍼 */
.tbl_head01.tbl_wrap {
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    background: #fff;
}
.tbl_head01 table {
    width: 100%;
    border-collapse: collapse;
}

/* 테이블 헤더 */
.tbl_head01 thead th {
    padding: 14px 12px;
    background: var(--color-bg-gray, #f5f5f5);
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text, #333);
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* 테이블 바디 */
.tbl_head01 tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    font-size: 14px;
    color: var(--color-text, #333);
    text-align: center;
    vertical-align: middle;
}
.tbl_head01 tbody tr:last-child td {
    border-bottom: none;
}
.tbl_head01 tbody tr:hover {
    background: #f8fbff;
}

/* 그룹 컬럼 */
.tbl_head01 .td_group a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-primary-light, #E8F5E9);
    border-radius: var(--radius-sm, 4px);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary, #8BC34A);
    text-decoration: none;
    transition: all 0.15s ease;
}
.tbl_head01 .td_group a:hover {
    background: var(--color-primary, #8BC34A);
    color: #fff;
}

/* 게시판 컬럼 */
.tbl_head01 .td_board a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-secondary-light, #E3F2FD);
    border-radius: var(--radius-sm, 4px);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-secondary, #2196F3);
    text-decoration: none;
    transition: all 0.15s ease;
}
.tbl_head01 .td_board a:hover {
    background: var(--color-secondary, #2196F3);
    color: #fff;
}

/* 제목 컬럼 */
.tbl_head01 td .new_tit {
    color: var(--color-text, #333);
    text-decoration: none;
    transition: color 0.15s ease;
}
.tbl_head01 td .new_tit:hover {
    color: var(--color-secondary, #2196F3);
}

/* 이름 컬럼 */
.tbl_head01 .td_name {
    color: var(--color-text-light, #666);
    white-space: nowrap;
}

/* 날짜 컬럼 */
.tbl_head01 .td_date {
    color: var(--color-text-muted, #999);
    font-size: 13px;
    white-space: nowrap;
}

/* 빈 테이블 */
.tbl_head01 .empty_table {
    padding: 60px 20px !important;
    text-align: center;
    color: var(--color-text-muted, #999);
    font-size: 14px;
}

/* 체크박스 */
.tbl_head01 thead th.chk_box,
.tbl_head01 tbody td.td_chk {
    width: 50px;
    padding: 14px 8px;
    text-align: center;
}
.tbl_head01 .chk_box input[type="checkbox"] + label {
    position: static;
    padding-left: 0;
    display: inline-block;
    cursor: pointer;
}
.tbl_head01 .chk_box .selec_chk {
    position: absolute;
    left: -9999px;
}
.tbl_head01 .chk_box input[type="checkbox"] + label span {
    position: static;
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    vertical-align: middle;
}
.tbl_head01 .selec_chk:checked + label span {
    background: #2196F3 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center;
    background-size: 12px;
    border-color: #2196F3;
}

/* 프로필 이미지 */
#fnewlist .profile_img img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    vertical-align: middle;
}

/* 페이지네이션 */
#fnewlist + .pg_wrap {
    margin-top: 20px;
}
