* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

header h1 {
    margin-bottom: 15px;
    color: #2c3e50;
}

nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    padding: 10px 20px;
    border: none;
    background: #ecf0f1;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #bdc3c7;
}

.nav-btn.active {
    background: #3498db;
    color: white;
}

/* Main Content */
main {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 600px;
}

/* 검색 영역 */
.search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

/* 버튼 스타일 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* 테이블 스타일 */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table thead {
    background: #34495e;
    color: white;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table tbody tr:hover {
    background: #f8f9fa;
    cursor: pointer;
}

table img {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 폼 스타일 */
.form-section {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

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

.form-group .checkbox-group {
    display: flex;
    gap: 20px;
}

.form-group .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* 파일 업로드 */
.file-upload-area {
    border: 2px dashed #ddd;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.file-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.file-preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.file-preview-item .thumbnail-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* 상세 페이지 */
.detail-section {
    max-width: 900px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #34495e;
}

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.detail-item .value {
    font-size: 15px;
    color: #333;
}

.detail-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-photos img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

/* 로딩 */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 반응형 */
@media (max-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr;
    }

    .search-row {
        flex-direction: column;
    }

    .search-field {
        min-width: 100%;
    }
}

/* 사용자 페이지 특화 스타일 */
.subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-top: 5px;
}

/* 체크박스 그룹 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* 음식 검색 결과 그리드 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.food-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.food-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.food-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.food-info {
    padding: 15px;
}

.food-info h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 18px;
}

.food-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: #ecf0f1;
    color: #333;
    border-radius: 3px;
    font-size: 12px;
}

.badge-meal {
    background: #3498db;
    color: white;
}

.badge-alcohol {
    background: #9b59b6;
    color: white;
}

.badge-hot {
    background: #e74c3c;
    color: white;
}

.badge-open {
    background: #3498db;
    color: white;
}

.badge-holiday {
    background: #95a5a6;
    color: white;
}

.badge-unknown {
    background: #bdc3c7;
    color: #2c3e50;
}

.badge-closed {
    background: #e74c3c;
    color: white;
}

.badge-preparing {
    background: #f39c12;
    color: white;
}

.store-link {
    color: #2c3e50;
    margin-top: 8px;
    cursor: pointer;
}

.store-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.store-link small {
    color: #7f8c8d;
    margin-left: 4px;
}

/* 같은 가게 다른 메뉴 */
.other-menus, .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.menu-card {
    width: 120px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.menu-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.menu-card span {
    display: block;
    padding: 8px;
    font-size: 13px;
    text-align: center;
    color: #2c3e50;
}

/* 반응형 */
@media (max-width: 768px) {
    .food-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* 이미지 슬라이드 뷰어 */
.image-slide-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 0.9) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 28px;
    font-weight: normal;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.slide-prev:hover,
.slide-next:hover {
    background: linear-gradient(135deg, rgba(41, 128, 185, 1) 0%, rgba(30, 100, 150, 1) 100%);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev:active,
.slide-next:active {
    transform: translateY(-50%) scale(0.95);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 768px) {
    .image-slide-content {
        padding: 40px 20px;
    }

    .slide-prev,
    .slide-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
        border-width: 1.5px;
    }

    .slide-prev {
        left: 10px;
    }

    .slide-next {
        right: 10px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    padding: 20px 0;
}

.pagination .btn {
    min-width: 40px;
    padding: 8px 12px;
}

.pagination .btn-sm {
    padding: 6px 10px;
    font-size: 13px;
}

.pagination .btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination .btn-primary {
    background: #3498db;
    color: white;
    font-weight: bold;
}

/* Menu Slider */
.menu-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-slider-wrapper {
    flex: 1;
    overflow: hidden;
}

.menu-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.menu-slider .menu-card {
    flex: 0 0 auto;
    width: 180px;
}

.menu-slider-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.menu-slider-btn:hover {
    background: #3498db;
    color: white;
}

.menu-slider-btn:active {
    transform: scale(0.95);
}

/* 반응형: 모바일에서 슬라이더 조정 */
@media (max-width: 768px) {
    .menu-slider .menu-card {
        width: 150px;
    }

    .menu-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* ========== 인증 관련 스타일 ========== */

/* Header with Auth */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-info {
    color: #2c3e50;
    font-weight: 500;
    margin-right: 10px;
}

/* Auth Container */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #3498db;
}

.help-text {
    color: #7f8c8d;
    font-size: 13px;
    margin-top: 5px;
}

.form-message {
    font-size: 13px;
    margin-top: 5px;
}

.form-message.success {
    color: #27ae60;
}

.form-message.error {
    color: #e74c3c;
}

.validation-messages {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.validation-messages small.success {
    color: #27ae60;
}

.validation-messages small.error {
    color: #e74c3c;
}

/* OAuth Buttons */
.divider {
    text-align: center;
    color: #7f8c8d;
    margin: 20px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-oauth {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-google {
    background: #4285f4;
    color: white;
}

.btn-google:hover {
    background: #357ae8;
}

.btn-naver {
    background: #03c75a;
    color: white;
}

.btn-naver:hover {
    background: #02b350;
}

.btn-kakao {
    background: #fee500;
    color: #000;
}

.btn-kakao:hover {
    background: #fdd800;
}

.auth-links {
    text-align: center;
    margin-top: 15px;
}

.auth-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

/* ========== 마이페이지 스타일 ========== */

.mypage-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mypage-container h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #34495e;
}

.mypage-dashboard {
    margin-bottom: 30px;
}

.user-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.user-info-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.user-info-card p {
    margin-bottom: 8px;
    color: #555;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #3498db;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Tabs */
.mypage-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #7f8c8d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: #3498db;
}

.tab-button.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.favorite-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.favorite-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #ecf0f1;
}

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

.favorite-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.favorite-info {
    padding: 15px;
}

.favorite-info h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.favorite-info .store-name {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.favorite-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.favorite-date {
    color: #95a5a6;
    font-size: 12px;
}

.btn-unfavorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-unfavorite:hover {
    background: #e74c3c;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.comment-target {
    margin-bottom: 10px;
    cursor: pointer;
}

.comment-target:hover {
    color: #3498db;
}

.comment-target strong {
    color: #2c3e50;
    font-size: 16px;
}

.comment-target small {
    color: #7f8c8d;
    margin-left: 8px;
}

.comment-content {
    padding: 10px 0;
    color: #333;
    line-height: 1.6;
}

.comment-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* ========== 개인정보처리방침 스타일 ========== */

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-container h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #34495e;
    text-align: center;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-content section {
    margin-bottom: 30px;
}

.privacy-content h3 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 18px;
}

.privacy-content p {
    color: #555;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-content li {
    color: #555;
    margin-bottom: 8px;
}

.privacy-footer {
    text-align: center;
    margin-top: 40px;
}

/* ========== Footer ========== */

footer {
    background: white;
    margin-top: 40px;
    padding: 30px 20px;
    border-top: 1px solid #ddd;
    border-radius: 8px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ========== 반응형 (모바일) ========== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .auth-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mypage-tabs {
        flex-direction: column;
    }

    .tab-button {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-button.active {
        border-bottom-color: transparent;
        border-left-color: #3498db;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .privacy-container {
        padding: 20px 10px;
    }
}

/* ========== 댓글 섹션 스타일 ========== */

.comments-section {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.comments-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.comment-item {
    margin-bottom: 15px;
}

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

/* 마이페이지 테이블 스타일 */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.favorites-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.favorites-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.favorites-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    white-space: nowrap;
}

.favorites-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.favorites-table tbody tr:hover {
    background-color: #f8f9fa;
}

.favorites-table tbody tr:last-child {
    border-bottom: none;
}

.favorites-table td {
    padding: 12px;
    color: #495057;
    font-size: 14px;
    vertical-align: middle;
}

.favorites-table .thumbnail-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-table .clickable {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.favorites-table .clickable:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 반응형 테이블 */
@media (max-width: 768px) {
    .favorites-table {
        font-size: 12px;
    }

    .favorites-table th,
    .favorites-table td {
        padding: 8px 6px;
    }

    .favorites-table th {
        font-size: 12px;
    }
}
