/* 評論列表樣式 - 根據 Figma 設計 */
.review-list-summary {
    padding: 0;
    margin-top: 24px;
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s;
}

.review-item:hover {
    background-color: #f9fafb;
    margin: 0 -24px;
    padding: 16px 24px;
    border-radius: 8px;
    border-bottom: 1px solid #F3F4F6;
}

.review-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #181D27;
    margin: 0;
}

.rating-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.rating-stars .star-icon {
    font-size: 12px;
    color: #F5F5F5;
}

.rating-stars .star-icon .filled {
    color: #FDB022;
}

.review-text {
    font-size: 14px;
    color: #535862;
    line-height: 1.43;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-reviews {
    text-align: center;
    margin-top: 20px;
}

.more-reviews-btn {
    background: none;
    border: none;
    color: #B8860B;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.more-reviews-btn:hover {
    background-color: #fdf6e3;
}

.write-review-btn {
    padding: 8px 16px;
    background-color: #B8860B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.write-review-btn:hover {
    background-color: #a67c0a;
}

/* 診所療程樣式 */
.services-section {
    margin-bottom: 32px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.service-tag:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
}

.service-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.empty-services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.empty-services-section .empty-description {
    color: #6b7280;
    font-size: 14px;
}

/* 醫師陣容樣式 */
.doctor-team-intro {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.doctor-team-intro .intro-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.doctor-team-intro .intro-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.team-composition {
    margin-bottom: 24px;
}

.team-level {
    margin-bottom: 16px;
    padding: 16px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.team-level:last-child {
    margin-bottom: 0;
}

.level-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.level-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.featured-treatments {
    margin-bottom: 20px;
}

.treatments-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.treatments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.treatment-item {
    display: inline-flex;
    align-items: center;
    background-color: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.treatment-item:hover {
    background-color: #bfdbfe;
    border-color: #93c5fd;
}

.service-commitment {
    padding: 16px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.commitment-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

@media (max-width: 1024px) {
    .clinic-intro-container {
        padding: 16px;
    }

    .review-item:hover {
        margin: 0 -20px;
        padding: 16px 20px;
    }

    .overall-rating {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        width: 100%;
    }

    .services-grid {
        gap: 6px;
    }
    
    .service-tag {
        padding: 4px 8px;
    }
    
    .service-name {
        font-size: 13px;
    }
}
