.merchant-card {
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.merchant-card:hover {
    border-color: rgba(74, 154, 110, 0.25);
    box-shadow:
        0 20px 40px -12px rgba(74, 154, 110, 0.12),
        0 4px 16px -4px rgba(0, 0, 0, 0.04) !important;
}

.events-offer-card:hover {
    border-color: rgba(74, 154, 110, 0.2) !important;
    box-shadow:
        0 16px 32px -8px rgba(74, 154, 110, 0.10),
        0 4px 12px -2px rgba(0, 0, 0, 0.04) !important;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 154, 110, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(74, 154, 110, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 154, 110, 0);
    }
}

.animate-pulse-ring {
    animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.animate-slideDown {
    animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Custom thin scrollbar for elegant look */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
}


/* Keep reCAPTCHA v3 badge on the bottom-left so it does not conflict with the back-to-top button on the right. */
.grecaptcha-badge {
    position: fixed !important;
    bottom: 14px !important;
    left: 0 !important;
    right: auto !important;
    z-index: 2147483647 !important;
    width: 70px !important;
    overflow: hidden !important;
    transition: width 0.3s ease !important;
}

.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within {
    width: 256px !important;
}