    /* 評價模態框樣式 - 現代化設計 */
    .review-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(65, 70, 81, 0.7);
        backdrop-filter: blur(16px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        padding: 32px;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .review-modal-overlay.hidden {
        display: none;
        opacity: 0;
    }

    .review-modal-container {
        width: 100%;
        max-width: 560px;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .review-modal-content {
        background: #FFFFFF;
        border-radius: 16px;
        box-shadow: 
            0px 3px 3px -1.5px rgba(10, 13, 18, 0.04),
            0px 8px 8px -4px rgba(10, 13, 18, 0.03),
            0px 20px 24px -4px rgba(10, 13, 18, 0.08);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height: 100%;
        transform: scale(0.95);
        transition: transform 0.3s ease;
    }

    .review-modal-overlay.show .review-modal-content {
        transform: scale(1);
    }

    /* 模態框頭部 */
    .review-modal-header {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 24px 0px;
        flex-shrink: 0;
    }

    .review-modal-icon {
        width: 48px;
        height: 48px;
        background: #DCFAE6;
        border: 8px solid #ECFDF3;
        border-radius: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .review-modal-title-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .review-modal-title {
        font-family: Inter, sans-serif;
        font-weight: 600;
        font-size: 18px;
        line-height: 28px;
        color: #101828;
        margin: 0;
    }

    .review-modal-subtitle {
        font-family: Inter, sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #667085;
        margin: 0;
    }

    .review-modal-close-btn {
        position: relative;
        background: none;
        border: none;
        color: #667085;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease;
        flex-shrink: 0;
    }

    .review-modal-close-btn:hover {
        background-color: #F9FAFB;
        color: #101828;
    }

    /* 模態框內容 */
    .review-modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px 24px 0px;
    }

    .review-form-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* 診所信息 */
    .review-clinic-info {
        background: #F9FAFB;
        border: 1px solid #EAECF0;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
    }

    .review-clinic-name {
        font-weight: 600;
        font-size: 16px;
        color: #101828;
        margin-bottom: 4px;
    }

    .review-clinic-type {
        font-size: 14px;
        color: #667085;
    }

    /* 評分區域 */
    .review-rating-section {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .review-rating-label {
        font-family: Inter, sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #344054;
        margin: 0;
    }

    .review-stars-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .review-stars {
        display: flex;
        gap: 8px;
        cursor: pointer;
    }

    .review-star {
        font-size: 32px;
        color: #E4E7EC;
        transition: all 0.2s ease;
        cursor: pointer;
        user-select: none;
    }

    .review-star:hover,
    .review-star.active {
        color: #FDB022;
        transform: scale(1.1);
    }

    .review-rating-text {
        font-size: 14px;
        color: #667085;
        font-weight: 400;
    }

    /* 評價內容 */
    .review-content-section {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .review-content-label {
        font-family: Inter, sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #344054;
        margin: 0;
    }

    .review-content-wrapper {
        position: relative;
    }

    .review-content-textarea {
        width: 100%;
        min-height: 120px;
        padding: 12px 14px;
        border: 1px solid #D0D5DD;
        border-radius: 8px;
        font-family: Inter, sans-serif;
        font-size: 16px;
        line-height: 24px;
        color: #101828;
        background: #FFFFFF;
        resize: vertical;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .review-content-textarea:focus {
        outline: none;
        border-color: #079455;
        box-shadow: 0px 0px 0px 4px rgba(7, 148, 85, 0.12);
    }

    .review-content-textarea::placeholder {
        color: #98A2B3;
        white-space: pre-line;
    }

    .review-char-count {
        position: absolute;
        bottom: 8px;
        right: 12px;
        font-size: 12px;
        color: #667085;
        background: rgba(255, 255, 255, 0.9);
        padding: 2px 4px;
        border-radius: 4px;
    }

    /* 圖片上傳區域 */
    .review-images-section {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .review-images-label {
        font-family: Inter, sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #344054;
        margin: 0;
    }

    .review-images-upload {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .review-images-preview {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
        margin-top: 8px;
    }

    .review-image-item {
        position: relative;
        width: 100px;
        height: 100px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #EAECF0;
        background-color: #F9FAFB;
    }

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

    .review-image-remove {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 20px;
        height: 20px;
        background: rgba(16, 24, 40, 0.6);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        line-height: 1;
        transition: background-color 0.2s ease;
    }

    .review-image-remove:hover {
        background: rgba(16, 24, 40, 0.8);
    }

    .review-upload-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        background: #FFFFFF;
        border: 1px solid #D0D5DD;
        border-radius: 8px;
        font-family: Inter, sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: #344054;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    }

    .review-upload-button:hover {
        background-color: #F9FAFB;
    }
    
    .review-upload-button i {
        color: #667085;
    }

    .review-upload-hint {
        font-size: 12px;
        color: #667085;
        text-align: center;
        margin-top: -8px;
    }

    /* 匿名選項 */
    .review-anonymous-section {
        border-top: 1px solid #EAECF0;
        padding-top: 20px;
    }

    .review-checkbox-label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
    }

    .review-checkbox {
        width: 16px;
        height: 16px;
        border: 1px solid #D0D5DD;
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .review-checkbox:checked {
        background-color: #079455;
        border-color: #079455;
    }

    .review-checkbox-text {
        font-weight: 500;
        font-size: 14px;
        color: #344054;
        margin-bottom: 4px;
    }

    .review-checkbox-description {
        font-size: 12px;
        color: #667085;
        line-height: 16px;
    }

    /* 錯誤和警告消息 */
    .review-error-message,
    .review-warning-message {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 14px;
        margin-top: 6px;
    }

    .review-error-message {
        background: #FEF3F2;
        border: 1px solid #FECDCA;
        color: #B42318;
    }

    .review-warning-message {
        background: #FFFCF5;
        border: 1px solid #FEDF89;
        color: #B54708;
    }

    .review-error-icon,
    .review-warning-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    /* 模態框底部 */
    .review-modal-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px 24px;
        flex-shrink: 0;
    }

    /* 按鈕樣式 */
    .review-btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        background: #FFFFFF;
        color: #344054;
        border: 1px solid #D0D5DD;
        border-radius: 8px;
        font-family: Inter, sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    }

    .review-btn-secondary:hover {
        background: #F9FAFB;
        border-color: #B2DDFF;
        color: #344054;
        text-decoration: none;
    }

    .review-btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        background: #079455;
        color: #FFFFFF;
        border: 1px solid #079455;
        border-radius: 8px;
        font-family: Inter, sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    }

    .review-btn-primary:hover:not(.disabled) {
        background: #067647;
        border-color: #067647;
        color: #FFFFFF;
        text-decoration: none;
        box-shadow: 0px 4px 8px rgba(16, 24, 40, 0.12);
    }

    .review-btn-primary.disabled {
        background: #F2F4F7;
        color: #98A2B3;
        border-color: #EAECF0;
        cursor: not-allowed;
        box-shadow: none;
    }

    /* 響應式設計 */
    @media (max-width: 576px ) {
        .review-modal-overlay {
            padding: 16px;
        }
        
        .review-modal-header {
            padding: 20px 20px 0px;
        }
        
        .review-modal-body {
            padding: 16px 20px 0px;
        }
        
        .review-modal-footer {
            padding: 16px 20px 20px;
        }
        
        .review-clinic-info {
            padding: 12px;
        }
        
        .review-content-textarea {
            min-height: 100px;
            font-size: 16px; /* 防止iOS縮放 */
        }
        
        .review-stars {
            gap: 6px;
        }
        
        .review-star {
            font-size: 28px;
        }
    }

    /* 隱藏類 */
    .hidden {
        display: none !important;
    }
