/* ----- Табы (переключатели) ----- */
.tabs-rev {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.tab-rev {
    padding: 10px 20px;
    background: #e9ecef;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.2s;
}

.tab-rev.active {
    background: #52b6ec;
    color: white;
}

/* ----- Контейнеры отзывов ----- */
.container-rev {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.container.hidden {
    display: none;
}

/* ----- Панель сортировки ----- */
.sort-panel {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f3f5;
    padding: 10px 15px;
    border-radius: 6px;
}

.sort-panel label {
    font-weight: 600;
    color: #495057;
}

.sort-select {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

/* ----- Карточка отзыва ----- */
.review-card {
    border-bottom: 1px solid #dee2e6;
    padding: 16px 0;
}

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

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

.review-name {
    font-weight: 700;
    color: #212529;
}

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

.review-rating {
    display: flex;
    gap: 4px;
    margin: 5px 0;
}

.star {
    color: #ffc107;
    font-size: 18px;
}

.star.empty {
    color: #e4e5e9;
}

.review-text {
    line-height: 1.5;
    color: #343a40;
    margin-top: 6px;
}

/* ----- Кнопка «Показать ещё» ----- */
.load-more {
    margin-top: 20px;
    text-align: center;
}

.load-more-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

.load-more-btn:hover {
    background: #218838;
}

.load-more-btn.hidden {
    display: none;
}