/* PayPal Donation Styles for Datavoid Investment */

/* PayPal Donation Button Base Styles */
.paypal-donate-btn {
    display: inline-flex;
    align-items: center;
    background: #ffc439;
    color: #003087;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    justify-content: center;
    min-height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.paypal-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #ffb424;
}

.paypal-donate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Preset Amount Links */
.donation-presets {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.preset-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 50px;
}

.preset-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preset-btn:active {
    transform: translateY(0);
}

/* Donation Section Styles */
.donation-section {
    background: linear-gradient(135deg, rgba(255, 196, 57, 0.1) 0%, rgba(255, 196, 57, 0.05) 100%);
    border: 1px solid rgba(255, 196, 57, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    text-align: center;
}

.donation-section h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donation-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Support Section for Sidebar */
.support-section {
    background: linear-gradient(135deg, rgba(255, 196, 57, 0.1) 0%, rgba(255, 196, 57, 0.05) 100%);
    border: 1px solid rgba(255, 196, 57, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.support-section h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-section p {
    color: #666;
    margin-bottom: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Support Prompt for Analysis Results */
.support-prompt {
    margin: 15px 0;
}

.support-prompt .prompt-content {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.support-prompt h4 {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-prompt p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* CTA Donation Area */
.cta-donation-area {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 196, 57, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 196, 57, 0.3);
}

.cta-donation-area h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cta-donation-area p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Footer PayPal Link */
.footer-paypal-link {
    background: #ffc439;
    color: #003087;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-paypal-link:hover {
    background: #ffb424;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation PayPal Link */
.nav-paypal-link {
    background: #ffc439;
    color: #003087;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-paypal-link:hover {
    background: #ffb424;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Heart Icon Styles */
.fa-heart {
    color: #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-presets {
        flex-direction: column;
        gap: 6px;
    }

    .preset-btn {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .paypal-donate-btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
    }

    .donation-section {
        padding: 15px;
        margin: 15px 0;
    }

    .support-section {
        padding: 12px;
    }

    .cta-donation-area {
        padding: 15px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .donation-section h3,
    .cta-donation-area h3 {
        font-size: 1.1rem;
    }

    .support-section h4 {
        font-size: 0.9rem;
    }

    .donation-section p,
    .support-section p,
    .cta-donation-area p {
        font-size: 0.85rem;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .donation-section,
    .support-section {
        background: linear-gradient(135deg, rgba(255, 196, 57, 0.15) 0%, rgba(255, 196, 57, 0.08) 100%);
        border-color: rgba(255, 196, 57, 0.4);
    }

    .donation-section h3,
    .support-section h4,
    .cta-donation-area h3 {
        color: #f8f9fa;
    }

    .donation-section p,
    .support-section p,
    .cta-donation-area p {
        color: #adb5bd;
    }

    .preset-btn {
        background: #495057;
        border-color: #6c757d;
        color: #f8f9fa;
    }

    .preset-btn:hover {
        background: #6c757d;
    }
}

/* Animation for PayPal button */
@keyframes paypal-pulse {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 2px 4px rgba(255, 196, 57, 0.3);
    }
    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

.paypal-donate-btn:hover {
    animation: paypal-pulse 2s infinite;
}