/* commu_style.css - 커뮤팜 전용 통합 스타일 */

/* ========================================
   1. 전역 설정 및 레이아웃
======================================== */

/* 기본 배경색 */
body.commupharm-page {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f5f6f8;
}

/* PC 푸터가 콘텐츠를 가리지 않도록 하단 여백 추가 */
.page-content-wrapper {
    padding-bottom: 80px;
    background: #f5f6f8;
}

/* 2단 레이아웃 (사이드바 + 메인) */
.commu-intro-layout {
    display: grid;
    grid-template-columns: 280px 910px;
    margin-top: 5px;
    justify-content: center;
    gap: 10px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 보드(main) 전용: 패딩 포함 910px 고정 폭 */
.commu-intro-layout > .main-container:not(.summary-container) {
    width: 910px;
    box-sizing: border-box;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 5px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 태블릿/좁은 화면에서는 가변 폭 */
@media (max-width: 1250px) {
    .commu-intro-layout {
        grid-template-columns: 220px 1fr;
        gap: 8px;
        padding: 0 12px;
    }
    .commu-intro-layout > .main-container:not(.summary-container) {
        width: 100%;
    }
}
/* ========================================
   Sidebar Toggle (Tablet / iPad)
======================================== */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    left: 16px;
    bottom: 90px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 3px 12px rgba(108, 92, 231, 0.4);
    transition: background 0.2s, transform 0.2s;
}
.sidebar-toggle-btn:active {
    transform: scale(0.92);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}
.sidebar-backdrop.active {
    display: block;
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #495057;
    z-index: 1;
    transition: background 0.2s;
}
.sidebar-close-btn:hover {
    background: #e9ecef;
}

/* 좌측 사이드바 컬럼 */
.left-column {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* 태블릿 이하: 그리드 1열 전환 */
@media (max-width: 1024px) {
    .commu-intro-layout {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    .commu-intro-layout > .main-container:not(.summary-container) {
        width: 100%;
    }
    .left-column {
        display: none;
    }
}

/* 태블릿 전용: 사이드바 슬라이드 오버레이 */
@media (min-width: 768px) and (max-width: 1024px) {
    .left-column {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 80vw;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        background: #fff;
        padding: 56px 20px 20px;
        overflow-y: auto;
        box-shadow: none;
    }
    .left-column.sidebar-open {
        transform: translateX(0);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    }

    /* Show toggle button & close button */
    .sidebar-toggle-btn {
        display: flex;
    }
    .sidebar-close-btn {
        display: flex;
    }
}

/* ========================================
   2. 좌측 사이드바
======================================== */

.commu-intro-sidebar {
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow-x: hidden;
}

.sidebar-header h3 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6c5ce7;
    font-size: 16px;
    color: #333;
    font-weight: 700;
}

.sidebar-content {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    color: #202124;
}

.community-list {
    list-style: none;
    padding: 0;
    min-height: 380px;
    margin: 0;
    overflow-x: hidden;
}

.community-list li a {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.community-list li a:hover {
    background-color: #f0edff;
    color: #6c5ce7;
    transform: translateX(2px);
}

/* ========================================
   3. 게시판 탭 네비게이션
======================================== */

.board-nav-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.board-nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    flex: 1;
}

.board-nav-btn {
    padding: 10px 16px;
    border: none;
    background-color: #ffffff;
    color: #495057;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.board-nav-btn.active {
    color: #6c5ce7;
    border-bottom: 2px solid #6c5ce7;
    background-color: #ffffff;
}

.board-nav-btn:hover:not(.active) {
    color: #6c5ce7;
    background-color: #f8f9fa;
}

/* ========================================
   4. 즐겨찾기 버튼
======================================== */

.btn-favorite {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-favorite:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.btn-favorite.favorited {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.btn-favorite.favorited:hover {
    background-color: #ffe69c;
}

.btn-favorite .star-icon {
    font-size: 16px;
    line-height: 1;
}

.btn-favorite .favorite-text {
    font-size: 13px;
}

/* ========================================
   5. 내 탭 (즐겨찾기 목록)
======================================== */

/* 내 탭 바 스타일 (게시판 페이지용) */
.my-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background-color: #ffffff;
    border-bottom: 1px solid #e6e8eb;
}

.btn-add-tab, .btn-edit-tab {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #e6e8eb;
    background-color: #f8f9fa;
    transition: all 0.2s;
}

.btn-add-tab:hover, .btn-edit-tab:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.my-tabs-list {
    display: flex;
    flex-grow: 1;
    gap: 10px;
    overflow-x: auto;
}

/* 내 탭 헤더 (소개 페이지용) */
.my-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e6e8eb;
}

.my-tabs-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.my-tabs-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 8px 16px;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
}

/* 내 탭 컨테이너 */
.my-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 60px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* 내 탭 아이템 */
.my-tab-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.my-tab-item:hover {
    background-color: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}

.my-tab-item.active {
    background-color: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.2);
}

/* 편집 모드 스타일 */
.my-tabs-container.editing .my-tab-item {
    padding-right: 32px;
    cursor: default;
    animation: wiggle 0.2s ease-in-out infinite alternate;
}

.my-tabs-container.editing .my-tab-item:hover {
    background-color: #ffffff;
    color: #495057;
    border-color: #e6e8eb;
    transform: none;
    box-shadow: none;
}

.editing-item {
    pointer-events: none;
}

.delete-tab-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-tab-btn:hover {
    background-color: #c82333;
    transform: translateY(-50%) scale(1.1);
}

.no-tabs-message {
    width: 100%;
    text-align: center;
    color: #868e96;
    font-size: 14px;
    padding: 20px;
    margin: 0;
}

@keyframes wiggle {
    from { transform: rotate(-1deg); }
    to { transform: rotate(1deg); }
}

/* ========================================
   6. 소개 페이지 - 요약 섹션
======================================== */

.summary-container {
    padding-top: 20px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.summary-section {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}

.summary-post-list {
    list-style: none;
    padding: 0;
    min-height: 230px;
    margin: 0;
}

.summary-post-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
}

.summary-post-list li:last-child {
    border-bottom: none;
}

.summary-post-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    overflow: hidden;
}

.summary-post-list li a:hover .summary-title {
    text-decoration: underline;
}

.summary-post-list .summary-category {
    color: #868e96;
    margin-right: 8px;
    flex-shrink: 0;
}

.summary-post-list .summary-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-post-list .summary-comment-count {
    color: #6c5ce7;
    margin-left: auto;
    padding-left: 10px;
    flex-shrink: 0;
}

.summary-post-list .no-posts {
    color: #adb5bd;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

/* ========================================
   7. 소개 페이지 - 하단 섹션
======================================== */

.section-divider {
    border: 0;
    height: 1px;
    background-color: #e6e8eb;
    margin: 15px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.intro-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
}

.intro-section h2 {
    font-size: 18px;
    color: #343a40;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.commupharm-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
}

.features-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* 커뮤니티 검색 폼 */
.community-search-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.community-search-form input {
    flex-grow: 1;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    font-size: 14px;
}

.community-search-form button {
    padding: 10px 20px;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.community-search-form button:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
}

/* ========================================
   8. 검색 결과 페이지
======================================== */

.search-result-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
}

.search-result-list li {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s;
}

.search-result-list li:last-child {
    border-bottom: none;
}

.search-result-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 15px;
    text-decoration: none;
    color: #343a40;
    transition: all 0.2s;
    border-radius: 12px;
}

.search-result-list li a:hover {
    background-color: #f0f5ff;
    transform: translateX(5px);
}

.result-board-name { 
    font-weight: 600;
    font-size: 16px;
    color: #212529;
}

.result-board-type { 
    font-size: 12px;
    font-weight: 600;
    color: #fff; 
    background: linear-gradient(135deg, #6c5ce7 0%, #4da3ff 100%);
    padding: 4px 12px; 
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

/* ========================================
   9. 아코디언 스타일
======================================== */

.accordion {
    width: 100%;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f9fa;
    color: #495057;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.accordion-header:hover, 
.accordion-header.active {
    background-color: #e9ecef;
}

.accordion-content {
    padding: 0 20px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* ========================================
   10. 커뮤팜 테마 컬러 (파란색)
======================================== */

/* 로고 */
.commu-logo {
    height: 40px;
    vertical-align: middle;
}

.logo-link {
    text-decoration: none;
}

.commupharm-header h1 {
    color: #6c5ce7;
}

/* 검색 폼 */
.commupharm-page .search-form-container button {
    background-color: #6c5ce7;
    transition: all 0.2s;
}

.commupharm-page .search-form-container button:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.commupharm-page .search-form-container input[type="text"]:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* 글쓰기 버튼 */
.commupharm-page .btn-register-item {
    background-color: #6c5ce7;
    transition: all 0.2s;
}

.commupharm-page .btn-register-item:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* 페이지네이션 */
.commupharm-page .pagination .page-link.active {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.3);
}

.commupharm-page .pagination .page-link:hover:not(.active) {
    border-color: #6c5ce7;
    color: #6c5ce7;
    transform: translateY(-1px);
}

/* 추천하기 버튼 */
.commupharm-page .btn-recommend {
    background-color: #e7f3ff;
    color: #6c5ce7;
    border: 1px solid #b8d9ff;
    font-weight: 600;
    transition: all 0.2s;
}

.commupharm-page .btn-recommend:hover {
    background-color: #d0e6ff;
    border-color: #6c5ce7;
    transform: translateY(-1px);
}

/* 댓글 영역 */
.commupharm-page .comment-area-wrapper {
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
}

.commupharm-page .comment-input-wrapper textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.commupharm-page .reply-input-wrapper textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.commupharm-page .comment-input-wrapper button,
.commupharm-page .comment-form .form-actions button {
    background-color: #6c5ce7;
    transition: all 0.2s;
}

.commupharm-page .comment-input-wrapper button:hover,
.commupharm-page .comment-form .form-actions button:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
}

.commupharm-page .reply-input-wrapper button {
    background-color: #6c5ce7;
    transition: all 0.2s;
}

.commupharm-page .reply-input-wrapper button:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
}

.commupharm-page .comment-actions button,
.commupharm-page .comment-actions a {
    color: #6c5ce7;
    transition: color 0.2s;
}

.commupharm-page .comment-actions button:hover,
.commupharm-page .comment-actions a:hover {
    color: #5b4cdb;
}

/* 게시물 상세 보기 */
.commupharm-page .post-header h1 {
    color: #6c5ce7;
}

.commupharm-page .button-group .btn-list {
    background-color: #f0f5ff;
    color: #6c5ce7;
    border: 1px solid #b8d9ff;
    transition: all 0.2s;
}

.commupharm-page .button-group .btn-list:hover {
    background-color: #e0ebff;
    transform: translateY(-1px);
}

.commupharm-page .button-group .btn-edit {
    background-color: #6c5ce7;
    color: white;
    transition: all 0.2s;
}

.commupharm-page .button-group .btn-edit:hover {
    background-color: #5b4cdb;
    transform: translateY(-1px);
}

.commupharm-page .button-group .btn-delete {
    background-color: #5b4cdb;
    color: white;
    transition: all 0.2s;
}

.commupharm-page .button-group .btn-delete:hover {
    background-color: #003d82;
    transform: translateY(-1px);
}

.commupharm-page .button-group .btn-message {
    background-color: #17a2b8;
    color: white;
    transition: all 0.2s;
}

.commupharm-page .button-group .btn-message:hover {
    background-color: #138496;
    transform: translateY(-1px);
}

.commupharm-page .button-group .btn-report {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    transition: all 0.2s;
}

.commupharm-page .button-group .btn-report:hover {
    background-color: #f5c6cb;
}

/* ========================================
   11. 기타 컴포넌트
======================================== */

/* 대량 메시지 전송 */
.receiver-list {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    max-height: 100px;
    overflow-y: auto;
    border: 1px solid #e6e8eb;
}

/* 접근 불가 안내 */
.no-access-container {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.no-access-container p {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 25px;
}

/* 팝업 오버레이 */
.message-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 커스텀 셀렉트 박스 */
.custom-select-wrapper {
    position: relative;
    min-width: 150px;
    flex-shrink: 0;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    background-color: #ffffff;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.2s;
}

.custom-select-trigger:hover {
    border-color: #6c5ce7;
}

.custom-select-trigger::after {
    content: '▼';
    font-size: 10px;
    color: #999;
    margin-left: 8px;
}

.custom-select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-select-options .option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.custom-select-options .option:hover {
    background-color: #f8f9fa;
}

/* ========================================
   12. 반응형 디자인
======================================== */

@media (max-width: 768px) {
    /* 레이아웃 */
    .commu-intro-layout {
        grid-template-columns: 1fr;
    }
    
    /* 게시판 탭 */
    .board-nav-top-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .board-nav-links {
        order: 2;
    }
    
    .btn-favorite {
        order: 1;
        justify-content: center;
    }
    
    /* 내 탭 헤더 */
    .my-tabs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .my-tabs-actions {
        justify-content: flex-end;
    }
    
    /* 사이트 전환 버튼 */
    .commupharm-page .btn-switch-site {
        display: inline-block;
        background-color: #ffffff;
        color: #ff7e36;
        border: 1px solid #ff7e36;
    }
    
    /* 모바일 하단 네비게이션 */
    .mobile-footer-nav {
        display: flex;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .footer-nav-btn {
        flex: 1;
        position: relative;
        padding: 12px 5px;
        text-align: center;
        text-decoration: none;
        color: #495057;
        font-weight: 600;
        font-size: 14px;
        background-color: #f8f9fa;
        border-top: 1px solid #e6e8eb;
    }
    
    .footer-nav-btn.main-action {
        background-color: #ff7e36;
        color: white;
    }
    
    /* .footer-nav-btn .notification-badge → .mf-footer-badge 로 이동 (commu_mobile_footer.php 에서 정의) */
    
    .site-footer-inner {
        display: none;
    }
}

/* ========================================
   섬네일 및 댓글 표시 스타일
======================================== */

/* 섬네일 기본 크기 조정 */
.post-list .thumbnail {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 12px;
}

/* 제목과 댓글을 같은 줄에 표시 */
.post-list .title-content {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.post-list .title-content a {
    display: inline;
}

.post-list .badges-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 0;
}

.post-list .comment-count-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #6c5ce7;
    font-weight: 600;
    white-space: nowrap;
}

/* 모바일 반응형 카드 스타일 */
@media (max-width: 768px) {
    .post-list thead {
        display: none;
    }
    
    .post-list tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .post-list tr {
        display: grid;
        grid-template-areas:
            "image title title title"
            "image author date status";
        grid-template-columns: 30px 1fr auto;
        gap: 4px 12px;
        padding: 12px;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        background-color: #fff;
    }
    
    .post-list tr.notice-post {
        background-color: #fffbe6;
        border-color: #ffe58f;
    }
    
    .post-list td {
        padding: 0;
        border: none;
        display: flex;
        align-items: center;
        font-size: 13px;
        color: #6c757d;
    }
    
    .post-list td[data-label="이미지"] { 
        grid-area: image; 
    }
    
    .post-list td[data-label="제목"] { 
        grid-area: title; 
        font-size: 15px; 
        color: #212529; 
        font-weight: 500; 
    }
    
    .post-list td[data-label="작성자"] { 
        grid-area: author; 
    }
    
    .post-list td[data-label="상태"] { 
        grid-area: status; 
        justify-content: flex-end; 
        font-weight: 600; 
    }
    
    .post-list td[data-label="작성일"] { 
        grid-area: date; 
    }
    
    .post-list td[data-label="조회수"] { 
        display: none; 
    }

    .post-list .thumbnail {
        width: 30px;
        height: 30px;
        border-radius: 12px;
    }
    
    .post-list .title-content { 
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .post-list .badges-container { 
        margin-top: 0;
        margin-left: 0;
    }
}

/* 사이트 전환 버튼 (기본 숨김) */
.commupharm-page .btn-switch-site {
    display: none;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.commupharm-page .btn-switch-site:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ========================================
   게시글 상세보기 스타일 (view_item_style.css에서 이동)
======================================== */

.view-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 30px auto;
    text-align: left;
}

.post-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: #606770;
    font-size: 14px;
}

.post-meta .author, .post-meta .details {
    display: flex;
    align-items: center;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta .status-badge-current {
    margin-left: -5px;
    vertical-align: middle;
    padding: 4px 10px;
}

/* 작성자 액션 버튼 (상태 변경) */
.author-actions {
    background-color: #fff9f2;
    border: 1px solid #ffe8d6;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.author-actions .label {
    font-weight: 600;
    color: #333;
}

.status-badge-current {
    padding: 6px 12px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.status-판매중 { background-color: #28a745; }
.status-예약중 { background-color: #ff9f43; }
.status-판매완료 { background-color: #6c757d; }

.status-change-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-status-change {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-status-change:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
}

.for-sale { background-color: #28a745; }
.in-progress { background-color: #ff9f43; }
.sold-no-rating { background-color: #6c757d; }
.sold-with-rating { background-color: #ff7e36; }

/* 추천하기 버튼 섹션 */
.recommend-section {
    text-align: center;
    margin: 1px 0;
    padding: 1px 0;
    border-top: 0px solid #eee;
    border-bottom: 0px solid #eee;
}

.btn-recommend {
    padding: 10px 25px;
}

.post-body {
    padding: 20px 0;
    min-height: 200px;
    line-height: 1.8;
    font-size: 16px;
    border-bottom: 1px solid #dddfe2;
    margin-bottom: 30px;
}

.post-image {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.post-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.price-value {
    font-size: 26px;
    font-weight: 700;
    color: #ff7e36;
}

.button-group {
    text-align: center;
    margin-top: 30px;
}

.button-group a, .button-group button {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
}

.btn-list {
    background-color: #fff5ee;
    color: #d96824;
    border: 1px solid #ffe8d6;
}

.btn-edit {
    background-color: #e66a26;
    color: white;
    border: none;
}

.btn-delete {
    background-color: #cc5500;
    color: white;
    border: none;
}

.btn-comment {
    background-color: #ff7e36;
    color: white;
    border: none;
}

.btn-message {
    background-color: #ff9f43;
    color: white;
    border: none;
}

.btn-report {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 댓글 영역 래퍼 */
.comment-area-wrapper {
    margin-top: 5px;
    padding: 10px 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.comment-area-wrapper h2 {
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* 댓글 폼 */
.comment-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.comment-input-wrapper textarea {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #dddfe2;
    border-radius: 5px;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 500;
    color: #1c1e21;
    transition: border-color 0.2s ease-in-out;
}

.comment-input-wrapper textarea:focus {
    outline: none;
    border-color: #ff7e36;
}

.comment-input-wrapper button {
    flex-shrink: 0;
    width: 100px;
    background-color: #ff7e36;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

/* 답글 입력창 */
.reply-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
    padding-left: 25px;
}

.reply-input-wrapper textarea {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #dddfe2;
    border-radius: 5px;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 500;
    color: #1c1e21;
    transition: border-color 0.2s ease-in-out;
}

.reply-input-wrapper textarea:focus {
    outline: none;
    border-color: #ff7e36;
}

.reply-input-wrapper button {
    flex-shrink: 0;
    width: 100px;
    background-color: #ff7e36;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

/* 댓글 목록 */
.comment-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.comment-item {
    background-color: #ffffff;
    padding: 8px 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-item.reply {
    padding-left: 25px;
    margin-left: 15px;
    border-left: 3px solid #e9ecef;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #606770;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 700;
    color: #333;
    margin-right: 8px;
}

.comment-content-wrapper {
    padding: 5px 0;
}

.comment-text {
    margin: 0;
    line-height: 1.7;
}

.comment-actions {
    font-size: 13px;
}

.comment-actions button, .comment-actions a {
    background: none;
    border: none;
    color: #1877f2;
    cursor: pointer;
    font-size: 13px;
    padding: 0 5px;
    text-decoration: none;
}

.no-comments {
    text-align: center;
    color: #606770;
    padding: 15px;
}

/* 댓글 페이지네이션 스타일 */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    text-decoration: none;
    color: #606770;
    background-color: #fff;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link.active {
    background-color: #ff7e36;
    color: white;
    border-color: #ff7e36;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pagination .page-link:hover:not(.active) {
    border-color: #ff7e36;
    color: #ff7e36;
}

.comment-pagination {
    margin-top: 20px;
}

/* 쪽지 보기 페이지 스타일 */
.view-message-container {
    max-width: 800px;
    margin: 30px auto;
}

.message-header {
    border-bottom: 1px solid #dddfe2;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.message-header h1 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.message-meta {
    color: #606770;
    font-size: 14px;
    line-height: 1.6;
}

.message-content {
    padding: 20px 0;
    min-height: 150px;
    line-height: 1.8;
}

.view-message-container .button-group a, 
.view-message-container .button-group button {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
    border: none;
}

.view-message-container .btn-list {
    background-color: #6c757d;
    color: white;
}

.view-message-container .btn-reply {
    background-color: #ff7e36;
    color: white;
}

.view-message-container .btn-delete {
    background-color: #e66a26;
    color: white;
}

.view-message-container .btn-report {
    background-color: #ffc107;
    color: #212529;
}

/* 게시글 이미지 컨테이너 */
.post-images-container {
    margin: 20px 0;
}

/* 반응형 디자인 (모바일 767px 이하) */
@media (max-width: 767px) {
    .view-container {
        padding: 20px 15px;
        margin: 15px auto;
    }

    .post-header h1 {
        font-size: 22px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .author-actions {
        padding: 10px;
    }

    .post-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-value {
        font-size: 22px;
    }

    .post-body {
        font-size: 15px;
        min-height: 150px;
    }

    .button-group {
        display: grid;
        grid-auto-flow: column;
        gap: 10px;
    }

    .button-group a, .button-group button {
        padding: 12px 5px;
        font-size: 15px;
        margin: 0;
    }

    .button-group .btn-list {
        background-color: #6c757d;
        color: white;
        border: none;
    }

    .button-group .btn-message {
        background-color: #6c5ce7;
        color: white;
        border: none;
    }

    .button-group .btn-edit {
        background-color: #ff7e36;
        color: white;
        border: none;
    }

    .button-group .btn-delete {
        background-color: #e66a26;
        color: white;
        border: none;
    }

    .button-group .btn-report {
        background-color: #dc3545;
        color: white;
        border: none;
    }

    .comment-pagination {
        margin-top: 15px;
    }

    .comment-form {
        margin-top: 0;
    }

    /* 모바일 댓글 입력창 - 수직 정렬 */
    .comment-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .comment-input-wrapper textarea {
        min-height: 80px;
        padding-right: 10px;
    }

    .comment-input-wrapper button {
        width: 100%;
        padding: 12px 16px;
        height: auto;
        position: static;
    }

    /* 모바일 답글 입력창 - 수직 정렬 */
    .reply-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .reply-input-wrapper textarea {
        min-height: 80px;
        padding-right: 10px;
    }

    .reply-input-wrapper button {
        width: 100%;
        padding: 12px 16px;
        height: auto;
        position: static;
    }

    /* 쪽지 보기 페이지 반응형 */
    .view-message-container {
        padding: 20px 15px;
        box-sizing: border-box;
        margin: 15px auto;
    }

    .message-header h1 {
        font-size: 20px;
    }

    .message-content {
        font-size: 15px;
        min-height: 120px;
    }

    .view-message-container .button-group {
        grid-template-columns: 1fr 1fr;
    }
}

/* 데스크톱 전용 스타일 (768px 이상) */
@media (min-width: 768px) {
    body.view-item .main-container {
        flex: 1;
        width: calc(100% - 284px);
        padding: 20px;
        margin: 0;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
    }

    body.view-item .post-header {
        padding: 0 0 16px 0;
        border-bottom: 2px solid #f0f0f0;
        margin-bottom: 16px;
    }

    body.view-item .post-header h1 {
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 12px 0;
        line-height: 1.4;
    }

    body.view-item .status-badge {
        font-size: 12px;
        padding: 4px 10px;
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
    }

    body.view-item .post-meta {
        display: flex;
        gap: 20px;
        font-size: 14px;
        color: #666;
        margin-bottom: 12px;
    }

    body.view-item .post-body {
        padding: 20px 0;
        font-size: 16px;
        line-height: 1.8;
    }

    body.view-item .price-block {
        padding: 16px;
        margin: 16px 0;
        background: #f9f9f9;
        border-left: 4px solid #ff7e36;
        border-radius: 4px;
    }

    body.view-item .image-gallery {
        margin: 20px 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    body.view-item .image-gallery img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }

    body.view-item .post-actions {
        display: flex;
        gap: 12px;
        padding: 20px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        margin: 20px 0;
    }

    body.view-item .post-footer-actions {
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
    }

    body.view-item .comments-section {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 2px solid #f0f0f0;
    }

    body.view-item .comments-section h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 20px 0;
    }

    body.view-item .comment-form {
        margin-bottom: 30px;
        padding: 16px;
        background: #f9f9f9;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }

    body.view-item .comment-form textarea {
        width: 100%;
        min-height: 100px;
        font-size: 14px;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 12px;
        resize: vertical;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    body.view-item .comment-form button {
        float: right;
        padding: 10px 24px;
        font-size: 14px;
        border-radius: 12px;
        border: none;
        cursor: pointer;
    }

    body.view-item .comment {
        padding: 16px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    body.view-item .comment:last-child {
        border-bottom: none;
    }

    body.view-item .comment-pagination {
        margin-top: 24px;
        text-align: center;
    }

    body.view-item .comment-pagination a {
        padding: 8px 12px;
        margin: 0 4px;
        background: #f0f0f0;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }

    body.view-item .comment-pagination a:hover,
    body.view-item .comment-pagination a.active {
        background: #ff7e36;
        color: white;
    }

    body.view-item table {
        width: 100%;
        border-collapse: collapse;
        margin: 16px 0;
    }

    body.view-item table th,
    body.view-item table td {
        border: 1px solid #e0e0e0;
        padding: 12px;
        text-align: left;
    }

    body.view-item table th {
        background: #f5f5f5;
        font-weight: 600;
    }
}

/* ===== 폼 및 입력 그룹 스타일 (commu_edit_item.php, commu_register.php 등) ===== */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
    color: #1c1e21;
    transition: border-color 0.2s ease-in-out;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: #6c5ce7;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== 폼 버튼 스타일 ===== */
.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-buttons button,
.form-buttons a {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-register-item {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-register-item:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-register-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.2);
}

.btn-back-to-list {
    background-color: #6c757d;
    color: white;
}

.btn-back-to-list:hover {
    background-color: #5a6268;
}

/* ===== 이미지 업로드 스타일 ===== */
.image-upload-container {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.image-preview-box {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-box .delete-image-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.image-upload-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed #6c5ce7;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #6c5ce7;
    font-size: 12px;
}

/* ===== 카테고리 버튼 선택 스타일 ===== */
.category-button-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.category-btn {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.category-btn.active {
    background-color: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
    font-weight: 600;
}

/* ===== 2열 레이아웃 (게시글 작성/수정 페이지) ===== */
.commu-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

.commu-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: visible;
    position: sticky;
    top: 80px;
}

/* 등록/수정 페이지 본문 컨테이너 개선 */
.commu-layout .register-container,
.commu-intro-layout .register-container {
    max-width: 100%;
    margin: 0;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.commu-layout .register-container h1,
.commu-intro-layout .register-container h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #6c5ce7;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 게시물 수정 페이지 아이콘 */
body.commupharm-page.edit-item-page .register-container h1::before {
    content: '✏️';
    font-size: 28px;
}

/* 게시물 작성 페이지 아이콘 */
body.commupharm-page.register-item-page .register-container h1::before {
    content: '✍️';
    font-size: 28px;
}

/* 레이아웃 반응형 */
@media (max-width: 1024px) {
    .commu-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .commu-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .commu-layout {
        margin: 20px auto;
        padding: 0 16px;
    }
    .commu-layout .register-container,
    .commu-intro-layout .register-container {
        padding: 24px 18px;
        border-radius: 12px;
    }
    .commu-layout .register-container h1,
    .commu-intro-layout .register-container h1 {
        font-size: 20px;
        padding-bottom: 12px;
    }
    .commu-layout .register-container h1::before,
    .commu-intro-layout .register-container h1::before {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .commu-layout .register-container,
    .commu-intro-layout .register-container {
        padding: 20px 15px;
    }
    .commu-layout .register-container h1,
    .commu-intro-layout .register-container h1 {
        font-size: 18px;
    }
}

/* 링크 복사 버튼 */
.copy-link-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin-left: 10px;
    vertical-align: middle;
    transition: opacity 0.2s;
}

.copy-link-btn:hover {
    opacity: 0.7;
}
