/* --- PC 화면 기준 글씨 크기 조정 코드가 상단에 추가되었습니다 --- */
html {
    font-size: 13px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px; /* PC/태블릿에서는 기준 글씨 크기를 키웁니다 */
    }
}

body { 
    font-family: 'Inter', 'Noto Sans KR', sans-serif; 
}

/* START: 링크 오류 해결을 위한 스타일 추가 */
.content-loading {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}
/* END: 링크 오류 해결을 위한 스타일 추가 */

.font-handwriting {
    font-family: 'Caveat', cursive;
}

img { 
    max-width: 100%; 
    height: auto; 
}

.auth-loading {
    visibility: hidden;
}

.gradient-text {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.3;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.section-subtitle {
    font-size: 1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.btn-primary {
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background-color: #2563eb; }
.btn-primary:disabled { background-color: #9ca3af; cursor: not-allowed; }

/* 본문 빠른 아이콘 */
.quick-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    transition: transform 0.2s, color 0.2s;
}
.quick-icon:hover {
    transform: translateY(-3px);
    color: #3b82f6;
}
.quick-icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.mobile-quick-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
}
.mobile-quick-icon-circle {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}
.mobile-quick-icons {
    gap: 0.5rem;
}

/* 헤더 미니 빠른 아이콘 */
.header-quick-icon {
    transition: transform 0.2s;
}
.header-quick-icon:hover {
    transform: translateY(-3px);
}
.header-quick-icon-circle {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

/* 스크롤에 따른 메뉴 교체 로직 */
#main-header:not(.header-scrolled) #header-quick-icons {
    display: none;
}
#main-header.header-scrolled #main-nav-texts {
    display: none;
}
#main-header.header-scrolled #header-quick-icons {
    display: flex;
}

.image-zoom-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}
.scroll-zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s linear;
    transform: scale(1.02);
}

.hero-swiper {
    width: 100%;
    height: 50vh;
}
@media (min-width: 768px) {
    .hero-swiper { height: 60vh; }
}
.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-swiper .swiper-pagination-bullet-active {
    background-color: white;
}

#hero-text-container {
    width: 90%;
    max-width: 75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#hero-title {
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white;
}
#hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    font-weight: 500;
    max-width: 50rem;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: white;
}


.hero-highlight-text {
    color: #1E90FF;
    font-weight: 800;
}

.flights-swiper, .community-swiper, .community-preview-swiper {
    width: 100%;
    overflow: hidden;
}

.info-section-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.country-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.country-tab {
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background-color: white;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    text-align: center;
    flex-grow: 1;
    min-width: 80px; 
}
.country-tab:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}
.country-tab.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    font-weight: 700;
}
.info-section-right {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.info-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .flights-swiper, .community-swiper, .community-preview-swiper {
        overflow: visible;
    }
    .flights-swiper .swiper-wrapper, 
    .community-swiper .swiper-wrapper,
    .community-preview-swiper .swiper-wrapper { 
        display: grid;
        gap: 1.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
    .flights-swiper .swiper-slide,
    .community-swiper .swiper-slide,
    .community-preview-swiper .swiper-slide {
        width: auto;
    }
}

[data-key="kakaoIconUrl"] { width: 11.25rem; height: auto; }

@media (max-width: 767px) {
    .swiper-wrapper { display: flex; }
    .swiper-slide { flex-shrink: 0; }
    #main-header nav .logo-container { position: absolute; left: 50%; transform: translateX(-50%); }
    [data-key="kakaoIconUrl"] { width: 8.75rem; }
    #quick-icon-section { display: block; }
    #quick-icon-section .quick-icon-circle { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
    #quick-icon-section .quick-icon span { font-size: 0.75rem; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
    #hero-title { font-size: 2.75rem; }
    #hero-subtitle { font-size: 1.25rem; }
    .info-section-container { display: block; }
    .info-section-left { margin-bottom: 2rem; }
    .country-tab-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .country-tab { padding: 0.75rem 0.25rem; font-size: 0.9rem; }
    .info-section-right { grid-template-columns: repeat(3, 1fr); font-size: 0.8em; }
    .info-card { padding: 0.75rem; min-height: 80px; display: flex; flex-direction: column; justify-content: center; }
    .info-card .text-lg { font-size: 1rem; line-height: 1.25rem; word-break: keep-all; }
    .prose { max-width: 100%; }
    .prose img { border-radius: 0.5rem; }
}

.polaroid-card {
    background: white;
    padding: 0.5rem;
    padding-bottom: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.community-preview-swiper .swiper-slide:nth-child(6n+1) .polaroid-card { transform: rotate(-3deg); }
.community-preview-swiper .swiper-slide:nth-child(6n+2) .polaroid-card { transform: rotate(2deg); }
.community-preview-swiper .swiper-slide:nth-child(6n+3) .polaroid-card { transform: rotate(-1deg); }
.community-preview-swiper .swiper-slide:nth-child(6n+4) .polaroid-card { transform: rotate(3deg); }
.community-preview-swiper .swiper-slide:nth-child(6n+5) .polaroid-card { transform: rotate(-2deg); }
.community-preview-swiper .swiper-slide:nth-child(6n+6) .polaroid-card { transform: rotate(1deg); }

.polaroid-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
}

.polaroid-card img { width: 100%; height: 8rem; object-fit: cover; }
.polaroid-caption { margin-top: 0.5rem; text-align: center; }
.polaroid-caption .title { font-family: 'Caveat', cursive; font-size: 1.1rem; font-weight: bold; color: #333; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid-caption .author { font-size: 0.75rem; color: #666; }

@media (min-width: 768px) {
    .polaroid-card { padding: 1rem; padding-bottom: 0.5rem; }
    .polaroid-card img { height: 12rem; }
    .polaroid-caption { margin-top: 1rem; }
    .polaroid-caption .title { font-size: 1.5rem; }
    .polaroid-caption .author { font-size: 1rem; }
}

.community-tabs { border-bottom: 2px solid #e5e7eb; margin-bottom: 2rem; }
.community-tabs nav { display: flex; gap: 2rem; }
.community-tabs .tab-button { padding: 1rem 0.5rem; font-size: 1.125rem; font-weight: 600; color: #6b7280; background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.community-tabs .tab-button:hover { color: #3b82f6; }
.community-tabs .tab-button.active { color: #3b82f6; border-color: #3b82f6; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.star-rating .fa-star { color: #d1d5db; cursor: pointer; transition: color 0.2s; font-size: 1.75rem; }
.star-rating .fa-star.selected,
.star-rating .fa-star:hover,
.star-rating .fa-star:hover ~ .fa-star { color: #f59e0b; }
.star-rating:hover .fa-star { color: #f59e0b; }
.star-rating .fa-star:hover ~ .fa-star { color: #d1d5db; }

.community-title-tabs { 
    display: flex; 
    gap: 1rem; /* 버튼 사이 간격 */
    justify-content: center; 
    align-items: center; 
    margin-bottom: 3rem; 
}

.title-tab-button { 
    font-size: 1.25rem; /* 글씨 크기 조정 */
    font-weight: 700; 
    padding: 0.75rem 2rem; /* 내부 여백 */
    transition: all 0.2s ease; 
    cursor: pointer; 
    border-radius: 9999px; /* 둥근 모양 */
    border: 2px solid #e5e7eb; /* 기본 테두리 */
    background-color: #ffffff; /* 기본 배경색 */
    color: #4b5563; /* 기본 글자색 */
}

.title-tab-button:hover { 
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.title-tab-button.active { 
    background-color: #3b82f6; /* 활성화 배경색 */
    color: white; /* 활성화 글자색 */
    border-color: #3b82f6; /* 활성화 테두리색 */
}

@media (max-width: 640px) {
    .community-title-tabs { gap: 0.75rem; }
    .title-tab-button { font-size: 1rem; padding: 0.5rem 1.25rem; }
}

/* 소셜 로그인 버튼 */
.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-size: 1rem;
    gap: 0.75rem;
}
/* 비활성화된 소셜 로그인 버튼 스타일 */
.social-login-btn.disabled-btn {
    background-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}
.social-login-btn.disabled-btn:hover {
    background-color: #e5e7eb;
}

.social-login-btn .social-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem; /* 아이콘 크기 통일 */
}

.social-login-btn.google {
    background-color: #4285F4;
    color: white;
}
.social-login-btn.google:hover {
    background-color: #357ae8;
}

.social-login-btn.apple {
    background-color: #000;
    color: #fff;
}
.social-login-btn.apple:hover {
    background-color: #333;
}

.social-login-btn.naver {
    background-color: #03c75a;
    color: white;
}
.social-login-btn.naver:hover {
    background-color: #02b050;
}

.social-login-btn.kakao {
    background-color: #FEE500;
    color: #191919;
}
.social-login-btn.kakao:hover {
    background-color: #fdd800;
}

/* 관리자 대시보드 */
.admin-nav-link {
    padding: 0.75rem 1.25rem;
    color: #d1d5db;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}
.admin-nav-link:hover {
    color: white;
    background-color: #4b5563;
}
.admin-nav-link.active {
    color: white;
    border-color: #3b82f6;
}
.admin-table {
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.admin-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}
.admin-table tbody tr:last-child td {
    border-bottom: none;
}
.badge {
    padding: 0.25em 0.6em;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
}
.badge-superadmin { background-color: #fecaca; color: #991b1b; }
.badge-admin { background-color: #fee2e2; color: #b91c1c; }
.badge-user { background-color: #eff6ff; color: #1d4ed8; }

.content-tab-btn {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.content-tab-btn:hover {
    color: #111827;
}
.content-tab-btn.active {
    color: #3b82f6;
    border-color: #3b82f6;
}
/* START: 스켈레톤 로딩 UI 스타일 추가 */
.skeleton {
    background-color: #e2e8f0;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
/* END: 스켈레톤 로딩 UI 스타일 추가 */


/* START: Toastify 알림창 커스텀 스타일 추가 */
.toastify {
    padding: 12px 20px;
    color: #fff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.25);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    max-width: 300px;
    z-index: 2000;
}

.toastify.on {
    opacity: 1;
}

.toast-close {
    opacity: 0.4;
    padding: 0 5px;
}

.toastify-right {
    right: 15px;
}

.toastify-left {
    left: 15px;
}

.toastify-top {
    top: -150px;
}

.toastify-bottom {
    bottom: -150px;
}

.toastify-rounded {
    border-radius: 25px;
}

.toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px;
}

.toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
    max-width: -moz-fit-content;
}

.toastify.toast-success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}
.toastify.toast-info {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
}

.toastify.toast-error {
    background: linear-gradient(135deg, #F44336, #B71C1C);
}

@media only screen and (max-width: 360px) {
    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}
/* END: Toastify 알림창 커스텀 스타일 추가 */

/* 관리자 설정 페이지 아코디언 스타일 */
.accordion-header {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
    transition: background-color 0.2s;
}
.accordion-header:hover {
    background-color: #f3f4f6;
}
.accordion-item .rotate-180 {
    transform: rotate(180deg);
}

/* 관리자 플로팅 버튼 스타일 */
.admin-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.2s ease-in-out;
}
.admin-fab:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.admin-fab:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.admin-fab span {
    display: none;
}
@media (min-width: 768px) {
    .admin-fab span {
        display: inline;
    }
}

/* START: 2번 수정 (새로운 이미지 업로더 UI 스타일) */
.image-upload-container {
    position: relative;
    width: 128px; /* w-32 */
    height: 128px; /* h-32 */
}
.image-uploader-box {
    width: 100%;
    height: 100%;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}
.image-uploader-box:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}
.image-uploader-box .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.image-uploader-box .plus-icon {
    font-size: 2.5rem;
    color: #9ca3af;
    transition: transform 0.2s;
}
.image-uploader-box:hover .plus-icon {
    transform: scale(1.1);
    color: #3b82f6;
}
.image-uploader-box input[type="file"] {
    display: none;
}
.delete-image-btn {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background-color: rgba(239, 68, 68, 0.8);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}
.image-upload-container:hover .delete-image-btn {
    opacity: 1;
}
/* END: 2번 수정 (새로운 이미지 업로더 UI 스타일) */

/* START: 댓글 기능 UI 스타일 */
.comment-item {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #f9fafb;
}

.delete-comment-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 0.25rem;
}
.delete-comment-btn:hover {
    color: #ef4444;
}
/* END: 댓글 기능 UI 스타일 */

/* 드래그 앤 드랍 효과 스타일 */
.sortable-ghost {
    opacity: 0.4;
    background-color: #c8ebfb;
}

/* START: PC 게시물 이미지 크기 제한 */
.prose img {
    max-height: 70vh;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.75rem;
}
/* END: PC 게시물 이미지 크기 제한 */

/* START: TOAST UI 에디터 글자 크기 조정 */
.toastui-editor-contents {
    font-size: 16px;
}
/* END: TOAST UI 에디터 글자 크기 조정 */

/* START: 커뮤니티/리뷰 리스트 스타일 */
.post-list-item {
    display: flex;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.post-list-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}
.post-list-text {
    flex-grow: 1;
}
.post-list-text .rating {
    margin-bottom: 0.5rem;
    color: #f59e0b;
}
.post-list-text .post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}
.post-list-text .post-excerpt {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.post-list-text .post-meta {
    font-size: 0.8rem;
    color: #6b7280;
}
.post-list-image {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
    margin-left: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}
.post-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 640px) {
    .post-list-item {
        flex-direction: column;
    }
    .post-list-image {
        width: 100%;
        height: 150px;
        margin-left: 0;
        margin-top: 1rem;
    }
}
/* END: 커뮤니티/리뷰 리스트 스타일 */

/* START: TOAST UI 에디터 모바일 반응형 */
@media (max-width: 767px) {
    .toastui-editor-defaultUI {
        height: 400px !important;
    }
}
/* END: TOAST UI 에디터 모바일 반응형 */

/* START: 본문 링크 스타일 */
.prose a {
    color: #2563eb; /* Tailwind CSS blue-600 */
    text-decoration: underline;
}
.prose a:hover {
    color: #1d4ed8; /* Tailwind CSS blue-700 */
}
/* END: 본문 링크 스타일 */

/* START: 회원 관리 페이지 반응형 스타일 */
.user-card {
    display: block;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}
.user-card:hover {
    background-color: #f9fafb;
}
.user-card:last-child {
    border-bottom: none;
}
.user-card .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* 모바일 뷰: 두 줄 */
@media (max-width: 767px) {
    #user-list-container {
        padding: 0 1rem;
    }
    .user-card {
        padding: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }
    .user-card-row-1, .user-card-row-2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
     .user-card-row-2 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f3f4f6;
        grid-template-columns: repeat(4, 1fr);
     }
    .user-card-item {
        font-size: 0.9rem;
    }
}

/* PC 뷰: 한 줄 */
@media (min-width: 768px) {
    .user-card {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr 2fr 1fr 1fr 1fr;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
    }
    .user-card .label {
        display: none; /* PC에서는 라벨 숨김 */
    }
    .user-card-row-1, .user-card-row-2 {
        display: contents; /* grid의 자식 요소로 만듦 */
    }
    #user-list-container::before { /* 테이블 헤더 역할 */
        content: '';
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr 2fr 1fr 1fr 1fr;
        gap: 1rem;
        padding: 1rem;
        border-bottom: 2px solid #e5e7eb;
        font-weight: 600;
        color: #374151;
    }
    #user-list-container::before {
        content: '이름' '닉네임' '전화번호' '이메일' '가입일' '가입유형' '등급';
    }
}
/* END: 회원 관리 페이지 반응형 스타일 */