/* ============================================
   COMPLETE FLATTENED TEMPLATE CSS
   Full gpt-review-template.css file - SCROLLS WITH HIDDEN SCROLLBAR
   ============================================ */

/* OUTER WRAPPER - Minimal spacing */
.review-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* MAIN CONTENT - No wrapper box, just content */
.review-main {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Optional: Add class "with-box" to main tag if you want a subtle container */
.review-main.with-box {
    background: white;
    /*border: 1px solid #e2e8f0;*/
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Card gets normal spacing */
.review-main > .gpt-comprehensive-card {
    margin: 30px 0;
}

/* First element no top margin */
.review-main > *:first-child {
    margin-top: 0;
}

/* Last Updated Badge */
.last-updated {
    display: inline-block;
    background: #f0f8ff;
    color: #055d87;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Platform Category Badge */
.platform-category {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-left: 10px;
}

/* Stack badges on mobile */
@media (max-width: 768px) {
    .platform-category {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Setup Guide Alert Box */
.setup-guide-alert {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 24px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.alert-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content h3 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 20px;
    font-weight: 700;
}

.alert-content p {
    margin: 0 0 12px 0;
    color: #856404;
    font-size: 15px;
    line-height: 1.6;
}

.alert-link {
    display: inline-block;
    background: #ffc107;
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s;
}

.alert-link:hover {
    background: #ffb300;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .setup-guide-alert {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    
    .alert-icon {
        font-size: 24px;
    }
    
    .alert-content h3 {
        font-size: 18px;
    }
}

/* Title */
.review-main h1 {
    font-size: 36px;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
}

/* What Is Section */
.what-is-section {
    background: #f8fafc;
    border-left: 4px solid #1F6A95;
    padding: 25px 30px;
    margin: 0 0 30px 0;
    border-radius: 0;
    line-height: 1.8;
}
.what-is-section h2 {
    font-size: 24px;
    color: #0c4a6e;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.what-is-section p {
    margin-bottom: 14px;
    color: #334155;
    font-size: 16px;
}

.what-is-section p:last-child {
    margin-bottom: 0;
}

.what-is-section strong {
    color: #0c4a6e;
    font-weight: 700;
}

/* Intro Text */
.intro-text {
    font-size: 18px;
    color: #555;
    margin: 0 0 30px 0;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 16px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Personal Experience */
.personal-experience {
    background: #fff8e1;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personal-experience::before {
    content: "💡 My Experience:";
    display: block;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 12px;
    font-size: 16px;
}

.personal-experience p {
    margin-bottom: 12px;
}

.personal-experience p:last-child {
    margin-bottom: 0;
}

/* CTA Buttons */
.btn-primary {
    display: inline-block;
    background: #055d87;
    color: white !important;
    padding: 16px 32px;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary:hover {
    background: #034063;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(5, 93, 135, 0.3);
}

/* Review Content */
.review-content {
    margin: 40px 0;
}

.review-content h2 {
    font-size: 28px;
    margin: 40px 0 20px 0;
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 3px solid #055d87;
    padding-bottom: 10px;
}

.review-content h3 {
    font-size: 22px;
    margin: 30px 0 16px 0;
    color: #1a1a1a;
    font-weight: 600;
}

.review-content h4 {
    font-size: 18px;
    margin: 24px 0 12px 0;
    color: #1a1a1a;
    font-weight: 600;
}

.review-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.review-content ul,
.review-content ol {
    margin: 16px 0 16px 20px;
    line-height: 1.8;
}

.review-content li {
    margin-bottom: 8px;
}

.review-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Compare Section */
.compare-section {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.compare-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
}

.compare-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.compare-link {
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #055d87 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.2s;
}

.compare-link:hover {
    border-color: #055d87;
    background: #f0f8ff;
}

/* Final CTA */
.final-cta {
    text-align: center;
    margin: 40px 0 20px 0;
}

/* ============================================
   SIDEBAR STYLING - SCROLLS BUT NO VISIBLE SCROLLBAR
   ============================================ */

.review-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE and Edge */
    -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.review-sidebar::-webkit-scrollbar {
    display: none;
}

/* Sidebar Box Base Style */
.sidebar-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-box h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 700;
}

/* Sidebar CTA Box */
.sidebar-cta {
    background: #1F6A95;
    color: white;
    text-align: center;
    padding: 30px 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-cta h3 {
    color: white !important;
    margin: 0 0 12px 0;
    font-size: 20px;
}

.sidebar-cta p {
    color: white !important;
    margin: 0 0 20px 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.btn-sidebar {
    display: block;
    background: white;
    color: #055d87 !important;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 16px;
    transition: all 0.2s;
}

.btn-sidebar:hover {
    background: #f0f8ff;
    transform: scale(1.02);
}

/* Quick Stats */
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item:first-child {
    padding-top: 0;
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #055d87;
}

/* Quick Jump Navigation - TIGHT SPACING */
.quick-jump {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-jump li {
    margin-bottom: 2px;
}

.quick-jump li:last-child {
    margin-bottom: 0;
}

.quick-jump a {
    color: #055d87;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.quick-jump a:hover {
    background: #f0f8ff;
    padding-left: 16px;
}

/* Other Reviews - TIGHT SPACING */
.other-reviews {
    list-style: none;
    margin: 0;
    padding: 0;
}

.other-reviews li {
    margin-bottom: 6px;
}

.other-reviews li:last-child {
    margin-bottom: 0;
}

.other-reviews a {
    color: #055d87;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.other-reviews a:hover {
    background: #f0f8ff;
}

.rating-badge {
    background: #4caf50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .review-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 10px !important;
    }
    
    .review-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .review-main.with-box {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* HIDE SIDEBAR COMPLETELY ON MOBILE */
    .review-sidebar {
        display: none !important;
    }
    
    .review-main h1 {
        font-size: 32px;
    }
    
    .what-is-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .review-wrapper {
        margin: 0;
        padding: 10px !important;
    }
    
    .review-main h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    
    .review-main h2 {
        font-size: 22px;
    }
    
    .review-main h3 {
        font-size: 18px;
    }
    
    .what-is-section {
        padding: 14px;
    }
    
    .what-is-section h2 {
        font-size: 20px;
    }
    
    .what-is-section p {
        font-size: 15px;
    }
    
    .intro-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .compare-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .compare-link {
        padding: 12px 14px;
    }
    
    .compare-section {
        padding: 14px;
    }
    
    .personal-experience {
        padding: 14px;
    }
}

@media (max-width: 544px) {
    .review-main h1 {
        font-size: 22px;
    }
    
    .review-main h2 {
        font-size: 19px;
    }
    
    .review-main h3 {
        font-size: 16px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .btn-primary {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .what-is-section,
    .personal-experience,
    .compare-section {
        padding: 12px;
    }
    
    .what-is-section h2 {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .review-main h1 {
        font-size: 20px;
    }
    
    .what-is-section,
    .personal-experience,
    .compare-section {
        padding: 10px;
    }
}