.notice_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    min-height: 600px;
}

.notice_header {
    margin-bottom: 40px;
    text-align: center;
}

.notice_title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.notice_desc {
    font-size: 16px;
    color: #666;
}

.notice_list {
    border-top: 2px solid #111;
}

.notice_item {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
    cursor: pointer;
}

.notice_item:hover {
    background: #f9f9f9;
}

.ni_num {
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #888;
    font-family: 'Roboto', sans-serif;
}

.ni_content {
    flex: 1;
    padding: 0 20px;
}

.ni_subject {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 6px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ni_date {
    font-size: 13px;
    color: #999;
    font-family: 'Roboto', sans-serif;
}

.ni_arrow {
    width: 40px;
    text-align: center;
    color: #ccc;
}

.empty_list {
    text-align: center;
    padding: 100px 0;
    color: #999;
    border-bottom: 1px solid #eee;
}

/* 검색창 */
.notice_search {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.search_box {
    position: relative;
    width: 300px;
}

.search_box input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 0 45px 0 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search_box input:focus {
    border-color: #7800FF;
}

.search_box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #7800FF;
    cursor: pointer;
}

/* 검색 폼 스타일 */
.search_form {
    display: flex;
    gap: 10px;
}

.search_input {
    flex: 1;
}

.search_btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.search_btn:hover {
    color: #6366f1;
}

/* 페이징 */
.pg_wrap {
    margin-top: 20px;
    text-align: center;
    display:flex;
    justify-content: center;
    width:100%;
}

.pg {
    display: inline-block;
}

.pg_page,
.pg_current {
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 34px;
    height: 34px;
    line-height: 32px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin: 0 2px;
    border-radius: 4px;
}

.pg_current {
    background: #7800FF;
    border-color: #7800FF;
    color: #fff;
    font-weight: 700;
}

.pg_page:hover {
    border-color: #7800FF;
    color: #7800FF;
}

/* AJAX 페이징 */
.notice_paging_wrapper {
    margin-top: 50px;
    text-align: center;
}

.notice_page_btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    margin: 0 5px;
    font-size: 14px;
}

.notice_page_btn:hover:not(:disabled) {
    border-color: #6366f1;
    color: #6366f1;
}

.notice_page_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.notice_paging_current {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    margin: 0 5px;
    font-size: 14px;
}