*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.clinic-reviews-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    overflow: hidden;
    padding: 28px 28px 12px;
}

/* Header */
.clinic-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.clinic-reviews-title {
    font-size: 1.2rem;
    color: #111;
    letter-spacing: -0.3px;
}

/* Tabs */
.reviews-tabs {
    border-bottom: 2px solid #F0F0F0;
    margin-bottom: 18px;
    gap: 4px;
}
.reviews-tabs .nav-item { margin-right: 4px; }
.reviews-tabs .nav-link {
    font-size: 0.88rem;
    color: #888;
    border: none;
    border-bottom: 2.5px solid transparent;
    border-radius: 0;
    padding: 8px 10px 10px;
    background: none;
    transition: color 0.18s, border-color 0.18s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
}
.reviews-tabs .nav-link:hover { color: #333; }
.reviews-tabs .nav-link.active {
    color: #111;
    border-bottom: 2.5px solid #111;
    background: none;
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #F4F4F4;
    animation: fadeUp 0.22s ease;
}
.review-item:last-child { border-bottom: none; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.review-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}
.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.review-content { flex: 1; min-width: 0; }

.review-meta {
    font-size: 0.74rem;
    color: #9CA3AF;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.review-meta .dot { font-size: 0.6rem; }
.review-meta .project-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
    color: #6B7280;
}

.review-text {
    font-size: 0.875rem;
    color: #1F2937;
    line-height: 1.45;
}
.review-text strong { font-weight: 700; color: #111; }
.review-text .unread-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #EF4444;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
}

.comment-content span { font-weight: 700; color: #2563EB; }

/* Action buttons */
.review-services { display: flex; gap: 8px; margin-top: 10px; }
.service-tag {
    font-size: 0.8rem;
    border: 1.5px solid #E5E7EB;
    background: #fff; color: #374151;
    border-radius: 8px; padding: 6px 14px;
    cursor: pointer; transition: background 0.15s, border 0.15s;
}

.tab-content { min-height: 200px; }
