/* Donate Now Button - Yellow Shine Hover Animation */

/* Target all Donate Now buttons */
a[href*="campaigns.show"][style*="background:#3BAE4A"],
a[href*="donations.show"][style*="background:#3BAE4A"],
.donate-now-btn,
button[type="submit"][style*="Continue to Secure Payment"] {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1 !important;
}

/* Yellow shine sweep effect */
a[href*="campaigns.show"][style*="background:#3BAE4A"]::before,
a[href*="donations.show"][style*="background:#3BAE4A"]::before,
.donate-now-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 0, 0.6), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: -1 !important;
}

a[href*="campaigns.show"][style*="background:#3BAE4A"]:hover::before,
a[href*="donations.show"][style*="background:#3BAE4A"]:hover::before,
.donate-now-btn:hover::before {
    left: 100% !important;
}

/* Hover - yellow glow + scale */
a[href*="campaigns.show"][style*="background:#3BAE4A"]:hover,
a[href*="donations.show"][style*="background:#3BAE4A"]:hover,
.donate-now-btn:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #111C2D !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5), 0 0 25px rgba(255, 215, 0, 0.3) !important;
}

/* Continue to Secure Payment button */
button[type="submit"][style*="Continue to Secure Payment"]:hover,
button[style*="linear-gradient(135deg,#1E5BC6"]:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #111C2D !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5) !important;
}

/* Pulsing heart icon on hover */
a[href*="campaigns.show"][style*="background:#3BAE4A"]:hover {
    animation: btnPulse 0.6s ease-in-out;
}

@keyframes btnPulse {
    0%, 100% { transform: translateY(-3px) scale(1.05); }
    50% { transform: translateY(-5px) scale(1.07); }
}


/* Homepage cards Donate Now button */
a[href*="/campaigns"][style*="background:#3BAE4A"],
a[href*="/donate"][style*="background:#3BAE4A"],
a[style*="background:#3BAE4A"][style*="border-radius:25px"],
a[style*="background:#3BAE4A"][style*="border-radius:20px"] {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    display: inline-block !important;
}

a[style*="background:#3BAE4A"]::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 0, 0.7), transparent) !important;
    transition: left 0.6s ease !important;
}

a[style*="background:#3BAE4A"]:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #111C2D !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5) !important;
}

a[style*="background:#3BAE4A"]:hover::before {
    left: 100% !important;
}

/* Dashboard avatar circle - bigger and rounded */
.dash-avatar {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #1E5BC6, #2d6fd9) !important;
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 0 auto 12px !important;
    border: 3px solid #fff !important;
    box-shadow: 0 5px 20px rgba(30, 91, 198, 0.3) !important;
}

.dash-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Dashboard button with avatar */
.ul-btn-with-avatar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 4px 18px 4px 4px !important;
}
.ul-btn-with-avatar img,
.ul-btn-with-avatar > span:first-child {
    flex-shrink: 0 !important;
}
