/* Paywall Modal Styles */
.paywall-modal-content {
    max-width: 450px;
    text-align: center;
    padding: 2rem;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.paywall-modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.paywall-modal-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.paywall-file-info {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.paywall-file-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;    color: var(--text-color);
}

.paywall-file-info p span {
    /* Apply word-break only to the filename span, not the "File:" label */
    word-break: break-all;
}

.paywall-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.paywall-price span {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--secondary-text);
}

.paywall-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.paywall-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.paywall-btn.processing {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: #555 !important;
    border-color: #555 !important;
    cursor: wait;
}

.paywall-btn.processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: width 1s ease-in-out;
}

.paywall-btn.processing-state {
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
}

.paywall-btn.processing .processing-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.paywall-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #555;
}

.paywall-card { background-color: #635bff; color: white; }
.paywall-card:hover { background-color: #554cff; }

.paywall-paypal { background-color: #003087; color: white; }
.paywall-paypal:hover { background-color: #002469; }

.paywall-crypto { background-color: #f7931a; color: white; }
.paywall-crypto:hover { background-color: #e88a0c; }

.paywall-gpay { background-color: #000; color: white; border: 1px solid #000; }
.paywall-gpay:hover { background-color: #333; border-color: #333; }

.paywall-apple { background-color: #000; color: white; border: 1px solid #000; }
.paywall-apple:hover { background-color: #333; border-color: #333; }

.paywall-bank { background-color: var(--secondary-text); color: var(--card-color); }
.paywall-bank:hover { background-color: var(--text-color); }

.april-fools-reveal {
    margin: 1.5rem 0;
}

.finance-option {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.paywall-modal-content .april-fools-title {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem !important;
}

.final-download-wrapper {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.finance-option p { margin: 0.5rem 0; font-size: 0.9rem; }

.finance-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0.5rem 0;
}

.paywall-affirm {
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.paywall-affirm:hover { background-color: var(--hover-bg); }

.finance-details {
    font-size: 0.8rem !important;
    color: var(--secondary-text);
    margin-top: 8px !important;
}

.paywall-footer {
    margin-top: 1.5rem;
    font-size: 0.8rem !important;
    color: #888;
}

.paywall-disclaimer {
    margin-top: 0.75rem !important;
    font-size: 0.8rem !important;
    color: var(--secondary-text) !important;
}