:root { --pink: #FF7BAC; --pink-deep: #F0558A; --pink-light: #FFE4EF; --pink-pale: #FFF5F9; --mint: #06D6A0; --sky: #74C7EC; --dark: #2D1B2E; --mid: #6B4C6E; --muted: #A08AA3; --bg: #FFF8FB; }

body {
    margin: 0; padding: 0; font-family: 'Nunito', 'Noto Sans KR', sans-serif;
    background-color: var(--bg);
    background-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext y='50' x='15' font-size='32' opacity='0.05'%3E🐾%3C/text%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext y='50' x='15' font-size='32' opacity='0.05'%3E🐾%3C/text%3E%3C/svg%3E");
    background-position: 0px 0px, 150px 150px; background-size: 300px 300px; background-repeat: repeat;
    color: var(--dark); overflow-x: hidden;
}

/* 버튼 및 링크 기본 밑줄 강제 삭제 처리 */
a { text-decoration: none !important; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1000px; margin: 40px auto; background-color: #ffffff; background-image: none; padding: 40px; border-radius: 28px; box-shadow: 0 12px 36px rgba(255, 123, 172, 0.08); position: relative; z-index: 10; }
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 25px; color: var(--dark); }

.search-area { display: flex; justify-content: flex-end; margin-bottom: 25px; }
.search-area select, .search-area input { padding: 10px 14px; border: 2px solid var(--pink-light); border-radius: 12px; margin-right: 8px; outline: none; font-family: inherit; font-size: 14px; transition: 0.2s; }
.search-area select:focus, .search-area input:focus { border-color: var(--pink); }
.search-btn { padding: 10px 20px; background-color: var(--pink); color: white; border: none; border-radius: 12px; cursor: pointer; font-weight: 800; transition: 0.2s; }
.search-btn:hover { background-color: var(--pink-deep); transform: translateY(-1px); }

.board-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: center; margin-bottom: 20px; }
.board-table th { background-color: var(--pink-pale); padding: 16px 12px; border-top: 2px solid var(--pink); border-bottom: 2px solid var(--pink-light); font-weight: 800; color: var(--dark); }
.board-table th:first-child { border-top-left-radius: 12px; }
.board-table th:last-child { border-top-right-radius: 12px; }
.board-table td { padding: 16px 12px; border-bottom: 1px solid var(--pink-light); color: var(--mid); font-weight: 600; transition: background-color 0.2s; }
.board-table tr:hover td { background-color: var(--pink-pale); }
.board-table td.title { text-align: left; }
.board-table td.title a { color: var(--dark); font-weight: 700; }
.board-table td.title a:hover { color: var(--pink); }

.post-list { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.post-item { background: #ffffff; border: 2px solid var(--pink-light); border-radius: 20px; padding: 20px 25px; transition: 0.2s; }
.post-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,123,172,0.06); border-color: var(--pink); }
.post-title-wrap { display: flex; align-items: center; gap: 10px; }

.status-badge { padding: 6px 12px; border-radius: 12px; font-size: 12px; font-weight: 800; color: white; display: inline-block; }
.status-recruiting { background-color: var(--mint); }
.status-closed { background-color: var(--muted); }

.board-footer { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 40px; }
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; }
.pagination a { padding: 8px 14px; border: 2px solid var(--pink-light); border-radius: 12px; color: var(--mid); font-weight: 700; transition: 0.2s; text-decoration: none !important; }
.pagination a:hover { border-color: var(--pink); color: var(--pink); }
.pagination a.active { background-color: var(--pink); color: white; border-color: var(--pink); }

.write-btn { position: absolute; right: 0; background-color: var(--pink); color: white; padding: 12px 24px; border-radius: 16px; font-weight: 800; transition: 0.2s; text-decoration: none !important; display: inline-block; border: none; cursor: pointer; }
.write-btn:hover { background-color: var(--pink-deep); transform: translateY(-2px); }

@media screen and (max-width: 768px) {
    .container { margin: 20px 15px; padding: 25px 20px; }
    .board-table th, .board-table td { padding: 12px 6px; font-size: 13px; }
    .board-footer { flex-direction: column; gap: 20px; }
    .write-btn { position: static; width: 100%; text-align: center; }
}