@charset "utf-8";

.notice-wrap {
    max-width: 1100px;
    margin: 30px auto;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    color: #222;
}

.notice-head {
    margin-bottom: 25px;
}

.notice-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.notice-head p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #222;
}

.notice-table th,
.notice-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-size: 14px;
}

.notice-table th {
    background: #fafafa;
    font-weight: 600;
}

.notice-table .notice-subject {
    text-align: left;
}

.notice-table .notice-subject a {
    color: #222;
    text-decoration: none;
}

.notice-table .notice-subject a:hover {
    text-decoration: underline;
}

.notice-badge {
    display: inline-block;
    padding: 3px 8px;
    margin-right: 6px;
    border-radius: 3px;
    background: #222;
    color: #fff;
    font-size: 11px;
}

.notice-btn-area {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 20px;
}

.notice-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.notice-btn-primary {
    background: #222;
    color: #fff;
}

.notice-btn-light {
    background: #f1f1f1;
    color: #333;
}

.notice-search {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
}

.notice-search select,
.notice-search input {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.notice-search input {
    width: 250px;
}

.notice-search button {
    height: 38px;
    padding: 0 16px;
    border: 0;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.notice-view-title {
    padding: 22px 15px;
    border-top: 2px solid #222;
    border-bottom: 1px solid #ddd;
}

.notice-view-title h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.notice-view-meta {
    font-size: 13px;
    color: #777;
}

.notice-view-content {
    min-height: 250px;
    padding: 35px 15px;
    line-height: 1.9;
    border-bottom: 1px solid #ddd;
}

.notice-write-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #222;
}

.notice-write-table th,
.notice-write-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.notice-write-table th {
    width: 150px;
    background: #fafafa;
}

.notice-input,
.notice-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.notice-textarea {
    min-height: 300px;
    resize: vertical;
}

.notice-empty {
    padding: 50px 10px !important;
    color: #777;
}

@media (max-width: 768px) {
    .notice-table .hide-mobile {
        display: none;
    }

    .notice-search {
        flex-wrap: wrap;
    }

    .notice-search input {
        width: 100%;
    }

    .notice-write-table th {
        width: 100px;
    }
}
