/* 커뮤니티 페이지 전용 스타일 (공통 스타일은 common.css에 있음) */
/* Flash 메시지 공통 스타일 */
.alert-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%); /* 항상 가운데 고정 */
    max-width: 800px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    background-color: #e0f8ec;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    white-space: nowrap;
}

/* 에러 메시지 색상 */
.alert-message.error {
    background-color: #ffe6e6;
    color: #c62828;
    border: 1px solid #e57373;
}

/* 커뮤니티 페이지 하단 페이지네이션 정렬 */
.common-table-footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.common-table-footer .pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* 커뮤니티 페이지 글쓰기 버튼 위치 */
.common-table-footer > .write-btn-container {
    position: absolute;
    right: 0;
    top: calc(50% - 8px);
    transform: translateY(-50%);
}

@keyframes blink {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.5;
    }
}

/* 반응형 (모바일 화면용) */
@media (max-width: 768px) {
    .community-table th,
    .community-table td {
        font-size: 12px;
        padding: 6px;
    }
    .community-table .col-title {
        width: auto;
    }
}
