/* ===========================
   DONATION BUTTONS STYLES
   Sistema donazioni volontarie
   =========================== */

/* Container donazioni */
.donation-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.donation-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.donation-message {
    text-align: center;
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 600px;
}

.donation-message strong {
    color: #2d3748;
}

/* Pulsante PayPal */
.btn-paypal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0070BA, #003087);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 112, 186, 0.3);
}

.btn-paypal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 112, 186, 0.5);
    background: linear-gradient(135deg, #003087, #0070BA);
}

.btn-paypal:active {
    transform: translateY(0);
}

.btn-paypal i {
    font-size: 1.1rem;
}

/* Variante Small (inline dopo azioni) */
.btn-paypal.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-paypal.btn-small i {
    font-size: 0.9rem;
}

/* Variante Large (landing, tab info) */
.btn-paypal.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-paypal.btn-large i {
    font-size: 1.3rem;
}

/* Card Supporto (per profilo/footer) */
.support-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin: 1.5rem 0;
}

.support-card h3 {
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.support-card p {
    color: #5a6c7d;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.support-card .donation-buttons {
    margin-top: 1rem;
}

/* Inline donation (dopo copia prompt) */
.donation-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #0070BA;
}

.donation-inline .donation-message {
    text-align: left;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
}

.donation-inline .btn-paypal {
    white-space: nowrap;
}

/* Animazione pulse per attirare attenzione (opzionale) */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 112, 186, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 112, 186, 0.6);
    }
}

.btn-paypal.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .donation-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-paypal {
        width: 100%;
        justify-content: center;
    }

    .donation-inline {
        flex-direction: column;
        text-align: center;
    }

    .donation-inline .donation-message {
        text-align: center;
    }
}

/* Footer donation section */
.footer-donation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-donation h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-donation p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
