/* 마이페이지 전용 CSS */

/* 마이페이지 전체 배경을 흰색으로 */
body {
    background-color: #ffffff !important;
}

.mypage-container {
    min-height: 100vh;
    background-color: #ffffff;
    padding: 2rem 0;
}

/* 프로필 카드 스타일 */
.profile-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.profile-card:hover {
    transform: translateY(-2px);
}

/* 내 정보 카드 특별 스타일 */
.card-header.bg-white {
    background: #f8f9fa !important;
    border-bottom: 2px solid #007bff !important;
}

.card-header.bg-white h5 {
    color: #212529 !important;
    font-weight: 600;
}

.card-header.bg-white .bi-person-circle {
    color: #007bff !important;
}

/* 프로필 정보 텍스트 스타일 */
#profileInfo .text-dark {
    color: #212529 !important;
    font-weight: 500;
}

#profileInfo h5 {
    color: #000000 !important;
    font-weight: 700;
}

#profileInfo p {
    color: #343a40 !important;
    font-weight: 500;
}

#profileInfo small {
    color: #495057 !important;
    font-weight: 400;
}

#profileInfo .bi-person-circle {
    color: #007bff !important;
}

/* 회원 탈퇴 경고 메시지 스타일 */
.withdraw-warning {
    padding: 1rem 0;
    line-height: 1.6;
}

.withdraw-warning .text-danger {
    font-size: 1.1rem;
    font-weight: 700;
}

.withdraw-warning .text-dark {
    font-size: 1rem;
    font-weight: 500;
}

/* 통계 카드 스타일 */
.stats-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-card small {
    opacity: 0.9;
}

/* 메뉴 카드 스타일 */
.menu-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.menu-card .card-body {
    padding: 2rem 1.5rem;
}

.menu-card i {
    margin-bottom: 1rem;
}

.menu-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.menu-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* 폼 스타일 */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group .btn {
    border-left: none;
}

/* 버튼 스타일 */
.btn-primary {
    background: #007bff;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    color: #212529;
    box-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #c69500 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
}

/* 카드 헤더 스타일 */
.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.card-header h5 {
    margin-bottom: 0;
    color: #495057;
}

/* 회원 탈퇴 카드 스타일 */
.border-danger {
    border-color: #dc3545 !important;
}

.border-danger .card-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

/* 알림 스타일 */
.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* 페이지네이션 스타일 */
.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.pagination .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* 로딩 스피너 스타일 */
.spinner-border {
    color: #007bff;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .mypage-container .container {
        padding: 0 15px;
    }
    
    .menu-card .card-body {
        padding: 1.5rem 1rem;
    }
    
    .stats-card h4 {
        font-size: 1.5rem;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mypage-container .card {
    animation: fadeInUp 0.6s ease-out;
}

.mypage-container .card:nth-child(2) {
    animation-delay: 0.1s;
}

.mypage-container .card:nth-child(3) {
    animation-delay: 0.2s;
}

.mypage-container .card:nth-child(4) {
    animation-delay: 0.3s;
}

/* 찜 목록 및 게시글 컨테이너 */
.wishlist-container,
.posts-container {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* 카드 호버 효과 */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 빈 상태 스타일 */
.text-center.p-5 {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.text-center.p-5 i {
    color: #dee2e6;
}

/* 버튼 그룹 스타일 */
.d-flex.gap-2 .btn {
    transition: all 0.2s ease;
}

.d-flex.gap-2 .btn:hover {
    transform: translateY(-1px);
}

/* 링크 스타일 */
a.text-decoration-none:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

/* 프로필 수정 모달 스타일 */
#profileEditModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#profileEditModal .modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

#profileEditModal .modal-title {
    font-weight: 600;
}

#profileEditModal .modal-body {
    padding: 2rem;
}

#profileEditModal .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

#profileEditModal .input-group {
    margin-bottom: 1rem;
}

#profileEditModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#profileEditModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

#profileEditModal .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    background: white;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

#profileEditModal .btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

#profileEditModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

#profileEditModal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#profileEditModal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

#profileEditModal .btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#profileEditModal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 닉네임 중복 확인 결과 스타일 */
#nicknameCheckResult {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
}

#nicknameCheckResult.text-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#nicknameCheckResult.text-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 닉네임 입력 필드와 중복확인 버튼 간격 조정 */
#profileEditModal .input-group .form-control {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#profileEditModal .input-group .btn-outline-primary {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0;
}

/* 모달 애니메이션 */
#profileEditModal .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

#profileEditModal.show .modal-dialog {
    transform: scale(1);
}

/* 반응형 모달 */
@media (max-width: 480px) {
    #profileEditModal .modal-body {
        padding: 1.5rem;
    }
    
    #profileEditModal .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    #profileEditModal .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* 찜 목록 전용 스타일 */
/* ======================================== */

.wishlist-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.wishlist-container .container {
    max-width: 1200px;
}

/* 찜 목록 헤더 */
.wishlist-container h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0;
    /* 호버 효과 제거 */
    transition: none;
}

.wishlist-container h2:hover {
    transform: none;
    color: #2c3e50;
}

/* 카테고리 필터 */
.wishlist-container .category-filter {
    background: transparent;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: none;
}

.wishlist-container .category-filter-btn {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wishlist-container .category-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.wishlist-container .category-filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.wishlist-container .category-filter-btn.marker-club { 
    background: linear-gradient(135deg, #9c27b0, #ba68c8); 
    color: #fff; 
}

.wishlist-container .category-filter-btn.marker-hunting { 
    background: linear-gradient(135deg, #f44336, #ef5350); 
    color: #fff; 
}

.wishlist-container .category-filter-btn.marker-lounge { 
    background: linear-gradient(135deg, #4caf50, #66bb6a); 
    color: #fff; 
}

.wishlist-container .category-filter-btn.marker-pocha { 
    background: linear-gradient(135deg, #8d6e63, #a1887f); 
    color: #fff; 
}

.wishlist-container .category-filter-btn.marker-guesthouse { 
    background: linear-gradient(135deg, #2196f3, #42a5f5); 
    color: #fff; 
}

.wishlist-container .category-filter-btn:not(.active):hover {
    transform: translateY(-2px) scale(1.03);
}

.wishlist-container h2 .text-primary {
    color: #007bff !important;
    font-size: 2.5rem;
}

/* 찜 목록 카드 스타일 */
.wishlist-container .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: none;
    overflow: hidden;
    height: 100%;
}

/* 카드 자체 호버 효과 제거 */
.wishlist-container .card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 카드 헤더 */
.wishlist-container .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 1rem 1.5rem;
    text-align: center;
}

/* 카테고리별 카드 헤더 색상 */
.wishlist-container .card-header.category-club {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

.wishlist-container .card-header.category-hunting {
    background: linear-gradient(135deg, #f44336, #ef5350);
}

.wishlist-container .card-header.category-lounge {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.wishlist-container .card-header.category-pocha {
    background: linear-gradient(135deg, #8d6e63, #a1887f);
}

/* 게시글 타입별 카드 헤더 색상 */
.posts-container .card-header.category-course {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
}

.posts-container .card-header.category-hottalk {
    background: linear-gradient(135deg, #ff9ec7, #f48fb1) !important;
}

/* 게시글 타입별 버튼 색상 */
.posts-container .btn.category-course {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    border-color: #007bff !important;
    color: white !important;
}

.posts-container .btn.category-hottalk {
    background: linear-gradient(135deg, #ff9ec7, #f48fb1) !important;
    border-color: #f48fb1 !important;
    color: white !important;
}

.wishlist-container .card-header h6 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 카드 바디 */
.wishlist-container .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 정보 아이콘과 텍스트 */
.wishlist-container .d-flex.align-items-start,
.wishlist-container .d-flex.align-items-center {
    margin-bottom: 0.8rem;
}

.wishlist-container .bi-calendar3 {
    font-size: 1rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.wishlist-container .d-flex.align-items-center:hover .bi-calendar3 {
    color: #007bff;
    transform: scale(1.1);
}

.wishlist-container .text-primary.me-2 {
    color: #007bff !important;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.wishlist-container .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 버튼 그룹 */
.wishlist-container .mt-auto {
    margin-top: auto;
}

.wishlist-container .d-grid.gap-2 {
    gap: 0.75rem !important;
}

/* 지도에서 보기 버튼 */
.wishlist-container .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 카테고리별 지도에서 보기 버튼 색상 */
.wishlist-container .btn-primary.category-club {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    box-shadow: 0 3px 10px rgba(156, 39, 176, 0.3);
}

.wishlist-container .btn-primary.category-hunting {
    background: linear-gradient(135deg, #f44336, #ef5350);
    box-shadow: 0 3px 10px rgba(244, 67, 54, 0.3);
}

.wishlist-container .btn-primary.category-lounge {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.wishlist-container .btn-primary.category-pocha {
    background: linear-gradient(135deg, #8d6e63, #a1887f);
    box-shadow: 0 3px 10px rgba(141, 110, 99, 0.3);
}

.wishlist-container .btn-primary img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.wishlist-container .btn-primary:hover img {
    transform: scale(1.1);
}

.wishlist-container .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 찜 해제 버튼 */
.wishlist-container .btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-container .btn-outline-danger .bi-heart-fill {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.wishlist-container .btn-outline-danger:hover .bi-heart-fill {
    transform: scale(1.2);
    animation: heartBeat 0.6s ease-in-out;
}

.wishlist-container .btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* 로딩 상태 */
.wishlist-container .spinner-border {
    color: #007bff;
    width: 3rem;
    height: 3rem;
}

.wishlist-container .text-muted {
    color: #6c757d !important;
}

/* 빈 상태 스타일 */
.wishlist-container .text-center.p-5 {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.wishlist-container .text-center.p-5 .card {
    border: none;
    box-shadow: none;
}

.wishlist-container .text-center.p-5 .card-body {
    padding: 3rem 2rem;
}

.wishlist-container .text-center.p-5 span {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.wishlist-container .text-center.p-5 h4 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

.wishlist-container .text-center.p-5 p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.wishlist-container .text-center.p-5 .btn-lg {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    margin: 0 0.5rem;
}

/* 페이지네이션 */
.wishlist-container #pagination {
    margin-top: 3rem;
}

.wishlist-container .pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wishlist-container .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.wishlist-container .pagination .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #007bff;
    transform: translateY(-1px);
}

/* 에러 알림 */
.wishlist-container .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.wishlist-container .alert-danger i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wishlist-container {
        padding: 1rem 0;
    }
    
    .wishlist-container h2 {
        font-size: 1.8rem;
    }
    
    .wishlist-container h2 .text-primary {
        font-size: 2rem;
    }
    
    .wishlist-container .category-filter {
        padding: 1rem;
    }
    
    .wishlist-container .category-filter-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: 0 0.3rem;
    }
    
    .wishlist-container .card-body {
        padding: 1rem;
    }
    
    .wishlist-container .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .wishlist-container .text-center.p-5 .card-body {
        padding: 2rem 1rem;
    }
    
    .wishlist-container .text-center.p-5 .btn-lg {
        padding: 0.8rem 1.5rem;
        margin: 0.5rem;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wishlist-container .container {
        padding: 0 15px;
    }
    
    .wishlist-container .col-md-6.col-lg-4 {
        margin-bottom: 1rem;
    }
    
    .wishlist-container .card-header h6 {
        font-size: 1rem;
    }
    
    .wishlist-container .text-muted {
        font-size: 0.85rem;
    }
}

/* 애니메이션 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.wishlist-container .card {
    animation: slideInUp 0.6s ease-out;
}

.wishlist-container .card:nth-child(1) { animation-delay: 0.1s; }
.wishlist-container .card:nth-child(2) { animation-delay: 0.2s; }
.wishlist-container .card:nth-child(3) { animation-delay: 0.3s; }
.wishlist-container .card:nth-child(4) { animation-delay: 0.4s; }
.wishlist-container .card:nth-child(5) { animation-delay: 0.5s; }
.wishlist-container .card:nth-child(6) { animation-delay: 0.6s; }

/* 카드 호버 효과 제거 */
.wishlist-container .card::before {
    display: none;
}

/* 개인 메모 섹션 스타일 */
.wishlist-container .personal-note-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
}

.wishlist-container .note-content {
    min-height: 20px;
}

.wishlist-container .note-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-all;
}

.wishlist-container .note-placeholder {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.85rem;
}

.wishlist-container .personal-note-section .btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.wishlist-container .personal-note-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 메모 편집 모달 스타일 */
#noteEditModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#noteEditModal .modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

#noteEditModal .modal-title {
    font-weight: 600;
}

#noteEditModal .modal-body {
    padding: 1.5rem;
}

#noteEditModal .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

#noteEditModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
}

#noteEditModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

#noteEditModal .form-text {
    text-align: right;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

#noteEditModal .form-text .text-danger {
    font-weight: 600;
}

#noteEditModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#noteEditModal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#noteEditModal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

#noteEditModal .btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#noteEditModal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 버튼 호버 효과 */
.wishlist-container .btn {
    position: relative;
    overflow: hidden;
}

.wishlist-container .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.wishlist-container .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ======================================== */
/* 게시글 목록 전용 스타일 - 모던 대기업 스타일 */
/* ======================================== */

.posts-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    position: relative;
}



.posts-container .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* 게시글 목록 헤더 - 모던한 타이포그래피 */
.posts-container h2 {
    color: #1a1a1a;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}



.posts-container h2 .text-primary {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* 게시글 타입 필터 - 투명 배경 */
.posts-container .post-type-filter {
    background: transparent;
    border-radius: 20px;
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.posts-container .post-type-filter-btn {
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}



.posts-container .post-type-filter-btn.marker-course { 
    background: transparent;
    color: #6c757d;
    border: 2px solid #007bff;
}

.posts-container .post-type-filter-btn.marker-hottalk { 
    background: transparent;
    color: #6c757d;
    border: 2px solid #f48fb1;
}

.posts-container .post-type-filter-btn:hover {
    transform: translateY(-2px);
}

.posts-container .post-type-filter-btn.active {
    transform: scale(1.05);
}

/* 코스 버튼 호버 상태 */
.posts-container .post-type-filter-btn.marker-course:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 코스 버튼 활성화 상태 */
.posts-container .post-type-filter-btn.marker-course.active {
    background: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

/* 핫톡 버튼 호버 상태 */
.posts-container .post-type-filter-btn.marker-hottalk:hover {
    background: #f48fb1 !important;
    color: #fff !important;
    border-color: #f48fb1 !important;
}

/* 핫톡 버튼 활성화 상태 */
.posts-container .post-type-filter-btn.marker-hottalk.active {
    background: #f48fb1 !important;
    color: #fff !important;
    border-color: #f48fb1 !important;
}

/* 게시글 목록 카드 스타일 - 모던한 카드 디자인 */
.posts-container .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== MD 찜 목록 스타일 ===== */
.mdwish-container {
    padding: 2rem 0;
}

.mdwish-container h2 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.mdwish-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* MD 카드 스타일 */
.clubmd-md-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.clubmd-md-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.clubmd-md-card-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 1rem;
    position: relative;
}

.clubmd-md-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.clubmd-md-wish-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.clubmd-md-wish-btn.wished i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.clubmd-md-card-body {
    padding: 1.5rem;
}

.clubmd-md-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 1rem;
    text-align: center;
}

.clubmd-md-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clubmd-md-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.clubmd-md-photo-placeholder i {
    font-size: 5.5rem;
    color: #ffb3d9;
}

.clubmd-md-info {
    text-align: center;
}

.clubmd-md-name {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.clubmd-md-place {
    margin-bottom: 0.5rem;
}

.clubmd-place-name {
    color: #34495e;
    font-weight: 600;
    font-size: 1rem;
}

.clubmd-place-address {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.clubmd-md-contact {
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.clubmd-md-contact i {
    color: #3498db;
}

.clubmd-md-description {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clubmd-md-date,
.clubmd-md-wish-date {
    color: #95a5a6;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.clubmd-md-actions {
    padding: 0 1.5rem 1.5rem;
}

.clubmd-md-actions .btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clubmd-md-actions .btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
}

.clubmd-md-actions .btn-outline-primary:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

.clubmd-md-actions .btn-outline-danger {
    border-color: #e74c3c;
    color: #e74c3c;
}

.clubmd-md-actions .btn-outline-danger:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* 페이지네이션 스타일 */
.mdwish-container .pagination {
    margin-top: 2rem;
}

.mdwish-container .page-link {
    color: #3498db;
    border-color: #dee2e6;
    padding: 0.5rem 0.75rem;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mdwish-container .page-link:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

.mdwish-container .page-item.active .page-link {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* 로딩 스피너 */
.mdwish-container .spinner-border {
    color: #3498db;
}

/* 데이터 없음 메시지 */
.mdwish-container #noDataMessage {
    text-align: center;
    padding: 3rem 1rem;
}

.mdwish-container #noDataMessage i {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.mdwish-container #noDataMessage h5 {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.mdwish-container #noDataMessage p {
    color: #95a5a6;
    margin-bottom: 1.5rem;
}

.mdwish-container #noDataMessage .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mdwish-container #noDataMessage .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 로딩 상태 - 모던한 스피너 */
.posts-container .spinner-border {
    color: #007bff;
    width: 3.5rem;
    height: 3.5rem;
    border-width: 0.3rem;
}

/* 빈 상태 스타일 - 프리미엄 디자인 */
.posts-container .text-center.p-5 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 2rem !important;
}

.posts-container .text-center.p-5 .card {
    border: none;
    box-shadow: none;
    background: transparent;
}

.posts-container .text-center.p-5 .card-body {
    padding: 0;
    background: transparent;
}

.posts-container .text-center.p-5 span {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.posts-container .text-center.p-5 h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.posts-container .text-center.p-5 p {
    color: #6c757d;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.posts-container .text-center.p-5 .btn-lg {
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    border-radius: 15px;
    margin: 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* 페이지네이션 - 모던한 디자인 */
.posts-container #pagination {
    margin-top: 4rem;
}

.posts-container .pagination .page-link {
    color: #007bff;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.25rem;
    margin: 0 0.3rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.posts-container .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: scale(1.1);
}

.posts-container .pagination .page-link:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* 에러 알림 - 모던한 알림 디자인 */
.posts-container .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: none;
    color: #721c24;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
    border-left: 5px solid #dc3545;
}

.posts-container .alert-danger i {
    color: #dc3545;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* 반응형 디자인 - 모바일 최적화 */
@media (max-width: 768px) {
    .posts-container {
        padding: 2rem 0;
    }
    
    .posts-container h2 {
        font-size: 2rem;
    }
    
    .posts-container .post-type-filter {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .posts-container .post-type-filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.25rem;
        min-width: 100px;
    }
    
    .posts-container .card-body {
        padding: 1.5rem;
    }
    
    .posts-container .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .posts-container .text-center.p-5 {
        padding: 3rem 1.5rem !important;
        margin: 2rem 0;
    }
    
    .posts-container .text-center.p-5 .btn-lg {
        padding: 1rem 2rem;
        margin: 0.5rem;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .posts-container .container {
        padding: 0 15px;
    }
    
    .posts-container .col-md-6.col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .posts-container .card-header h6 {
        font-size: 1.1rem;
    }
    
    .posts-container .text-muted {
        font-size: 0.9rem;
    }
    
    .posts-container .post-type-filter-btn {
        min-width: 90px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* 애니메이션 - 부드러운 전환 효과 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.posts-container .card {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.posts-container .card:nth-child(1) { animation-delay: 0.1s; }
.posts-container .card:nth-child(2) { animation-delay: 0.2s; }
.posts-container .card:nth-child(3) { animation-delay: 0.3s; }
.posts-container .card:nth-child(4) { animation-delay: 0.4s; }
.posts-container .card:nth-child(5) { animation-delay: 0.5s; }
.posts-container .card:nth-child(6) { animation-delay: 0.6s; }

/* 카드 호버 효과 제거 */
.posts-container .card::before {
    display: none;
}

/* 추가 모던 효과 */
.posts-container .card {
    position: relative;
}


