/* ======================================================================
   SOFTWARE REVIEWS - COMPREHENSIVE CSS
   Migrated and consolidated from software-detail-template.css on 2025-10-11
   All review-related styles now centralized in this file
   ====================================================================== */

:root {
    --swrev-orange: #ff6b35;
    --swrev-blue: #3b82f6;
    --swrev-purple-start: #6366f1;
    --swrev-purple-end: #8b5cf6;
    --swrev-gray-100: #f8fafc;
    --swrev-gray-200: #e2e8f0;
    --swrev-gray-300: #cbd5e1;
    --swrev-gray-500: #64748b;
    --swrev-gray-600: #475569;
    --swrev-gray-700: #334155;
    --swrev-gray-800: #1e293b;
    --swrev-gray-900: #0f172a;
    --swrev-white: #ffffff;
}

/* Base Container - Aligned with other sections */
.swrev-reviews-tab-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Main Card - Aligned with section standards */
.swrev-overall-card {
    background: var(--swrev-white) !important;
    border: 1px solid var(--swrev-gray-200) !important;
    border-radius: 8px !important;
    padding: 24px !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Overall Rating */
.swrev-overall-rating-container {
    text-align: center !important;
    padding-bottom: 40px !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid var(--swrev-gray-200) !important;
}

.swrev-section-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 32px 0 !important;
    text-align: center !important;
}

.swrev-rating-number {
    font-size: 64px !important;
    font-weight: 700 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 16px 0 !important;
}

/* ==========================================================================
   LAYOUT AND NON-STAR COMPONENTS
   ========================================================================== */

/* Two Column Layout - CRITICAL */
.swrev-review-highlights {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    width: 100% !important;
    align-items: start !important;
}

/* Left Column - Ratings Breakdown */
.swrev-rating-distribution-section .swrev-section-title {
    font-size: 20px !important;
    text-align: left !important;
    margin-bottom: 24px !important;
}

.swrev-rating-distribution {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.swrev-dist-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 4px 0 !important;
}

.swrev-dist-row-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.swrev-dist-label {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 500 !important;
    color: var(--swrev-gray-700) !important;
    font-size: 14px !important;
}

.swrev-dist-star {
    color: var(--swrev-orange) !important;
    font-size: 18px !important;
}

.swrev-dist-percent {
    font-weight: 500 !important;
    color: var(--swrev-gray-600) !important;
    font-size: 14px !important;
}

.swrev-dist-bar {
    height: 8px !important;
    background: var(--swrev-gray-200) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin: 0 8px !important;
}

.swrev-breakdown-fill {
    height: 100% !important;
    background: linear-gradient(90deg, var(--swrev-purple-start) 0%, var(--swrev-purple-end) 100%) !important;
    border-radius: 4px !important;
    transition: width 0.8s ease-out !important;
    /* REMOVED: width: 0% - let inline styles control width */
    transform-origin: left !important;
    min-width: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Ensure bars are visible with proper container styling */
.swrev-dist-bar {
    height: 8px !important;
    background: var(--swrev-gray-200) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin: 0 8px !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* Ensure 0% width bars remain hidden */
.swrev-breakdown-fill[data-width="0"] {
    width: 0% !important;
}

/* Note: Removed hardcoded CSS animations for specific percentages.
   Bar widths are now controlled dynamically by inline styles and JavaScript 
   based on actual rating data from the database. */

/* Active state when animation starts */
.swrev-breakdown-fill.animate-bar {
    transition: width 0.8s ease-out !important;
}

/* Note: .swrev-dist-bar styling moved above to avoid duplication */

/* Add a subtle highlight effect when animating */
.swrev-breakdown-fill.animate-bar::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    animation: shimmer 1.5s ease-out !important;
}

@keyframes shimmer {
    0% {
        left: -100% !important;
    }
    100% {
        left: 100% !important;
    }
}

/* Layout initialization class - triggered by JavaScript */
.swrev-review-highlights.swrev-initialized {
    opacity: 1 !important;
    transform: none !important;
}

/* Right Column - Secondary Ratings */
.swrev-secondary-ratings-section .swrev-section-title {
    font-size: 20px !important;
    text-align: left !important;
    margin-bottom: 24px !important;
}

.swrev-secondary-ratings-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.swrev-secondary-rating-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
}

.swrev-secondary-rating-label {
    font-weight: 500 !important;
    color: var(--swrev-gray-700) !important;
    font-size: 14px !important;
}

.swrev-secondary-rating-value {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.swrev-secondary-number {
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    font-size: 16px !important;
    min-width: 32px !important;
    text-align: right !important;
}

/* Filters */
.swrev-reviews-filters {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 32px 0 24px !important;
    padding: 16px 24px !important;
    background: var(--swrev-gray-100) !important;
    border: 1px solid var(--swrev-gray-200) !important;
    border-radius: 8px !important;
}

.swrev-reviews-sort {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.swrev-sort-select {
    padding: 6px 12px !important;
    border: 1px solid var(--swrev-gray-200) !important;
    border-radius: 4px !important;
    background: var(--swrev-white) !important;
    font-size: 14px !important;
}

.swrev-write-review-btn {
    background: var(--swrev-blue) !important;
    color: var(--swrev-white) !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.swrev-write-review-btn:hover {
    background: #2563eb !important;
    color: var(--swrev-white) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
}

.swrev-write-review-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
}

/* Reviews List */
.swrev-reviews-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.swrev-review-card {
    background: var(--swrev-white) !important;
    border: 1px solid var(--swrev-gray-200) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.2s ease !important;
    overflow: hidden !important;
}

.swrev-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Two-column layout container */
.swrev-review-layout {
    display: grid !important;
    grid-template-columns: 200px 1fr !important;
    min-height: 300px !important;
}

/* Left sidebar styles */
.swrev-reviewer-sidebar {
    background: var(--swrev-gray-100) !important;
    padding: 24px 16px !important;
    border-right: 1px solid var(--swrev-gray-200) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.swrev-reviewer-profile {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.swrev-reviewer-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.swrev-reviewer-sidebar .swrev-avatar {
    width: 60px !important;
    height: 60px !important;
    background: var(--swrev-gray-200) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: var(--swrev-gray-600) !important;
    margin: 0 auto 16px auto !important;
    overflow: hidden !important;
}

/* Avatar variations */
.swrev-avatar-initials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    letter-spacing: 1px !important;
}

.swrev-avatar-image {
    padding: 0 !important;
    background: transparent !important;
}

.swrev-avatar-image .swrev-user-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.swrev-avatar-image img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.swrev-reviewer-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
}

.swrev-verification-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: #e7f5ea !important;
    color: #1e7e34 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
    align-self: flex-start !important;
}

.swrev-verified-icon {
    font-size: 12px !important;
}

.swrev-profile-details {
    margin-top: 16px !important;
    text-align: left !important;
    width: 100% !important;
}

.swrev-profile-item {
    font-size: 13px !important;
    color: var(--swrev-gray-600) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    padding: 2px 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.swrev-review-source {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: var(--swrev-blue) !important;
    margin-top: 12px !important;
    cursor: help !important;
    padding: 4px 0 !important;
    position: relative !important;
}

.swrev-info-icon {
    opacity: 0.8 !important;
    font-size: 14px !important;
    transition: opacity 0.2s ease !important;
}

.swrev-review-source:hover .swrev-info-icon {
    opacity: 1 !important;
}

/* Tooltip for review source */
.swrev-review-source::after {
    content: "This review was submitted organically. No incentive was offered" !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important; /* prevent clipping near card edge */
    transform: none !important;
    background: #333 !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    max-width: 280px !important; /* allow wrapping for full text */
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s ease !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    margin-bottom: 5px !important;
}

.swrev-review-source::before {
    content: "" !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 14px !important; /* align arrow with left-aligned tooltip */
    transform: none !important;
    border: 5px solid transparent !important;
    border-top-color: #333 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.2s ease !important;
    z-index: 1001 !important;
}

.swrev-review-source:hover::after,
.swrev-review-source:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Right content area styles */
.swrev-review-content {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.swrev-content-header {
    border-bottom: 1px solid var(--swrev-gray-200) !important;
    padding-bottom: 16px !important;
}

.swrev-review-meta {
    color: var(--swrev-gray-500) !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.swrev-review-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
}

.swrev-main-rating {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Old main rating star CSS removed - using smst-* system */

/* Old star CSS removed */

.swrev-main-rating .swrev-rating-value {
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin-left: 4px !important;
}

/* Review Header */
.swrev-review-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 24px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid var(--swrev-gray-200) !important;
}

.swrev-reviewer {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    flex: 1 !important;
}

.swrev-avatar {
    width: 48px !important;
    height: 48px !important;
    background: var(--swrev-gray-200) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: var(--swrev-gray-600) !important;
    flex-shrink: 0 !important;
}

.swrev-reviewer-meta {
    flex: 1 !important;
}

.swrev-review-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.swrev-reviewer-name {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--swrev-gray-700) !important;
}

.swrev-verified {
    background: #e7f5ea !important;
    color: #1e7e34 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.swrev-review-date {
    font-size: 13px !important;
    color: var(--swrev-gray-500) !important;
}

.swrev-rating-wrap {
    text-align: right !important;
}

/* Old star CSS removed - using smst-* system */

.swrev-rating-value {
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    font-size: 14px !important;
    margin-left: 8px !important;
}

/* Ratings Breakdown Section */
.swrev-ratings-breakdown {
    margin-bottom: 24px !important;
}

.swrev-ratings-breakdown h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 16px 0 !important;
}

.swrev-secondary-ratings {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.swrev-secondary-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.swrev-rating-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.swrev-secondary-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--swrev-gray-600) !important;
    flex: 1 !important;
}

.swrev-rating-display {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Old rating display star CSS removed - using smst-* system */

.swrev-rating-display .swrev-rating-value {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-700) !important;
    margin-left: 4px !important;
}

/* Pros and Cons - New Layout */
.swrev-pros,
.swrev-cons {
    margin-bottom: 20px !important;
}

.swrev-pros h4,
.swrev-cons h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.swrev-pros h4 {
    color: #28a745 !important;
}

.swrev-cons h4 {
    color: #dc3545 !important;
}

.swrev-pro-icon,
.swrev-con-icon {
    font-size: 16px !important;
}

/* New bullet lists for pros/cons */
.swrev-pros-list,
.swrev-cons-list {
    margin: 0 0 0 18px !important;
    padding: 0 !important;
    list-style: disc !important;
}
.swrev-pros-list li,
.swrev-cons-list li {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--swrev-gray-700) !important;
    margin: 4px 0 !important;
}

/* Reasons for switching section */
.swrev-reasons-section {
    margin: 24px 0 !important;
}

.swrev-reasons-section h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    margin: 0 0 12px 0 !important;
}

.swrev-switching-reason {
    font-style: italic !important;
    padding: 16px !important;
    background: var(--swrev-gray-100) !important;
    border-left: 4px solid var(--swrev-blue) !important;
    border-radius: 0 8px 8px 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--swrev-gray-700) !important;
}

/* Review actions */
.swrev-review-actions {
    text-align: left !important;
    margin-top: 20px !important;
}

.swrev-read-less {
    color: var(--swrev-blue) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.swrev-read-less:hover {
    text-decoration: underline !important;
}

/* Collapsed state: hide long sections until user clicks Read More */
.swrev-review-content.swrev-collapsed .swrev-pros,
.swrev-review-content.swrev-collapsed .swrev-cons,
.swrev-review-content.swrev-collapsed .swrev-review-body,
.swrev-review-content.swrev-collapsed .swrev-reasons-section,
.swrev-review-content.swrev-collapsed .swrev-vendor-response {
    display: none !important;
}

/* Ensure toggle link is styled consistently for both labels */
.swrev-review-actions .swrev-read-less {
    cursor: pointer !important;
}

/* Review Body */
.swrev-review-body {
    margin-bottom: 24px !important;
}

.swrev-review-body p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--swrev-gray-700) !important;
    margin: 0 0 16px 0 !important;
}

/* Vendor Response */
.swrev-vendor-response {
    background: #f8f9fa !important;
    border-left: 4px solid var(--swrev-blue) !important;
    padding: 20px !important;
    border-radius: 0 8px 8px 0 !important;
    margin-bottom: 20px !important;
}

.swrev-vendor-response-header {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--swrev-blue) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.swrev-vendor-response-body p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--swrev-gray-700) !important;
    margin: 0 0 8px 0 !important;
}

.swrev-vendor-response-body small {
    color: var(--swrev-gray-500) !important;
    font-size: 12px !important;
}

/* Review Footer */
.swrev-review-footer {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--swrev-gray-200) !important;
}

.swrev-helpful,
.swrev-not-helpful {
    background: none !important;
    border: 1px solid var(--swrev-gray-300) !important;
    color: var(--swrev-gray-600) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.swrev-helpful:hover {
    background: #e7f5ea !important;
    border-color: #28a745 !important;
    color: #1e7e34 !important;
}

.swrev-not-helpful:hover {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
    color: #721c24 !important;
}

.swrev-helpful-count {
    font-weight: 600 !important;
}

/* No Reviews */
.swrev-no-reviews {
    text-align: center !important;
    padding: 40px 20px !important;
    color: var(--swrev-gray-600) !important;
}

/* ======================================================================
   REVIEW BUTTONS AND INTERACTIONS
   Migrated from software-detail-template.css
   ====================================================================== */

/* Write Review Button - Default and Hover States */
.sm-write-review-btn {
    background-color: white !important;
    color: #2563eb !important;
    border-color: #2563eb !important;
    border: 1px solid #2563eb !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    height: 44px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sm-write-review-btn:hover {
    background-color: #f0f5ff !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
    text-decoration: none !important;
}

/* Reviewed State Styling */
.sm-write-review-btn.reviewed {
    background-color: #10b981 !important;
    color: white !important;
    border-color: #10b981 !important;
}

.sm-write-review-btn.reviewed:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
}

/* ======================================================================
   REVIEW VERIFICATION AND QUALITY INDICATORS
   Migrated from software-detail-template.css
   ====================================================================== */

.sm-verified-reviews {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    font-weight: normal !important;
}

.sm-verified-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background-color: #6366f1 !important;
    color: white !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    font-size: 12px !important;
}

.sm-how-determined {
    color: #6366f1 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    font-weight: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.sm-how-determined .dashicons {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
    border-radius: 50% !important;
    background: #6366f1 !important;
    color: white !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ======================================================================
   REVIEWS TAB VISIBILITY AND DISPLAY FIXES
   Migrated from software-detail-template.css  
   ====================================================================== */

/* Reviews Tab Visibility Fix */
#reviews.active,
#reviews.sm-tab-pane.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    z-index: 5 !important;
}

#reviews.active .sm-reviews-section,
#reviews.active .sm-reviews-header,
#reviews.active .sm-reviews-list,
#reviews.active .sm-reviews-filters,
#reviews.active .sm-review-highlights,
.sm-tab-pane#reviews.active * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

#reviews.active .sm-review-highlights {
    display: flex !important;
}

/* ======================================================================
   CRITICAL REVIEW OVERRIDES - HIGH PRIORITY
   Migrated from software-detail-template.css - ensures proper layout
   ====================================================================== */

/* SWREV REVIEWS SECTION - DUPLICATE REMOVED - See line 120 for main definition */

/* .swrev-overall-card - DUPLICATE REMOVED - See line 32 for main definition */

/* STAR RATINGS - DUPLICATE REMOVED - See base star definitions above */

/* DISTRIBUTION BARS - DUPLICATE REMOVED - See definitions above */

/* SECONDARY STARS - DUPLICATE REMOVED - See base definitions above */

/* TYPOGRAPHY - DUPLICATE REMOVED - See base definitions above */

/* ULTRA HIGH PRIORITY OVERRIDES FOR SWREV CLASSES */
html body .swrev-reviews-tab-content .swrev-rating-stars,
html body .swrev-reviews-tab-content .swrev-secondary-stars,
html body #reviews.active .swrev-reviews-tab-content .swrev-rating-stars,
html body #reviews.active .swrev-reviews-tab-content .swrev-secondary-stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    justify-content: center !important;
}

/* Old ultra high priority overrides removed */

/* Responsive */
/* ======================================================================
   CRITICAL STAR ALIGNMENT FIXES
   Prevents vertical star alignment issues across all themes
   ====================================================================== */

/* HIGHEST PRIORITY STAR FIX - LOAD FIRST */
.swrev-rating-stars,
.swrev-secondary-stars,
.sm-rating-stars,
.sm-secondary-stars,
.sm-horizontal-stars,
*[class*="swrev-rating-stars"],
*[class*="swrev-secondary-stars"],
*[class*="sm-rating-stars"],
*[class*="sm-secondary-stars"],
*[class*="sm-horizontal-stars"] {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    vertical-align: middle !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    clear: none !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Old star alignment fixes removed - using modern smst-* classes */

/* Old star CSS rules removed - using modern smst-* classes */

/* Old theme conflict overrides removed - using modern smst-* classes */

@media (max-width: 768px) {
    .swrev-overall-card {
        padding: 24px !important;
    }
    
    .swrev-review-highlights {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .swrev-rating-number {
        font-size: 48px !important;
    }
    
    /* Mobile star sizes handled by smst-* classes */
    
    .swrev-reviews-filters {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
    }
    
    /* Mobile review summary card positioning (migrated) */
    .sm-review-summary-card {
        position: static !important;
        top: auto !important;
        margin-top: 0 !important;
    }
    
    /* Mobile write review button styles (migrated) */
    .sm-write-review-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        min-width: 120px !important;
        height: 40px !important;
    }
    
    /* Mobile overall rating display handled by smst-* classes */
    
    /* Review Cards on Mobile - Two Column Layout */
    .swrev-review-layout {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr !important;
    }
    
    .swrev-reviewer-sidebar {
        border-right: none !important;
        border-bottom: 1px solid var(--swrev-gray-200) !important;
        padding: 20px !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: 16px !important;
    }
    
    .swrev-reviewer-sidebar .swrev-avatar {
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
    
    .swrev-avatar-initials {
        font-size: 14px !important;
    }
    
    .swrev-reviewer-info {
        flex: 1 !important;
    }
    
    .swrev-verification-badge {
        margin-bottom: 8px !important;
        align-self: flex-start !important;
    }
    
    .swrev-review-content {
        padding: 20px !important;
    }
    
    .swrev-secondary-ratings {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .swrev-review-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    
    .swrev-helpful,
    .swrev-not-helpful {
        justify-content: center !important;
    }
}

/* Additional Mobile Styles - 480px breakpoint */
@media (max-width: 480px) {
    /* Full width review buttons on small mobile devices (migrated) */
    .sm-write-review-btn {
        width: 100% !important;
    }
    
    /* Very small screen star sizes handled by smst-* classes */
}

/* ======================================================================
   MODERN SMST-* STAR SYSTEM - CLEAN AND CONFLICT-FREE
   ====================================================================== */

/* ==========================================================================
   SMST REVIEW STARS FOR CONSISTENT INTEGRATION
   ========================================================================= */

/* Review Stars Container */
/* Reset any gradient/text-clip hacks coming from other sheets */
.swrev-reviews-tab-content .smst-review-star-partial,
.swrev-reviews-tab-content .smst-similar-star-partial,
.swrev-reviews-tab-content .smst-header-star-partial {
    background: transparent !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #e5e7eb !important; /* base gray; orange applied via ::before */
}

.swrev-reviews-tab-content .smst-review-stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
    line-height: 1 !important;
    margin: 0 !important;
    vertical-align: middle !important;
    text-decoration: none !important; /* prevent underlines from themes */
}

/* Individual Review Stars */
.swrev-reviews-tab-content .smst-review-stars .smst-review-star {
    position: relative !important;
    display: inline-block !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #e5e7eb !important;
    margin: 0 2px !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    float: none !important;
    text-decoration: none !important;
}

.swrev-reviews-tab-content .smst-review-stars .smst-review-star-filled {
    color: var(--swrev-orange) !important;
}

.swrev-reviews-tab-content .smst-review-stars .smst-review-star-empty {
    color: #e5e7eb !important;
}

.swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial {
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    background: transparent !important;
}

.swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial::before {
    /* ensure we win over gradient rules */
    background: transparent !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: var(--fill-width, 50%) !important;
    overflow: hidden !important;
    color: var(--swrev-orange) !important;
    z-index: 10 !important;
    display: block !important;
    background: transparent !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* EMERGENCY MAXIMUM SPECIFICITY FOR REVIEWS - Fix display issues */
html body .swrev-reviews-tab-content .smst-review-stars,
html body #reviews .smst-review-stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    vertical-align: middle !important;
    margin: 0 !important;
    text-decoration: none !important;
}

html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star,
html body #reviews .smst-review-stars .smst-review-star {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 2px !important;
    position: relative !important;
    color: #e5e7eb !important;
    font-size: 24px !important;
    overflow: hidden !important;
}

html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-filled,
html body #reviews .smst-review-stars .smst-review-star-filled {
    color: var(--swrev-orange) !important;
}

html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial::before,
html body #reviews .smst-review-stars .smst-review-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: var(--fill-width, 50%) !important;
    overflow: hidden !important;
    color: var(--swrev-orange) !important;
    z-index: 999 !important;
    display: block !important;
    background: transparent !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Data attribute fallbacks for reviews */
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="80"]::before {
    width: 80% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="60"]::before {
    width: 60% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="70"]::before {
    width: 70% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="90"]::before {
    width: 90% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="30"]::before {
    width: 30% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="40"]::before {
    width: 40% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="20"]::before {
    width: 20% !important;
}
html body .swrev-reviews-tab-content .smst-review-stars .smst-review-star-partial[data-fill="10"]::before {
    width: 10% !important;
}

/* ==========================================================================
   SPECIFIC TARGETING FOR OVERALL RATING CARD - HIGHEST PRIORITY
   This specifically targets the overall rating display in swrev-overall-card
   ========================================================================== */

/* Overall rating card star container */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

/* Overall rating card individual stars */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 2px !important;
    position: relative !important;
    color: #e5e7eb !important;
    font-size: 48px !important; /* Larger size for overall rating */
    overflow: hidden !important;
    font-family: Arial, sans-serif !important;
}

/* Overall rating card filled stars */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-filled {
    color: var(--swrev-orange) !important;
}

/* Overall rating card empty stars */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-empty {
    color: #e5e7eb !important;
}

/* Overall rating card partial stars */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial {
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    background: transparent !important;
}

/* Overall rating card partial star overlay */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: var(--fill-width, 50%) !important;
    overflow: hidden !important;
    color: var(--swrev-orange) !important;
    z-index: 999 !important;
    display: block !important;
    background: transparent !important;
    font-size: 48px !important;
    line-height: inherit !important;
    font-family: Arial, sans-serif !important;
}

/* Data attribute fallbacks specifically for overall rating card */
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="60"]::before {
    width: 60% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="70"]::before {
    width: 70% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="80"]::before {
    width: 80% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="30"]::before {
    width: 30% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="40"]::before {
    width: 40% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="50"]::before {
    width: 50% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="20"]::before {
    width: 20% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="10"]::before {
    width: 10% !important;
}
html body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="90"]::before {
    width: 90% !important;
}

/* ==========================================================================
   ULTIMATE SPECIFICITY FIXES FOR PARTIAL STARS - NUCLEAR OPTION
   ========================================================================== */

/* Ensure partial stars have the correct base styling */
body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial {
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    background: transparent !important;
    display: inline-block !important;
    font-size: 48px !important;
    margin: 0 2px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    font-family: Arial, sans-serif !important;
}

/* Ultimate specificity for partial star ::before elements - NO CSS VARIABLES */
body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 50% !important; /* Default 50% if no data-fill attribute */
    overflow: hidden !important;
    color: #ff6b35 !important;
    z-index: 1000 !important;
    display: block !important;
    background: transparent !important;
    font-size: 48px !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
}

/* Ultimate data attribute specificity */
body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="60"]::before {
    width: 60% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="80"]::before {
    width: 80% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="10"]::before {
    width: 10% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="20"]::before {
    width: 20% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="30"]::before {
    width: 30% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="40"]::before {
    width: 40% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="50"]::before {
    width: 50% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="70"]::before {
    width: 70% !important;
    color: #ff6b35 !important;
    display: block !important;
}

body .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="90"]::before {
    width: 90% !important;
    color: #ff6b35 !important;
    display: block !important;
}

/* Ensure no other pseudo-elements interfere */
body .swrev-overall-card .smst-review-star:not(.smst-review-star-partial)::before,
body .swrev-overall-card .smst-review-star:not(.smst-review-star-partial)::after {
    content: none !important;
    display: none !important;
}

/* Force visibility */
body .swrev-overall-card .smst-review-stars .smst-review-star {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

/* ==========================================================================
   NUCLEAR OVERRIDE FOR software-detail-template.css CONFLICTS
   ========================================================================== */

/* Override the conflicting font-size from software-detail-template.css */
html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star {
    font-size: 48px !important;
    position: relative !important;
    color: #e5e7eb !important;
    margin: 0 2px !important;
    overflow: hidden !important;
    display: inline-block !important;
    /* Override gradient background from software-detail-template.css */
    background: transparent !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #e5e7eb !important;
}

/* Override filled stars */
html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-filled {
    color: #ff6b35 !important;
    background: transparent !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

/* Override partial stars - disable gradient, enable ::before */
html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial {
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    /* DISABLE gradient background from software-detail-template.css */
    background: transparent !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    font-size: 48px !important;
}

/* Nuclear ::before override */
html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 60% !important; /* Default to 60% for our use case */
    overflow: hidden !important;
    color: #ff6b35 !important;
    z-index: 2000 !important;
    display: block !important;
    background: transparent !important;
    font-size: 48px !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Nuclear data attribute overrides */
html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="60"]::before {
    width: 60% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="80"]::before {
    width: 80% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="70"]::before {
    width: 70% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="50"]::before {
    width: 50% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="40"]::before {
    width: 40% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="30"]::before {
    width: 30% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="20"]::before {
    width: 20% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="10"]::before {
    width: 10% !important;
    color: #ff6b35 !important;
    display: block !important;
}

html body .sm-software-detail .swrev-overall-card .swrev-overall-rating-display .smst-review-stars .smst-review-star-partial[data-fill="90"]::before {
    width: 90% !important;
    color: #ff6b35 !important;
    display: block !important;
}

/* ==========================================================================
   SECONDARY RATINGS USING SMST-SIMILAR-STARS IN REVIEWS CONTEXT
   This fixes the secondary ratings that are using smst-similar-stars classes
   ========================================================================== */

/* Secondary ratings using smst-similar-stars */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1px !important;
    vertical-align: middle !important;
    margin: 0 4px 0 0 !important;
}

html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 1px !important;
    position: relative !important;
    color: #e5e7eb !important;
    font-size: 28px !important; /* Larger size for secondary ratings */
    overflow: hidden !important;
    font-family: Arial, sans-serif !important;
}

/* Secondary ratings filled stars */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-filled {
    color: var(--swrev-orange) !important;
}

/* Secondary ratings empty stars */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-empty {
    color: #e5e7eb !important;
}

/* Secondary ratings partial stars */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial {
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    background: transparent !important;
}

/* Secondary ratings partial star overlay */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: var(--fill-width, 50%) !important;
    overflow: hidden !important;
    color: var(--swrev-orange) !important;
    z-index: 999 !important;
    display: block !important;
    background: transparent !important;
    font-size: 28px !important;
    line-height: inherit !important;
    font-family: Arial, sans-serif !important;
}

/* Star rating numeric value next to stars */
.swrev-reviews-tab-content .smst-review-star-rating-value,
.smst-review-star-rating-value {
    margin-left: 6px !important;
    font-weight: 600 !important;
    color: var(--swrev-gray-800) !important;
    font-size: 16px !important;
}

/* Header stars (top section near software title) */
.smst-header-stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    line-height: 1 !important;
}
.smst-header-stars .smst-header-star {
    position: relative !important;
    display: inline-block !important;
    font-size: 32px !important;
    color: #e5e7eb !important;
    margin: 0 1px !important;
    vertical-align: middle !important;
}
.smst-header-stars .smst-header-star-filled { color: #ff6b35 !important; }
.smst-header-stars .smst-header-star-empty { color: #e5e7eb !important; }
.smst-header-stars .smst-header-star-partial { position: relative !important; overflow: hidden !important; }
.smst-header-stars .smst-header-star-partial::before {
    content: "★" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: var(--fill-width, 50%) !important;
    color: #ff6b35 !important;
}

/* Data attribute fallbacks for secondary ratings */
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="60"]::before {
    width: 60% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="70"]::before {
    width: 70% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="80"]::before {
    width: 80% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="30"]::before {
    width: 30% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="40"]::before {
    width: 40% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="50"]::before {
    width: 50% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="20"]::before {
    width: 20% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="10"]::before {
    width: 10% !important;
}
html body .swrev-overall-card .swrev-secondary-rating-value .smst-similar-stars .smst-similar-star-partial[data-fill="90"]::before {
    width: 90% !important;
}
