/* ========================================
   COACH REVIEWS PAGE STYLES
   ======================================== */

:root {
    --queueup-red: 239 62 74;
    --queueup-black: 13 13 13;
}

.coach-reviews-page {
    padding: 30px 0 60px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, rgba(13, 13, 13, 1) 0%, rgba(20, 20, 22, 1) 100%);
}

/* Utility class for JS filtering */
.hidden {
    display: none !important;
}

/* Back Navigation */
.back-to-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--white) / 0.6);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-to-profile:hover {
    color: hsl(var(--white));
}

/* Reviews Page Header */
.reviews-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 30px;
}

.reviews-coach-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-coach-avatar-blank {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 3px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.reviews-coach-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.reviews-coach-meta h1 {
    font-size: 26px;
    font-weight: 700;
    color: hsl(var(--white));
    margin-bottom: 8px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: hsl(var(--white) / 0.9);
}

.reviews-rating i {
    color: #ffc107;
}

.reviews-count {
    font-size: 14px;
    color: hsl(var(--white) / 0.5);
}

/* Rating Breakdown */
.rating-breakdown {
    min-width: 280px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-label {
    font-size: 12px;
    color: hsl(var(--white) / 0.6);
    min-width: 55px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(239, 62, 74), rgb(255, 100, 110));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    font-size: 12px;
    color: hsl(var(--white) / 0.5);
    min-width: 30px;
    text-align: right;
}

/* Filter Bar */
.reviews-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: hsl(var(--white) / 0.5);
    margin-right: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: hsl(var(--white) / 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: hsl(var(--white) / 0.9);
}

.filter-btn.active {
    background: rgb(239, 62, 74);
    border-color: rgb(239, 62, 74);
    color: #fff;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Review Avatar Blank */
.review-avatar-blank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

/* Full Review Card */
.review-card-full {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s ease;
}

.review-card-full:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-card-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card-meta .review-author {
    font-size: 15px;
    font-weight: 600;
    color: hsl(var(--white));
}

.review-card-meta .review-date {
    font-size: 12px;
    color: hsl(var(--white) / 0.45);
}

/* Review Stars */
.review-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.review-stars i {
    font-size: 12px;
    color: #ffc107;
}

.review-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: hsl(var(--white) / 0.8);
    margin: 0;
}

.review-session-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 11px;
    color: hsl(var(--white) / 0.5);
}

.review-session-tag i {
    font-size: 10px;
}

/* Load More Section */
.load-more-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.btn-load-more {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--white) / 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.showing-count {
    font-size: 13px;
    color: hsl(var(--white) / 0.4);
}

/* Reviews Footer */
.reviews-footer {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.reviews-footer p {
    color: hsl(var(--white) / 0.4);
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .reviews-page-header {
        flex-direction: column;
        gap: 24px;
    }

    .rating-breakdown {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .reviews-coach-info {
        flex-direction: column;
        text-align: center;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 8px;
    }

    .reviews-filter-bar {
        justify-content: center;
    }

    .filter-label {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .review-card-full {
        padding: 18px;
    }

    .review-avatar-blank {
        width: 36px;
        height: 36px;
    }

    .review-avatar {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .review-card-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .review-stars {
        width: 100%;
        justify-content: flex-start;
        margin-top: 6px;
    }
}