/* Integraciones dinámicas de FUNDEMASJE. */

.donation-method-help {
    margin: 0.2rem 0 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
}

.donation-payment-options {
    display: grid;
    width: min(760px, 100%);
    margin: 0 auto 1rem;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donation-method-button {
    display: flex;
    min-height: 74px;
    padding: 0.9rem 1.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(13, 37, 51, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.donation-method-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 38px rgba(13, 37, 51, 0.27);
}

.donation-method-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 3px;
}

.donation-paypal-button {
    color: #173447;
    background: #ffffff;
}

.donation-portal-button {
    color: #ffffff;
    background: linear-gradient(135deg, #173447, #245a72);
}

.donation-method-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 900;
}

.donation-paypal-icon {
    color: #ffffff;
    background: linear-gradient(145deg, #003087, #009cde);
}

.donation-card-icon {
    color: #173447;
    background: #ffffff;
}

.donation-method-copy {
    display: grid;
    gap: 0.1rem;
    text-align: left;
}

.donation-method-copy strong {
    font-size: 0.96rem;
    line-height: 1.2;
}

.donation-method-copy small {
    color: inherit;
    font-size: 0.72rem;
    line-height: 1.35;
    opacity: 0.75;
}

.donation-return-toast {
    position: fixed;
    z-index: 1600;
    right: 1rem;
    bottom: 1rem;
    max-width: min(92vw, 380px);
    padding: 0.9rem 1rem;
    color: #fff;
    background: #155d52;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(13, 37, 51, 0.28);
    font-size: 0.82rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.donation-return-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 720px) {
    .donation-payment-options {
        grid-template-columns: 1fr;
    }

    .donation-method-button {
        width: 100%;
        justify-content: flex-start;
    }
}
