/* Firm Reviews Page - Clean Dark Theme */
:root {
    --primary: #7000ff;
    --bg-dark: #020310;
    --card-bg: #0d0f1a;
    --border-color: #1e2130;
    --text-main: #ffffff;
    --text-muted: #8890b5;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding-bottom: 80px;
}

.reviews-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header Section */
.reviews-header-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.firm-logo-lg img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #333;
}

.header-info h1 {
    font-size: 2.5rem;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #fff;
}

.header-rating-badge {
    background: #000;
    border: 1px solid var(--primary);
    border-radius: 100px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.header-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.header-stars {
    color: var(--primary);
    display: flex;
    gap: 4px;
}

.header-stars i {
    font-size: 1rem;
}

.satisfaction-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
    display: block;
    text-align: right;
}

/* Review List */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
    border-color: #3b3f54;
    transform: translateY(-2px);
}

/* Review Top Row */
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: #1a1d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    border: 1px solid var(--border-color);
}

.reviewer-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.review-rating-pill {
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 100px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    width: fit-content;
}

.pill-score {
    font-weight: 700;
    color: #fff;
}

.pill-stars {
    color: var(--primary);
    font-size: 0.9rem;
}

.pill-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #333;
}

/* Stats Row */
.review-stats-group {
    display: flex;
    gap: 16px;
}

.stat-box {
    background: #020310;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 100px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.program-tag {
    background: #1e2130;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.yes {
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
}

.status-badge.no {
    background: rgba(255, 59, 59, 0.1);
    color: #ff3b3b;
}

/* Content */
.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.review-date i {
    margin-right: 6px;
}

.review-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin: 0;
}

.read-more {
    color: #ff0066;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    display: inline-block;
    cursor: pointer;
}

/* Certificates */
.cert-box {
    display: flex;
    align-items: center;
    background: #000;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid #333;
}

.cert-thumb {
    width: 30px;
    height: 20px;
    background: #333;
    border-radius: 2px;
}

.cert-count {
    font-size: 0.8rem;
    color: #888;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .review-top {
        flex-direction: column;
        gap: 20px;
    }

    .review-stats-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1;
    }
}

/* --- Review Proof Gallery --- */
.review-proof-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 120px;
}

.proof-thumb {
    width: 120px;
    height: 80px;
    background: #1a1d2d;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.proof-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.2);
}

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

.proof-thumb i {
    font-size: 1.5rem;
    color: #4b5563;
}

.proof-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}