/* Legacy Access Paywall Styles (matching modern plugin exactly) */

.case-study-restricted {
    margin: 30px 0;
}

/* Paywall */
.case-study-restricted .case-study-paywall {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    max-width: 650px;
    margin: 80px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-study-restricted .ac-paywall-content {
    display: flex;
    flex-direction: column;
}

/* White Top Section */
.case-study-restricted .paywall-top {
    padding: 50px 60px;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.case-study-restricted .ac-paywall-content .paywall-message {
    font-size: 18px !important;
    color: #333 !important;
    margin-bottom: 0 !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Blue CTA Section */
.case-study-restricted .paywall-cta-section {
    background: #4A6D88;
    padding: 60px 60px;
    text-align: center;
}

.case-study-restricted .paywall-cta-section .paywall-cta {
    font-size: 22px !important;
    color: #fff !important;
    margin-bottom: 35px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.case-study-restricted .paywall-button {
    display: inline-block;
    padding: 18px 60px;
    background: #2D4455;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 18px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    letter-spacing: 0.3px;
}

.case-study-restricted .paywall-button:hover {
    background: #1F2E3A;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .case-study-restricted .case-study-paywall {
        margin: 40px 20px 0 20px;
    }
    
    .case-study-restricted .paywall-top {
        padding: 35px 25px;
    }
    
    .case-study-restricted .paywall-cta-section {
        padding: 45px 25px;
    }
    
    .case-study-restricted .ac-paywall-content .paywall-message {
        font-size: 16px !important;
    }
    
    .case-study-restricted .paywall-cta-section .paywall-cta {
        font-size: 18px !important;
        margin-bottom: 25px;
    }
    
    .case-study-restricted .paywall-button {
        padding: 15px 35px;
        font-size: 16px !important;
        width: 100%;
        max-width: 300px;
    }
}
