.review-profile-initials {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(6, 2, 24, 1);
    text-align: center;
}

/* Profile picture initials styling - Mobile */
.review-profile-initials-mobile {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    color: rgba(6, 2, 24, 1);
    text-align: center;
}

/* Name styling - Desktop */
.review-name {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
    margin: 0;
}

/* Name styling - Mobile */
.review-name-mobile {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
    margin: 0;
}

/* Time styling - Desktop */
.review-time {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(6, 2, 24, 1);
    margin: 0;
}

/* Time styling - Mobile */
.review-time-mobile {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0%;
    color: rgba(6, 2, 24, 1);
    margin: 0;
}

/* Review Description Styling - Desktop */
.review-description {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 380;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
    margin: 0;
    opacity: 0.8;
}

/* Review Description Styling - Mobile */
.review-description-mobile {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
    margin: 0;
}

/* Review Section Title */
.review-section-title {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 550;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
}

/* Review Header Section */
.review-header-section {
    margin-bottom: 24px;
}

/* Divider Line */
.review-divider {
    width: 100%;
    height: 1px;
    border: 0.5px solid rgba(234, 235, 236, 1);
    margin: 40px 0;
}

/* Overall rating stars container - Horizontal */
.overall-rating-stars-container {
    display: flex;
    align-items: center;
    gap: 20px; /* 20px gap between stars and score */
}

/* Horizontal star display */
.overall-rating-stars-container .flex {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Overall rating score display - beside stars */
.overall-rating-score-display {
    font-family: 'Acumin Pro', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: #060218;
    padding: 4px 8px;
    background: rgba(6, 2, 24, 0.1);
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
}

/* Individual overall stars in horizontal layout */
.overall-rating-stars-container svg {
    width: 20px;
    height: 19px;
    transition: all 0.2s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Hover effects for overall rating stars */
.overall-rating-stars-container:hover svg {
    transform: scale(1.05);
}

.review__details {
    margin-top: 20px;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.review-text-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.review-attachments-beside {
    width: auto !important;
    min-width: fit-content !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
}

.review__details .review-attachments-beside .grid {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)) !important;
    gap: 8px !important;
    max-width: 280px !important;
}

.review-attachments-beside .grid > div {
    position: relative !important;
    width: 84px !important;
    height: 84px !important;
    cursor: pointer !important;
    border-radius: 8px !important; /* Radius-S */
    padding: 4px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: rgba(248, 250, 252, 0.5) !important;
    border: 1px solid rgba(229, 231, 235, 0.3) !important;
    transition: all 0.2s ease !important;
}

.review-attachments-beside .grid > div:hover {
    transform: scale(1.02) !important;
    border-color: rgba(185, 187, 193, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.review-attachments-beside img {
    width: 76px !important; /* 84px - 8px padding */
    height: 76px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    background: transparent !important;
}

/* Video wrapper - 84x84 */
.review-attachments-beside .video-wrapper {
    width: 76px !important;
    height: 76px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}.review-attachments-beside .video__style {
    width: 76px !important;
    height: 76px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}
.review-attachments-beside .video-play-button {
    width: 28px !important;
    height: 28px !important;
}

.review-attachments-beside .video-play-icon {
    width: 14px !important;
    height: 14px !important;
}

@media (max-width: 768px) {
    .review__details {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .review-attachments-beside {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important;
    }
    
    .review-text-content {
        order: 1 !important;
    }
    
    /* Mobile attachment grid */
    .review-attachments-beside .grid {
        grid-template-columns: repeat(auto-fill, 84px) !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }
    
    /* Mobile scrollable attachments */
    .review-attachments-beside {
        overflow-x: auto !important;
        scrollbar-width: thin !important;
        scrollbar-color: #d1d5db #f3f4f6 !important;
    }
    
    .review-attachments-beside::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .review-attachments-beside::-webkit-scrollbar-track {
        background: #f3f4f6 !important;
        border-radius: 2px !important;
    }
    
    .review-attachments-beside::-webkit-scrollbar-thumb {
        background: #d1d5db !important;
        border-radius: 2px !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 640px) {
    .review-attachments-beside .grid > div {
        width: 76px !important;
        height: 76px !important;
    }
    
    .review-attachments-beside img,
    .review-attachments-beside .video-wrapper,
    .review-attachments-beside .video__style {
        width: 68px !important;
        height: 68px !important;
    }
    
    .review-attachments-beside .video-play-button {
        width: 24px !important;
        height: 24px !important;
    }
    
    .review-attachments-beside .video-play-icon {
        width: 12px !important;
        height: 12px !important;
    }
}

.review-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 1);
}

/* Video preview container styling */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.video__style{
    border-radius: 30px;
}

.image__style{
    border-radius: 30px;
}

/* Play button overlay - Main style */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: none; /* Don't block video clicks */
}

/* Hover effect */
.video-wrapper:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Play button circle */
.video-play-button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

/* Hover play button effect */
.video-wrapper:hover .video-play-button {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    animation: none;
}

/* Play icon (SVG) */
.video-play-icon {
    width: 24px;
    height: 24px;
    color: #1f2937; /* Tailwind gray-800 */
    margin-left: 2px; /* Visual centering */
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ENHANCED LIGHTBOX STYLES - Full screen */

/* Lightbox modal - Full screen overlay */
.lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(2px) !important;
    overflow: hidden !important;
    animation: lightbox-fade-in 0.3s ease-out !important;
}

/* Lightbox content container */
.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw !important;
    max-height: 95vh !important;
    width: auto !important;
    height: auto !important;
}

/* Lightbox image styling */
.lightbox-image {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

/* Lightbox video styling */
.lightbox-video {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    outline: none !important;
}

/* Close button - Enhanced */
.lightbox-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 100000 !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Navigation buttons - Enhanced */
.lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100000 !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.lightbox-nav.prev {
    left: 30px !important;
}

.lightbox-nav.next {
    right: 30px !important;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Attachment info - Enhanced */
.lightbox-info {
    position: absolute !important;
    bottom: 30px !important;
    left: 30px !important;
    z-index: 100000 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    backdrop-filter: blur(10px) !important;
    font-family: 'Acumin Pro', sans-serif !important;
}

.lightbox-info .counter {
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
}

.lightbox-info .type {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Loading animation for lightbox */
.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
}

.lightbox-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: lightbox-spin 1s linear infinite;
}

@keyframes lightbox-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade in animation */
@keyframes lightbox-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* UNIFIED REVIEWS CONTAINER - No Gaps Between Reviews */

/* Main reviews container with unified background */
.reviews-unified-container {
    background: rgba(255, 255, 255, 1) !important;
    border-radius: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(229, 231, 235, 0.3) !important;
}

/* Individual review cards - remove gaps and borders */
.reviews-unified-container .review-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* First review card styling */
.reviews-unified-container .review-card:first-child {
    border-radius: 16px 16px 0 0 !important;
    padding-top: 24px !important;
}

/* Last review card styling */
.reviews-unified-container .review-card:last-child {
    border-bottom: none !important;
    border-radius: 0 0 16px 16px !important;
    padding-bottom: 24px !important;
}

/* Single review card styling */
.reviews-unified-container .review-card:first-child:last-child {
    border-radius: 16px !important;
    border-bottom: none !important;
}

/* Review header section spacing */
.reviews-unified-container .review-header-section {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(243, 244, 246, 0.7) !important;
}

/* Review divider line adjustments */
.reviews-unified-container .review-divider {
    margin: 20px 0 !important;
    width: 100% !important;
    background: rgba(243, 244, 246, 0.7) !important;
}

/* ENHANCED PAGINATION STYLES - Figma Design */

/* Pagination container - Outside reviews container */
.reviews-pagination-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 24px 0 !important;
    margin-top: 20px !important;
    background: transparent !important;
    border: none !important;
}

/* Navigation arrows - Figma design */
.reviews-pagination-arrow {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(185, 187, 193, 1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #5A5F6B !important;
    transition: all 0.2s ease !important;
}

.reviews-pagination-arrow:hover:not(:disabled) {
    border: 1px solid rgba(156, 163, 175, 1) !important;
    transform: scale(1.05) !important;
}

.reviews-pagination-arrow:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    border-color: rgba(229, 231, 235, 1) !important;
    background: rgba(249, 250, 251, 0.8) !important;
}

.reviews-pagination-arrow svg {
    width: 10px !important;
    height: 16px !important;
    color: inherit !important;
    flex-shrink: 0 !important;
}

/* Page number buttons - Figma design */
.reviews-page-button {
    width: 48px !important;
    height: 48px !important;
    background: rgba(228, 235, 255, 1) !important; /* Azure-2 */
    border: none !important;
    border-radius: 50% !important;
    color: rgba(6, 2, 24, 1) !important; /* Base-Black */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    outline: none !important;
    font-family: 'Acumin Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.reviews-page-button:hover {
    background: rgba(0, 127, 255, 0.1) !important;
    transform: scale(1.05) !important;
}

/* Active page button */
.reviews-page-button.active {
    background: rgba(0, 127, 255, 0.15) !important;
    border: 1px solid rgba(0, 107, 215, 1) !important;
    font-weight: 600 !important;
}

/* Ellipsis styling */
.reviews-pagination-ellipsis {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Acumin Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: rgba(107, 114, 128, 1) !important;
    user-select: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .overall-rating-stars-container {
        gap: 12px;
    }
    
    .overall-rating-score-display {
        font-size: 16px;
        padding: 3px 6px;
        min-width: 35px;
    }
    
    .overall-rating-stars-container svg {
        width: 18px;
        height: 17px;
    }
    
    .review-section-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .reviews-unified-container {
        border-radius: 12px !important;
        margin: 0 !important;
    }
    
    .reviews-unified-container .review-card {
        padding: 16px !important;
    }
    
    .reviews-unified-container .review-card:first-child {
        border-radius: 12px 12px 0 0 !important;
        padding-top: 20px !important;
    }
    
    .reviews-unified-container .review-card:last-child {
        border-radius: 0 0 12px 12px !important;
        padding-bottom: 20px !important;
    }
    
    .reviews-unified-container .review-card:first-child:last-child {
        border-radius: 12px !important;
    }
    
    .reviews-pagination-container {
        padding: 16px 0 !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }
    
    .reviews-pagination-arrow {
        width: 44px !important;
        height: 44px !important;
    }
    
    .reviews-page-button {
        width: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }
    
    .reviews-pagination-ellipsis {
        width: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }
    
    .video-play-button {
        width: 36px;
        height: 36px;
    }
    
    .video-play-icon {
        width: 18px;
        height: 18px;
    }
    
    .lightbox-image,
    .lightbox-video {
        max-width: 95vw !important;
        max-height: 85vh !important;
        border-radius: 8px !important;
    }
    
    .lightbox-close {
        top: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
    
    .lightbox-nav {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
    }
    
    .lightbox-nav.prev {
        left: 15px !important;
    }
    
    .lightbox-nav.next {
        right: 15px !important;
    }
    
    .lightbox-info {
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        text-align: center !important;
        padding: 10px 16px !important;
    }
}

@media (max-width: 640px) {
    .reviews-unified-container {
        border-radius: 8px !important;
    }
    
    .reviews-unified-container .review-card {
        padding: 12px !important;
    }
    
    .reviews-unified-container .review-card:first-child {
        border-radius: 8px 8px 0 0 !important;
        padding-top: 16px !important;
    }
    
    .reviews-unified-container .review-card:last-child {
        border-radius: 0 0 8px 8px !important;
        padding-bottom: 16px !important;
    }
    
    .reviews-unified-container .review-card:first-child:last-child {
        border-radius: 8px !important;
    }
    
    .reviews-pagination-container {
        padding: 12px 0 !important;
        gap: 6px !important;
        margin-top: 12px !important;
    }
    
    .reviews-pagination-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    .reviews-pagination-arrow svg {
        width: 8px !important;
        height: 14px !important;
    }
    
    .reviews-page-button {
        width: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
    }
    
    .reviews-pagination-ellipsis {
        width: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
    }
}

/* Prevent text selection in pagination */
.reviews-pagination-container * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Enhanced visual feedback */
.reviews-pagination-container button:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5) !important;
    outline-offset: 2px !important;
}

/* Smooth transitions for all pagination elements */
.reviews-pagination-container > * {
    transition: all 0.2s ease !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .overall-rating-score-display {
        background: #000000;
        color: #FFFFFF;
        border: 1px solid #000000;
    }
    
    .overall-rating-stars-container svg {
        filter: none;
    }
    
    .reviews-page-button {
        background: #FFFFFF !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
    }
    
    .reviews-page-button.active {
        background: #000000 !important;
        color: #FFFFFF !important;
    }
    
    .reviews-pagination-arrow {
        background: #FFFFFF !important;
        border: 2px solid #000000 !important;
        color: #000000 !important;
    }
    
    .lightbox-modal {
        background: rgb(0, 0, 0) !important;
    }
    
    .lightbox-close,
    .lightbox-nav {
        background: rgb(255, 255, 255) !important;
        color: rgb(0, 0, 0) !important;
    }
    
    .lightbox-info {
        background: rgb(255, 255, 255) !important;
        color: rgb(0, 0, 0) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .overall-rating-stars-container,
    .overall-rating-stars-container svg,
    .reviews-pagination-arrow,
    .reviews-page-button,
    .lightbox-modal,
    .lightbox-close,
    .lightbox-nav,
    .lightbox-image,
    .lightbox-video {
        animation: none !important;
        transition: none !important;
    }
    
    .overall-rating-stars-container:hover svg {
        transform: none;
    }
    
    .reviews-pagination-arrow:hover,
    .reviews-page-button:hover {
        transform: none !important;
    }
}

/* Focus states for accessibility */
.overall-rating-stars-container:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animation for rating appearance */
@keyframes ratingFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overall-rating-stars-container {
    animation: ratingFadeIn 0.5s ease-out;
}

/* Star glow animation on hover */
@keyframes starGlow {
    0%, 100% {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }
    50% {
        filter: drop-shadow(0 2px 8px rgba(6, 2, 24, 0.3));
    }
}

.overall-rating-stars-container svg:hover {
    animation: starGlow 1s ease-in-out infinite;
}

/* Print styles */
@media print {
    .lightbox-modal,
    .reviews-pagination-container {
        display: none !important;
    }
    
    .reviews-unified-container {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}

/* Custom scrollbar for attachments */
.review-attachments {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}

.review-attachments::-webkit-scrollbar {
    height: 6px;
}

.review-attachments::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.review-attachments::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.review-attachments::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.reviews-unified-container .review-card {
    transition: all 0.2s ease !important;
}

/* Focus states */
.reviews-unified-container .review-card:focus-within {
    background: rgba(239, 246, 255, 0.5) !important;
    outline: 2px solid rgba(59, 130, 246, 0.3) !important;
    outline-offset: -2px !important;
}

/* Enhanced visual continuity */
.reviews-unified-container {
    position: relative;
    z-index: 1;
}

/* Ensure proper stacking */
.reviews-unified-container .review-card {
    position: relative;
    z-index: 2;
}

/* Loading state for pagination */
.reviews-pagination-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

/* Page transition effect */
@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reviews-unified-container.page-transition {
    animation: pageTransition 0.3s ease-out;
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .overall-rating-stars-container {
        gap: 16px;
    }
    
    .overall-rating-score-display {
        font-size: 17px;
    }
    
    .review-section-title {
        font-size: 19px;
        line-height: 23px;
    }
    
    .lightbox-image,
    .lightbox-video {
        max-width: 90vw !important;
        max-height: 85vh !important;
    }
}


/* ENHANCED TABS COMPONENT STYLES */

/* Tabs container with bottom divider */
.enhanced-tabs-container {
    position: relative;
    width: 100%;
    background: var(--Colors-Azure-2, rgb(239, 243, 255));
}

/* Navigation container with bottom border */
.enhanced-tabs-nav {
    position: relative;
    border-bottom: 2px solid rgba(198, 213, 255, 1) !important; /* Azure-3 */
    background: var(--Colors-Azure-2, rgb(239, 243, 255));
    padding-bottom: 0 !important;
}

/* Individual tab button styling */
.enhanced-tab-button {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-family: 'Acumin Pro', sans-serif !important;
    font-weight: 500 !important;
    color: rgba(107, 114, 128, 1) !important; /* Neutral gray */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    text-transform: none !important;
    letter-spacing: 0% !important;
    line-height: 1.2 !important;
}

/* Inactive tab hover effect */
.enhanced-tab-button.enhanced-tab-inactive:hover {
    color: rgba(55, 65, 81, 1) !important; /* Darker gray on hover */
    transform: translateY(-1px) !important;
    border-bottom: 0.5px solid rgb(193, 209, 252) !important; /* Azure-3 */

}

/* Active tab styling */
.enhanced-tab-button.enhanced-tab-active {
    color: rgba(0, 0, 0, 1) !important;
}

/* Active tab bottom line - using ::after pseudo-element */
.enhanced-tab-button.enhanced-tab-active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important; /* Position to overlap container border */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important; /* Slightly narrower than button */
    height: 3px !important;
    background: rgba(0, 127, 255, 1) !important; /* Azure-6 - darker blue */
    border-radius: 2px 2px 0 0 !important;
    z-index: 10 !important;
}

/* Tab line slide animation */
@keyframes tabLineSlide {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: calc(100% - 16px);
        opacity: 1;
    }
}

/* Focus states for accessibility */
.enhanced-tab-button:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5) !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

.enhanced-tab-button:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.7) !important;
    outline-offset: 2px !important;
}

/* Enhanced visual feedback */
.enhanced-tab-button:active {
    transform: translateY(0) !important;
    transition: transform 0.1s ease !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .enhanced-tabs-nav {
        gap: 4px !important;
        padding: 0 16px !important;
    }
    
    .enhanced-tab-button {
        font-size: 18px !important;
        line-height: 22px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 12px !important;
    }
    
    .enhanced-tab-button.enhanced-tab-active::after {
        width: calc(100% - 8px) !important;
        height: 2px !important;
    }
}

@media (max-width: 640px) {
    .enhanced-tabs-nav {
        gap: 2px !important;
        padding: 0 8px !important;
    }
    
    .enhanced-tab-button {
        font-size: 16px !important;
        line-height: 20px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 10px !important;
    }
    
    .enhanced-tab-button.enhanced-tab-active::after {
        width: calc(100% - 4px) !important;
        bottom: -2px !important;
    }
}

@media (max-width: 480px) {
    .enhanced-tab-button {
        font-size: 14px !important;
        line-height: 18px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-bottom: 8px !important;
    }
}



/* Enhanced hover effects with subtle animations */
.enhanced-tab-button {
    position: relative;
    overflow: hidden;
}


/* Ensure proper stacking */
.enhanced-tabs-nav {
    z-index: 5;
    position: relative;
}

.enhanced-tab-button.enhanced-tab-active::after {
    z-index: 10;
}