﻿body {
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
}

    .notice-table th {
        background: #f5f5f5;
        padding: 12px 10px;
        border-top: 2px solid #333;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
    }

    .notice-table td {
        padding: 10px;
        border-bottom: 1px solid #e5e5e5;
    }

        .notice-table th,
        .notice-table td,
        .notice-title-link {
            font-size: 14px;
        }

    .notice-table tr:hover {
        background: #fafafa;
    }

.notice-title-link {
    color: #333;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .notice-title-link:hover {
        text-decoration: underline;
    }

.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
}

/* 컬럼 너비 */

.col-no {
    width: 80px;
}

.col-title {
    width: auto;
}

.col-writer {
    width: 120px;
}

.col-date {
    width: 140px;
}

.col-read {
    width: 100px;
}

/**/
/* 전체 오른쪽 정렬 */
.search-bar {
    display: flex;
    justify-content: flex-end; /* 🔥 오른쪽 끝 */
    margin-bottom: 20px;
}

/* 제목 + 입력 묶음 */
.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 제목 */
.search-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

/* 검색박스 */
.search-box {
    position: relative;
}

    /* 입력창 */
    .search-box input {
        width: 260px;
        padding: 5px 40px 5px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        outline: none;
        /*        font-family: 'Pretendard', 'Noto Sans KR', sans-serif;*/
        font-family: 'Pretendard', sans-serif;
        font-size: 15px;
    }

        .search-box input:focus {
            border-color: #333;
        }

/* 모바일 */

@media (max-width: 768px) {

    .notice-table th,
    .notice-table td {
        padding: 8px 4px;
        font-size: 13px;
    }

    .col-writer,
    .col-read {
        display: none;
    }
}


.pagination .page-link {
    cursor: pointer;
}

.pagination .page-item.active .page-link {
    font-weight: bold;
}

/*#notice-paging {
    margin-top: 50px;
    margin-bottom: 0px;
}*/
.notice-paging {
    margin-top: 50px;
}