/* 增強版店家頁面樣式 - 現代化設計 */

/* 基礎設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, "Noto Sans TC", sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
}

/* Font Awesome 優化 - 減少字體載入警告 */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 返回地圖導航欄 - 現代化設計 */
.back-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    margin: -20px -20px 25px -20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.back-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.back-btn i {
    font-size: 18px;
}

.back-btn span {
    font-size: 14px;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
}

/* 店家頭部 */
.shop-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.shop-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.shop-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.stars i.filled {
    color: #ffd700;
}

.rating-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 店家資訊 */
.shop-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e1e8ed;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-item strong {
    color: #2c3e50;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: #555;
    font-weight: 500;
}

/* 食記分享區 */
.reviews-section {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e1e8ed;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    gap: 25px;
}

.review-card {
    border: 1px solid #e1e8ed;
    border-radius: 15px;
    padding: 30px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-card.editor-review {
    border-left: 4px solid #27ae60;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    position: relative;
}

.review-card.editor-review::before {
    content: '編輯群推薦';
    position: absolute;
    top: 15px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0;
}

.author {
    color: #007bff;
    font-weight: 500;
}

.date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.review-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-images img:hover {
    transform: scale(1.05);
}

.review-footer {
    display: flex;
    justify-content: flex-end;
}

.like-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.like-btn:hover {
    background: #c82333;
}

.like-count {
    font-weight: 500;
}

.delete-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s ease;
    margin-left: 10px;
}

.delete-btn:hover {
    background: #dc3545;
}

/* 短評分享區 */
.short-reviews-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.short-review-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.short-review-form h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group small {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* 評分輸入 */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input[type="radio"]:checked ~ label {
    color: #ffd700;
}

/* 提交按鈕 */
.submit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #218838;
}

/* 短評列表 */
.short-reviews-grid {
    display: grid;
    gap: 20px;
}

.short-review-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.short-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nickname {
    font-weight: 600;
    color: #007bff;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #ddd;
    font-size: 1rem;
}

.rating i.filled {
    color: #ffd700;
}

.review-image img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image img:hover {
    transform: scale(1.05);
}

/* 燈箱 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* 訊息彈窗 */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message-content {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.message-text {
    flex: 1;
}

.message-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.message-popup.success .message-content {
    border-left: 4px solid #28a745;
}

.message-popup.error .message-content {
    border-left: 4px solid #dc3545;
}

.message-popup.info .message-content {
    border-left: 4px solid #007bff;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 無評論狀態 */
.no-reviews {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* 作者信息顯示 */
.author-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
}

.author-info small {
    color: #6c757d;
    font-style: italic;
}

/* 編輯群登入容器（右上角） */
.editor-login-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* 編輯群登入區域（原來的樣式保留，但不再使用） */
.editor-login-section {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.editor-login-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
    white-space: nowrap;
}

.editor-login-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.login-hint {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* 編輯群食記編輯器 */
.editor-review-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
}

.editor-review-form h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 富文本編輯器工具列 */
.rich-editor-toolbar {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.toolbar-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.toolbar-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 富文本編輯器 */
.rich-editor {
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    background: white;
    font-family: inherit;
    line-height: 1.6;
    overflow-y: auto;
    resize: vertical;
}

.rich-editor:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.rich-editor[placeholder]:empty:before {
    content: attr(placeholder);
    color: #6c757d;
    font-style: italic;
}

/* 編輯器內容樣式 */
.rich-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.rich-editor blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #6c757d;
}

.rich-editor a {
    color: #007bff;
    text-decoration: underline;
}

.rich-editor strong {
    font-weight: bold;
}

.rich-editor em {
    font-style: italic;
}

.rich-editor u {
    text-decoration: underline;
}

/* 表單操作按鈕 */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* 圖片上傳對話框 */
.image-upload-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-upload-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.image-upload-content h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.image-upload-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 連結插入對話框 */
.link-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.link-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
}

/* 店家回復樣式 */
.shop-replies {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.shop-reply {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.shop-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #007bff;
    font-size: 14px;
}

.shop-badge i {
    font-size: 12px;
}

.reply-date {
    font-size: 12px;
    color: #6c757d;
}

.reply-content {
    color: #495057;
    line-height: 1.5;
    font-size: 14px;
}

.reply-edited {
    margin-top: 8px;
    text-align: right;
}

.reply-edited small {
    color: #6c757d;
    font-size: 11px;
    font-style: italic;
}

/* 店家回復操作按鈕 */
.shop-reply-actions {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.reply-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.reply-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

/* 模態框樣式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #adb5bd;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #495057;
    background: #f8f9fa;
}

.modal-body {
    padding: 25px;
}

.char-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.login-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.login-info p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.login-info i {
    color: #007bff;
    margin-right: 6px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .back-navigation {
        padding: 12px 20px;
        margin-bottom: 15px;
        position: relative;
        top: auto;
    }
    
    .back-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .back-btn span {
        font-size: 13px;
    }
    
    .nav-title {
        font-size: 16px;
    }
    
    .shop-header {
        padding: 20px;
    }
    
    .shop-header h1 {
        font-size: 2rem;
    }
    
    .reviews-section,
    .short-reviews-section {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-input label {
        font-size: 1.2rem;
    }
    
    .message-popup {
        left: 20px;
        right: 20px;
    }
    
    .message-content {
        min-width: auto;
    }

    .rich-editor-toolbar {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .toolbar-btn {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .editor-login-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-navigation {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .back-btn {
        padding: 10px 16px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .nav-title {
        font-size: 14px;
    }
    
    .shop-header h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .reviews-section h2,
    .short-reviews-section h2 {
        font-size: 1.4rem;
    }
    
    .short-review-form {
        padding: 15px;
    }
    
    .review-card,
    .short-review-card {
        padding: 15px;
    }
}

/* 編輯器表單樣式 - 論壇式設計 */
.editor-review-form.embedded-editor, 
.short-review-editor.embedded-editor {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.editor-review-form.embedded-editor .editor-form-header,
.short-review-editor.embedded-editor .editor-form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-review-form.embedded-editor .editor-form-header h3,
.short-review-editor.embedded-editor .editor-form-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.editor-review-form.embedded-editor .close-editor-btn,
.short-review-editor.embedded-editor .close-editor-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.editor-review-form.embedded-editor .close-editor-btn:hover,
.short-review-editor.embedded-editor .close-editor-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.editor-review-form.embedded-editor form,
.short-review-editor.embedded-editor form {
    padding: 20px;
}

/* 短評編輯器專用樣式 */
.short-review-editor .inline-form {
    padding: 20px;
}

.short-review-editor .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.short-review-editor .form-row .form-group {
    flex: 1;
}

/* 刪除按鈕樣式 */
.delete-review-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.delete-review-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* 圖片上傳和預覽樣式 */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    padding: 15px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
    min-height: 100px;
    align-items: center;
    justify-content: center;
}

.image-preview:empty::before {
    content: "尚未選擇圖片";
    color: #adb5bd;
    font-size: 14px;
}

.image-preview-item {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.image-preview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.image-preview-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 0;
}

.image-preview-item:hover .remove-image-btn {
    opacity: 1;
}

.remove-image-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

/* 文件輸入框樣式優化 */
input[type="file"] {
    margin-bottom: 10px;
    padding: 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

input[type="file"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 表單提示文字樣式 */
.form-hint {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
}

/* 登入和編輯控制區域樣式 */
.login-section, .editor-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.login-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.editor-controls {
    align-items: center;
}

.editor-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.editor-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.editor-status {
    color: #27ae60;
    font-size: 14px;
    font-weight: 500;
}

/* 食記卡片編輯按鈕 */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.review-meta {
    flex: 1;
}

.review-actions {
    flex-shrink: 0;
}

.edit-review-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.edit-review-btn:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

/* 無食記時的占位符 */
.no-reviews-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-reviews-placeholder i {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.no-reviews-placeholder h3 {
    color: #6c757d;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.no-reviews-placeholder p {
    color: #adb5bd;
    margin: 0;
    font-size: 14px;
}

/* 短評按鈕樣式 */
.write-review-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.write-review-btn:active {
    transform: translateY(0);
}

/* 短評區域樣式 */
.short-reviews-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.short-reviews-section .section-header h2 {
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .write-review-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .short-reviews-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.editor-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.editor-form-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-editor-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-editor-btn:hover {
    color: #dc3545;
}

/* 富文本編輯器樣式 */
.rich-editor {
    min-height: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    line-height: 1.6;
    outline: none;
}

.rich-editor:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.toolbar {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.toolbar button {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #495057;
    font-size: 14px;
}

.toolbar button:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.toolbar button i {
    font-size: 14px;
}

/* 評論表單樣式 */
.review-form-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.review-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.review-form {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.review-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.review-form-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-review-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-review-btn:hover {
    color: #dc3545;
}

/* 模態框樣式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10001;
    border: 1px solid #e1e8ed;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e1e8ed;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal-btn:hover {
    color: #dc3545;
}

/* 表單通用樣式 */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    background: white;
}

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

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* 評分輸入樣式 */
.rating-input {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.rating-input label.filled {
    color: #ffc107;
}

/* 字數統計 */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* 表單動作按鈕 */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    margin: 0 -30px -30px;
}

.cancel-btn {
    padding: 12px 24px;
    border: 1px solid #6c757d;
    background: white;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    border: none;
    background: #3498db;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* 燈箱樣式 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* 訊息提示樣式 */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0;
    max-width: 400px;
    z-index: 10001;
    animation: slideIn 0.3s ease;
}

.message-popup.success {
    border-left: 4px solid #28a745;
}

.message-popup.error {
    border-left: 4px solid #dc3545;
}

.message-popup.warning {
    border-left: 4px solid #ffc107;
}

.message-popup.info {
    border-left: 4px solid #17a2b8;
}

.message-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.message-text {
    flex: 1;
    font-size: 14px;
    color: #495057;
}

.message-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.message-close:hover {
    color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 響應式設計調整 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .shop-header {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .shop-header h1 {
        font-size: 2.2rem;
    }

    .shop-info {
        padding: 20px;
    }

    .editor-form,
    .review-form,
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
    }

    .editor-form-header,
    .review-form-header,
    .modal-header {
        padding: 20px;
    }

    .form-actions {
        padding: 20px;
        margin: 0 -20px -20px;
        flex-direction: column;
        gap: 12px;
    }

    .form-actions .cancel-btn,
    .form-actions .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .toolbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .rating-input {
        justify-content: center;
        gap: 8px;
    }

    .rating-input label {
        font-size: 20px;
    }

    .review-card {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==================== 一般用戶狀態顯示樣式 ==================== */
.user-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.user-role {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 20px;
    margin-left: 8px;
    color: white;
}

.user-logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 用戶操作按鈕 */
.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-post-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #28a745;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.user-post-btn:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 一般用戶發文表單 */
.user-review-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #28a745;
}

.user-review-form .form-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-review-form .form-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-review-form .close-form-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-review-form .close-form-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.user-review-form form {
    padding: 20px;
}

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

.user-review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.user-review-form input[type="text"],
.user-review-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.user-review-form input[type="text"]:focus,
.user-review-form textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.user-review-form .char-counter {
    text-align: right;
    font-size: 12px;
    margin-top: 5px;
    color: #666;
}

.user-review-form .form-hint {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.user-review-form .image-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.user-review-form .preview-image-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.user-review-form .preview-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-review-form .remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.user-review-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.user-review-form .cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.user-review-form .cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.user-review-form .submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.user-review-form .submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .user-status {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .user-post-btn,
    .user-logout-btn {
        width: 100%;
        justify-content: center;
    }
    
    .user-review-form .form-actions {
        flex-direction: column;
    }
    
    .user-review-form .cancel-btn,
    .user-review-form .submit-btn {
        width: 100%;
    }
}

/* ==================== 會員食記分享區域樣式 ==================== */
.user-food-reviews-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.user-food-review-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.user-food-review-card .review-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0 15px 0;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 8px;
}

.user-food-review-card .review-content {
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.user-food-review-card .user-info .nickname i {
    color: #28a745;
    margin-right: 5px;
}

.user-food-review-card .review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.user-food-review-card .review-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.user-food-review-card .review-image:hover {
    transform: scale(1.05);
}

/* 響應式設計 - 會員食記 */
@media (max-width: 768px) {
    .user-food-reviews-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .user-food-review-card {
        padding: 15px;
    }
    
    .user-food-review-card .review-title {
        font-size: 1.1em;
    }
    
    .user-food-review-card .review-image {
        width: 100px;
        height: 75px;
    }
} 