@charset "utf-8";

/* ── 새 글 검색 영역 ── */
.new-sch-wrap {
    margin-top: 15px;
}
#new_sch {
    background: #f8f9fb;
    border: 1px solid #edf0f3;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
#new_sch legend {
    position: absolute; margin: 0; padding: 0;
    font-size: 0; line-height: 0; overflow: hidden;
}
.new-sch-form {}
.new-sch-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.new-sch-row #gr_id,
.new-sch-select {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #dde1e7;
    border-radius: 6px;
    font-size: 0.875rem;
    background: #fff;
    color: #3d4249;
}
.new-sch-input {
    flex: 1;
    min-width: 160px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dde1e7;
    border-radius: 6px;
    font-size: 0.875rem;
    background: #fff;
    color: #3d4249;
}
.new-sch-input:focus,
.new-sch-row #gr_id:focus,
.new-sch-select:focus {
    outline: none;
    border-color: var(--accent, #e05a2b);
}
.new-sch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 38px;
    padding: 0 16px;
    background: var(--accent, #e05a2b);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.new-sch-btn:hover { opacity: 0.88; }
.new-sch-btn svg { width: 14px; height: 14px; }

/* ── 목록 테이블 ── */
.new-list-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #edf0f3;
    box-shadow: 0 1px 6px rgba(20,28,40,.05);
    margin-bottom: 8px;
}
.new-list-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.new-list-table thead th {
    padding: 11px 12px;
    background: #f5f6f8;
    color: #5a6270;
    font-size: 0.8125rem;
    font-weight: 600;
    border-bottom: 1px solid #edf0f3;
    border-top: none;
    text-align: center;
    white-space: nowrap;
}
.new-list-table tbody td {
    padding: 10px 12px;
    font-size: 0.875rem;
    color: #3d4249;
    border-top: 1px solid #f2f4f7;
    vertical-align: middle;
    height: auto;
}
.new-list-table tbody tr:first-child td { border-top: none; }
.new-list-table tbody tr:hover td { background: #fafbfc; }

/* 제목 링크 */
.new-list-table .new_tit {
    color: #2e3540;
    font-weight: 500;
    font-size: 0.875rem;
}
.new-list-table .new_tit:hover { color: var(--accent, #e05a2b); }

/* 날짜/이름 */
.new-list-table .td_date,
.new-list-table .td_name {
    color: #888;
    font-size: 0.8125rem;
    text-align: center;
    white-space: nowrap;
}

/* 프로필 이미지 */
.new-list-table .profile_img img { border-radius: 50%; }

/* 빈 목록 */
.new-list-table .empty_table {
    padding: 40px 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* ── 게시물 목록 태그 ── */
#fnewlist .td_group a {
    display: inline-block;
    background: #000; color: #fff;
    padding: 2px 8px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
    white-space: nowrap;
}
#fnewlist .td_board a {
    display: inline-block;
    background: #eeeaf8; color: #7c5cbf;
    padding: 2px 8px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
    white-space: nowrap;
}
#fnewlist .td_group,
#fnewlist .td_board { text-align: center; white-space: nowrap; }
#fnewlist .profile_img img { border-radius: 50%; }

.new-pg-spacer { height: 30px; }

.admin_new_btn { float: right; margin-bottom: 10px; }

/* ── 체크박스 ── */
.selec_chk { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; outline: 0; z-index: -1; overflow: hidden; }
.chk_box input[type="checkbox"] + label { position: relative; padding-left: 20px; color: #676e70; }
.chk_box input[type="checkbox"] + label:hover { color: #2172f8; }
.chk_box input[type="checkbox"] + label span { position: absolute; top: 2px; left: 0; width: 15px; height: 15px; display: block; background: #fff; border: 1px solid #d0d4df; border-radius: 3px; }
.chk_box input[type="checkbox"]:checked + label { color: #000; }
.chk_box input[type="checkbox"]:checked + label span { background: url(../../../img/chk.png) no-repeat 50% 50% #3a8afd; border-color: #1471f6; border-radius: 3px; }
