/* ============================================================================
   SOLICITORCONNECT - CONSOLIDATED REVIEWS CSS
   File: static/frontend/css/reviews_consolidated.css
   Purpose: Unified styles for review list and detail pages
   Prefix: reviews- (to avoid conflicts)
   ============================================================================ */

/* === BASE LAYOUT === */
.reviews-page {
    background: #fcf9f5;
    min-height: 100vh;
}

/* === HERO SECTION (SHARED) === */
.reviews-hero {
    background: linear-gradient(135deg, #eaf2f4 0%, #fcf9f5 100%);
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.reviews-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232E5D75' fill-opacity='0.03'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.reviews-hero-content {
    position: relative;
    z-index: 1;
}

/* === FIRM HEADER CARD === */
.reviews-firm-header-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
}

.reviews-firm-header-top {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Firm Logo */
.reviews-firm-logo-container {
    flex-shrink: 0;
}

.reviews-firm-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    object-fit: contain;
    background: white;
}

.reviews-firm-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #eaf2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #2e5d75;
    font-weight: 700;
}

/* Firm Details */
.reviews-firm-details {
    flex: 1;
    min-width: 250px;
}

.reviews-firm-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.reviews-firm-name {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2e5d75;
    margin: 0;
    line-height: 1.2;
}

/* Star Rating Display */
.reviews-star-rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-stars-container {
    display: flex;
    gap: 2px;
}

.reviews-star-icon {
    font-size: 1.25rem;
}

.reviews-star-filled {
    color: #d0a857;
    font-size: 1.5rem;
}

.reviews-cta-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.reviews-cta-description {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Enquiry CTA Section (Bottom) */
.reviews-enquiry-cta-section {
    background: linear-gradient(135deg, #2e5d75 0%, #234957 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 4px 16px rgba(46, 93, 117, 0.3);
}

.reviews-enquiry-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #d0a857;
    font-size: 1.75rem;
    border: 2px solid rgba(208, 168, 87, 0.3);
}

.reviews-enquiry-cta-title {
    font-family: 'Lora', serif;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-enquiry-cta-subtitle {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.reviews-enquiry-cta-button {
    background: #d0a857;
    border: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(208, 168, 87, 0.4);
}

.reviews-enquiry-cta-button:hover {
    background: #b18b3e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(208, 168, 87, 0.5);
}

/* Related Resources Section */
.reviews-resources-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.reviews-section-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.reviews-resource-card {
    background: #fcf9f5;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.reviews-resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0a857;
}

.reviews-resource-icon {
    width: 40px;
    height: 40px;
    background: rgba(208, 168, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #d0a857;
    font-size: 1.125rem;
}

.reviews-resource-title {
    font-family: 'Inter', sans-serif;
    color: #2e5d75;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reviews-resource-description {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reviews-resource-link {
    font-family: 'Inter', sans-serif;
    color: #d0a857;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s ease;
}

.reviews-resource-link:hover {
    color: #b18b3e;
    text-decoration: none;
    gap: 0.625rem;
}

/* === NO REVIEWS STATE === */
.reviews-no-reviews-state {
    background: white;
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.reviews-no-reviews-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eaf2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.reviews-no-reviews-icon i {
    font-size: 2rem;
    color: #2e5d75;
}

.reviews-no-reviews-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reviews-no-reviews-text {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* === BREADCRUMB === */
.reviews-breadcrumb-nav {
    padding: 1rem 0;
}

.reviews-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.reviews-breadcrumb a {
    color: #2e5d75;
    text-decoration: none;
    transition: color 0.2s ease;
}

.reviews-breadcrumb a:hover {
    color: #d0a857;
    text-decoration: none;
}

.reviews-breadcrumb .active {
    color: #5e6d74;
}

/* === PAGINATION === */
.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.reviews-pagination .page-link {
    background: white;
    border: 1px solid #e2e8f0;
    color: #2e5d75;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.reviews-pagination .page-link:hover {
    background: #eaf2f4;
    border-color: #d0a857;
    color: #2e5d75;
}

.reviews-pagination .page-link.active {
    background: #d0a857;
    border-color: #d0a857;
    color: white;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .reviews-firm-info-grid {
        grid-template-columns: 1fr;
    }

    .reviews-resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reviews-hero {
        padding: 3rem 0 2rem 0;
    }

    .reviews-firm-header-card {
        padding: 1.5rem;
    }

    .reviews-firm-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reviews-firm-name {
        font-size: 1.5rem;
    }

    .reviews-firm-name-row {
        flex-direction: column;
        align-items: center;
    }

    .reviews-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-btn-primary,
    .reviews-btn-outline {
        justify-content: center;
        text-align: center;
    }

    .reviews-subtle-actions {
        flex-direction: column;
        text-align: center;
    }

    .reviews-claim-prompt {
        flex-direction: column;
        text-align: center;
    }

    .reviews-share-section {
        justify-content: center;
    }

    .reviews-detail-card {
        padding: 1.5rem;
    }

    .reviews-detail-title {
        font-size: 1.5rem;
    }

    .reviews-enquiry-cta-section {
        padding: 2rem 1.5rem;
    }

    .reviews-enquiry-cta-title {
        font-size: 1.5rem;
    }

    .reviews-respond-claim-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .reviews-firm-logo,
    .reviews-firm-logo-placeholder {
        width: 80px;
        height: 80px;
    }

    .reviews-practice-badges {
        justify-content: center;
    }

    .reviews-solicitors-list {
        flex-direction: column;
    }

    .reviews-share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.reviews-btn-primary:focus,
.reviews-btn-outline:focus,
.reviews-claim-btn:focus,
.reviews-share-btn:focus,
.reviews-practice-badge:focus,
.reviews-solicitor-chip:focus,
.reviews-resource-link:focus {
    outline: 2px solid #d0a857;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .reviews-firm-header-card,
    .reviews-rating-summary-card,
    .reviews-filters-section,
    .reviews-review-card,
    .reviews-detail-card {
        border-width: 2px;
    }
}

/* === PRINT STYLES === */
@media print {
    .reviews-hero {
        background: white !important;
        padding: 1rem 0 !important;
    }

    .reviews-hero::after {
        display: none;
    }

    .reviews-hero-actions,
    .reviews-subtle-actions,
    .reviews-share-section,
    .reviews-respond-claim-section,
    .reviews-enquiry-cta-section {
        display: none !important;
    }

    .reviews-firm-header-card,
    .reviews-review-card,
    .reviews-detail-card {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        page-break-inside: avoid;
    }
}

/* === UTILITY CLASSES === */
.reviews-text-center {
    text-align: center;
}

.reviews-mb-1 { margin-bottom: 0.5rem; }
.reviews-mb-2 { margin-bottom: 1rem; }
.reviews-mb-3 { margin-bottom: 1.5rem; }
.reviews-mb-4 { margin-bottom: 2rem; }

.reviews-mt-1 { margin-top: 0.5rem; }
.reviews-mt-2 { margin-top: 1rem; }
.reviews-mt-3 { margin-top: 1.5rem; }
.reviews-mt-4 { margin-top: 2rem; }

.reviews-hidden {
    display: none !important;
}

.reviews-visible {
    display: block !important;
}

.reviews-star-empty {
    color: #e2e8f0;
}

.reviews-rating-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2e5d75;
    font-size: 1rem;
}

.reviews-rating-count {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Trust Badges */
.reviews-trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.reviews-trust-badge {
    background: rgba(134, 195, 164, 0.1);
    color: #86c3a4;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(134, 195, 164, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.reviews-trust-badge.sra {
    background: rgba(46, 93, 117, 0.1);
    color: #2e5d75;
    border-color: rgba(46, 93, 117, 0.2);
}

.reviews-trust-badge.verified {
    background: rgba(134, 195, 164, 0.1);
    color: #86c3a4;
    border-color: rgba(134, 195, 164, 0.2);
}

/* Firm Info Grid */
.reviews-firm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviews-firm-info-item {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.reviews-firm-info-icon {
    color: #d0a857;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.reviews-firm-info-content {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.reviews-firm-info-content strong {
    display: block;
    color: #2e5d75;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

/* Practice Areas in Hero */
.reviews-practice-areas {
    margin-bottom: 1.5rem;
}

.reviews-practice-areas-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5e6d74;
    margin-bottom: 0.5rem;
}

.reviews-practice-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reviews-practice-badge {
    background: transparent;
    border: 1px solid #d0a857;
    color: #d0a857;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.reviews-practice-badge:hover {
    background: #d0a857;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(208, 168, 87, 0.2);
}

.reviews-practice-badge-more {
    background: #2e5d75;
    color: white;
    border-color: #2e5d75;
}

.reviews-practice-badge-more:hover {
    background: #1e4a5e;
    border-color: #1e4a5e;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(46, 93, 117, 0.3);
}

/* Firm Solicitors Section */
.reviews-firm-solicitors {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.reviews-solicitors-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2e5d75;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-solicitors-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reviews-solicitor-chip {
    background: #eaf2f4;
    border: 1px solid #d0dfe4;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #2e5d75;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-solicitor-chip:hover {
    background: #d0dfe4;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(46, 93, 117, 0.1);
}

.reviews-solicitor-chip i {
    color: #d0a857;
}

/* Hero Action Buttons */
.reviews-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.reviews-btn-primary {
    background-color: #d0a857;
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(208, 168, 87, 0.3);
}

.reviews-btn-primary:hover {
    background-color: #b18b3e;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(208, 168, 87, 0.4);
}

.reviews-btn-outline {
    background: transparent;
    border: 2px solid #2e5d75;
    color: #2e5d75;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-btn-outline:hover {
    background-color: #2e5d75;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Subtle Claim/Share Section */
.reviews-subtle-actions {
    background: #f8fafb;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.reviews-claim-prompt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-claim-icon {
    width: 32px;
    height: 32px;
    background: rgba(208, 168, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0a857;
    font-size: 1rem;
}

.reviews-claim-text {
    font-family: 'Inter', sans-serif;
}

.reviews-claim-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2e5d75;
    margin: 0;
    line-height: 1.3;
}

.reviews-claim-subtitle {
    font-size: 0.75rem;
    color: #5e6d74;
    margin: 0;
}

.reviews-claim-btn {
    background: transparent;
    border: 1px solid #d0a857;
    color: #d0a857;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.reviews-claim-btn:hover {
    background: #d0a857;
    color: white;
    text-decoration: none;
}

/* Share Section */
.reviews-share-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-share-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #5e6d74;
    font-weight: 500;
}

.reviews-share-buttons {
    display: flex;
    gap: 0.375rem;
}

.reviews-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e6d74;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.reviews-share-btn:hover {
    background: #2e5d75;
    color: white;
    border-color: #2e5d75;
    transform: translateY(-1px);
}

/* === PAGE TITLE (for pages without firm header) === */
.reviews-page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-page-title h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #2e5d75;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.reviews-page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #5e6d74;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* === MAIN CONTENT AREA === */
.reviews-main-content {
    padding: 3rem 0;
}

/* === RATING SUMMARY CARD === */
.reviews-rating-summary-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.reviews-average-rating-display {
    text-align: center;
}

.reviews-rating-score {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #d0a857;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.reviews-rating-stars {
    margin-bottom: 0.75rem;
}

.reviews-rating-breakdown {
    padding-left: 1rem;
}

.reviews-rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.reviews-rating-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2e5d75;
    min-width: 60px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reviews-rating-progress {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.reviews-rating-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d0a857 0%, #e1c088 100%);
    border-radius: 4px;
    transition: width 0.8s ease-out;
}

.reviews-rating-count-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #5e6d74;
    min-width: 30px;
    text-align: right;
}

/* === FILTERS SECTION === */
.reviews-filters-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.reviews-filters-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === REVIEWS LIST === */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* === REVIEW CARD === */
.reviews-review-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.reviews-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d0a857;
}

.reviews-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviews-review-stars {
    margin-bottom: 0.75rem;
}

.reviews-review-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.reviews-review-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.reviews-review-author {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    font-weight: 500;
    font-size: 0.9375rem;
}

.reviews-verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.reviews-verification-badge.verified {
    background: rgba(134, 195, 164, 0.1);
    color: #86c3a4;
    border: 1px solid rgba(134, 195, 164, 0.2);
}

.reviews-verification-badge.invited {
    background: rgba(126, 172, 201, 0.1);
    color: #7eacc9;
    border: 1px solid rgba(126, 172, 201, 0.2);
}

.reviews-verification-badge.unverified {
    background: rgba(94, 109, 116, 0.1);
    color: #5e6d74;
    border: 1px solid rgba(94, 109, 116, 0.2);
}

.reviews-verification-badge.disputed {
    background: rgba(226, 125, 96, 0.1);
    color: #e27d60;
    border: 1px solid rgba(226, 125, 96, 0.2);
}

.reviews-review-date {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 0.875rem;
    font-weight: 500;
}

.reviews-review-content {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* === REVIEW RESPONSE === */
.reviews-review-response {
    background: #fcf9f5;
    border-left: 4px solid #d0a857;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.reviews-response-header {
    font-family: 'Inter', sans-serif;
    color: #2e5d75;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-response-content {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* === REVIEW ACTIONS === */
.reviews-review-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    align-items: center;
}

.reviews-review-actions .reviews-btn-sm {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.reviews-btn-subtle {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #5e6d74;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.reviews-btn-subtle:hover {
    background: #f8fafb;
    border-color: #d0a857;
    color: #2e5d75;
    text-decoration: none;
}

.reviews-btn-subtle.claim {
    border-color: #d0a857;
    color: #d0a857;
}

.reviews-btn-subtle.claim:hover {
    background: #d0a857;
    color: white;
}

/* === REVIEW DETAIL PAGE SPECIFIC === */
.reviews-detail-container {
    background: #fcf9f5;
    min-height: 100vh;
}

/* Verification Banner */
.reviews-verification-banner {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.reviews-verification-banner.verified {
    border-left: 4px solid #86c3a4;
}

.reviews-verification-banner.disputed {
    border-left: 4px solid #e27d60;
}

.reviews-verification-icon {
    font-size: 1.5rem;
}

.reviews-verification-content {
    flex: 1;
}

.reviews-verification-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #2e5d75;
}

.reviews-verification-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #5e6d74;
    margin: 0;
}

/* Review Detail Card */
.reviews-detail-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.reviews-detail-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.reviews-detail-metadata {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.reviews-detail-metadata-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 0.9375rem;
}

.reviews-detail-text {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    line-height: 1.7;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

/* Respond/Claim Section */
.reviews-respond-claim-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.reviews-respond-claim-section.claim-highlight {
    background: linear-gradient(135deg, #fcf9f5 0%, #ffffff 100%);
    border: 2px solid #d0a857;
}

.reviews-respond-claim-icon {
    width: 60px;
    height: 60px;
    background: rgba(208, 168, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #d0a857;
    font-size: 1.75rem;
}

.reviews-respond-claim-title {
    font-family: 'Lora', serif;
    color: #2e5d75;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.reviews-respond-claim-description {
    font-family: 'Inter', sans-serif;
    color: #5e6d74;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-respond-claim-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Sections */
.reviews-cta-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.reviews-cta-icon {
    width: 50px;
    height: 50px;
    background: rgba(208, 168, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #d0a857;
}

/* File: static/frontend/css/reviews_consolidated.css */
/* ADD TO END OF FILE - Review Insights Panel Styles */

/* === REVIEW INSIGHTS PANEL === */
.reviews-insights-panel {
    padding-left: 1.5rem;
    border-left: 2px solid #eaf2f4;
}

.reviews-insights-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.reviews-insights-header i {
    color: #d0a857;
    font-size: 1.25rem;
}

.reviews-insights-header h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;       /* Changed from 1.125rem to 1.5rem */
    font-weight: 600;
    color: #2e5d75;
    margin: 0;
    line-height: 1.2;
}

/* Keep the h4 rule as fallback but h3 will take precedence */
.reviews-insights-header h4 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2e5d75;
    margin: 0;
    line-height: 1.2;
}

.reviews-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5e6d74;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.reviews-section-label i {
    font-size: 0.875rem;
    color: #d0a857;
}

/* Keywords Cloud */
.reviews-keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.reviews-keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: rgba(134, 195, 164, 0.1);
    color: #86c3a4;
    border: 1px solid rgba(134, 195, 164, 0.2);
    transition: all 0.2s ease;
    cursor: default;
    font-family: 'Inter', sans-serif;
}

.reviews-keyword-tag:hover {
    background: rgba(134, 195, 164, 0.2);
    transform: translateY(-2px);
}

.reviews-keyword-tag i {
    font-size: 0.75rem;
}

.reviews-keyword-count {
    background: rgba(134, 195, 164, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #5a9d7d;
}

/* Practice Area Mentions */
.reviews-practice-mentions {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.reviews-practice-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fcf9f5;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.reviews-practice-item:hover {
    background: #eaf2f4;
}

.reviews-practice-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(46, 93, 117, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e5d75;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.reviews-practice-info {
    flex: 1;
}

.reviews-practice-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2e5d75;
    margin-bottom: 0.125rem;
}

.reviews-practice-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #5e6d74;
}

/* Sentiment Overview */
.reviews-sentiment-overview {
    background: linear-gradient(135deg, #eaf2f4 0%, #fcf9f5 100%);
    border-radius: 8px;
    padding: 1rem;
}

.reviews-sentiment-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.reviews-sentiment-stat {
    text-align: center;
    flex: 1;
}

.reviews-sentiment-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.reviews-sentiment-value.positive {
    color: #86c3a4;
}

.reviews-sentiment-value.neutral {
    color: #d0a857;
}

.reviews-sentiment-value.negative {
    color: #e27d60;
}

.reviews-sentiment-value i {
    font-size: 1.25rem;
}

.reviews-sentiment-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #5e6d74;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-insights-panel {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #eaf2f4;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .reviews-sentiment-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .reviews-sentiment-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .reviews-keywords-cloud {
        justify-content: center;
    }

    .reviews-practice-mentions {
        gap: 0.5rem;
    }

    .reviews-practice-item {
        padding: 0.5rem;
    }
}

/* Sentiment Overview - Updated for left column placement */
.reviews-sentiment-overview {
    background: linear-gradient(135deg, #eaf2f4 0%, #fcf9f5 100%);
    border-radius: 8px;
    padding: 1rem;
}

.reviews-sentiment-stats {
    display: flex;
    justify-content: space-between; /* Changed from space-around to space-between */
    gap: 0.75rem; /* Reduced gap for tighter spacing */
}

.reviews-sentiment-stat {
    text-align: center;
    flex: 1;
}

.reviews-sentiment-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem; /* Reduced from 1.5rem for better fit */
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.reviews-sentiment-value.positive {
    color: #86c3a4;
}

.reviews-sentiment-value.neutral {
    color: #d0a857;
}

.reviews-sentiment-value.negative {
    color: #e27d60;
}

.reviews-sentiment-value i {
    font-size: 1rem; /* Reduced from 1.25rem */
}

.reviews-sentiment-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem; /* Slightly smaller */
    color: #5e6d74;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-insights-panel {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #eaf2f4;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .reviews-sentiment-stats {
        flex-direction: row; /* Keep horizontal on mobile */
        gap: 0.5rem;
    }

    .reviews-sentiment-value {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .reviews-sentiment-stats {
        flex-direction: column; /* Stack on very small screens */
        gap: 0.75rem;
    }
}

/* === END OF FILE === */;
