/* ==========================================================================
   Tier-1 Product Reviews Tab Stylesheet
   Location: css/single-product/tab-reviews.css
   Color Theme: #17141c (Zero White, Smooth Hover Arrow, Disabled States)
   ========================================================================== */

.inline-reviews-section {
    width: 100%;
    margin-top: 20px;
    padding-top: 10px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
    background: transparent !important;
}

/* ==========================================================================
   1. HEADER & TABS SWITCHER
   ========================================================================== */
.ir-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ir-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.ir-tabs-container {
    display: flex;
    background-color: #17141c;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    width: fit-content;
}

.ir-tab-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: color 0.2s ease;
    user-select: none;
}

.ir-tab-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.ir-tab-btn.active {
    color: #ffffff !important;
}

.ir-tab-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    background-color: var(--primary-color, #7c3aed);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* ==========================================================================
   2. ENTERPRISE NOTICE BANNER
   ========================================================================== */
.review-info-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #17141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--primary-color, #7c3aed);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 28px;
    animation: fadeInNotice 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes fadeInNotice {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.notice-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background-color: rgba(124, 58, 237, 0.12);
    color: var(--primary-color, #a78bfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.notice-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
}

.notice-content { 
    flex-grow: 1; 
}

.notice-content h4 { 
    font-size: 15px; 
    font-weight: 800; 
    color: #ffffff; 
    margin: 0 0 4px 0; 
    letter-spacing: -0.2px;
}

.notice-content p { 
    font-size: 13.5px; 
    color: #94a3b8; 
    margin: 0; 
    line-height: 1.6; 
}

.notice-dismiss-btn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.notice-dismiss-btn:hover {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.notice-dismiss-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* ==========================================================================
   3. STATE-AWARE CTA BOX
   ========================================================================== */
.ir-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 32px;
    box-sizing: border-box;
}

.ir-cta-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ir-cta-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.ir-cta-subtitle {
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
    color: #94a3b8;
}

.ir-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none !important;
    transform: none !important;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ir-cta-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.ir-cta-box.state-logged_out {
    background-color: #17141c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ir-cta-box.state-logged_out .ir-cta-btn.btn-dark {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ir-cta-box.state-logged_out .ir-cta-btn.btn-dark:hover {
    background-color: var(--primary-color, #7c3aed);
    border-color: var(--primary-color, #7c3aed);
}

.ir-cta-box.state-not_purchased {
    background-color: #17141c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ir-cta-box.state-not_purchased .ir-cta-btn.btn-download { 
    background-color: transparent; 
    color: #ffffff; 
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.ir-cta-box.state-not_purchased .ir-cta-btn.btn-download:hover { 
    background-color: var(--primary-color, #7c3aed);
    border-color: var(--primary-color, #7c3aed);
    color: #ffffff; 
}

.ir-cta-box.state-active {
    background-color: #17141c;
    border: 1px solid rgba(124, 58, 237, 0.35);
}

.ir-cta-box.state-active .ir-cta-title {
    color: #a78bfa;
}

.ir-cta-box.state-active .ir-cta-btn.btn-primary {
    background-color: var(--primary-color, #7c3aed);
    color: #ffffff;
}

.ir-cta-box.state-active .ir-cta-btn.btn-primary:hover {
    background-color: #6d28d9;
}

.ir-cta-box.state-reviewed {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    justify-content: center;
}

/* ==========================================================================
   4. STAFF PINNED REVIEW
   ========================================================================== */
.staff-pinned-wrapper {
    position: relative;
    background-color: #17141c;
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    padding: 30px 34px;
    margin-bottom: 34px;
    overflow: hidden;
    box-sizing: border-box;
}

.staff-pinned-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color, #7c3aed);
}

.staff-quote-watermark {
    position: absolute;
    top: -25px;
    right: 20px;
    font-size: 130px;
    font-family: Georgia, serif;
    font-weight: 900;
    color: #7c3aed;
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.staff-pinned-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.staff-user-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.staff-avatars-combined {
    display: flex;
    align-items: center;
    position: relative;
}

.avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #17141c; 
    position: relative;
    overflow: hidden; 
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-store {
    background-color: #7c3aed; 
    color: #ffffff;
    z-index: 2;
}

.avatar-community {
    background-color: #6366f1; 
    color: #ffffff;
    z-index: 1;
    margin-left: -20px; 
}

.staff-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.staff-eyebrow {
    font-size: 11px;
    font-weight: 800;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.staff-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.staff-name {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.staff-x-multiplier {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    color: #64748b;
}

.staff-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-badge-pill svg {
    width: 11px;
    height: 11px;
}

.staff-stars {
    display: flex;
    gap: 2px;
}

.staff-stars svg {
    width: 15px;
    height: 15px;
    fill: #facc15;
    color: #facc15;
}

.staff-pinned-body {
    position: relative;
    z-index: 2;
}

.staff-review-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.staff-review-text {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   5. UPGRADED "SEE ALL REVIEWS" BUTTON WITH EYE ICON & HOVER GLIDE ARROW
   ========================================================================== */
.ir-view-all-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
}

.tc-label-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background-color: #17141c !important;
    border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    border-radius: 50px !important; 
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
    user-select: none !important;
}

.tc-label-btn:hover:not(.is-disabled) {
    background-color: var(--primary-color, #7c3aed) !important;
    border-color: var(--primary-color, #7c3aed) !important;
    color: #ffffff !important;
}

/* Eye Icon on Left */
.tc-btn-view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tc-btn-view-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    display: block;
}

/* Smooth '>' Arrow on Hover */
.tc-arrow-hover {
    width: 0 !important;
    opacity: 0 !important;
    transform: translateX(-6px) !important;
    stroke: currentColor !important;
    display: block !important;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tc-label-btn:hover:not(.is-disabled) .tc-arrow-hover {
    width: 16px !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    margin-left: 2px !important;
}

/* Disabled State (Zero Reviews or All Reviews Displayed) */
.tc-label-btn.is-disabled,
.tc-label-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #64748b !important;
    background-color: #17141c !important;
}

.tc-label-btn.is-disabled .tc-arrow-hover {
    display: none !important;
}

/* Empty State */
.ir-empty-state {
    text-align: center;
    padding: 50px 20px;
    background-color: #17141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #94a3b8;
}

.ir-empty-state svg {
    width: 44px;
    height: 44px;
    color: #64748b;
    margin-bottom: 12px;
}

.ir-empty-state h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #ffffff;
}

.ir-empty-state p {
    margin: 0;
    font-size: 13.5px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .ir-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .ir-cta-btn {
        width: 100%;
    }

    .tc-label-btn {
        width: 100%;
    }

    .staff-pinned-wrapper {
        padding: 22px 18px;
    }

    .staff-pinned-header {
        flex-direction: column;
    }
}