/* Donation Recovery Modal Styles */
.hm-recovery-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border-left: 5px solid #F36F28;
    /* Hope Mission Orange */
    z-index: 99999;
    font-family: 'Poppins', sans-serif;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hm-recovery-modal.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.hm-recovery-content {
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Animated Icon */
.hm-recovery-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #F36F28;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(243, 111, 40, 0.3);
    animation: hm-pulse 2s infinite;
}

@keyframes hm-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 111, 40, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(243, 111, 40, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 111, 40, 0);
    }
}

.hm-recovery-text h3 {
    margin: 10px 0 5px 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
}

.hm-recovery-stats {
    margin: 5px 0;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-recovery-amount {
    font-weight: 700;
    color: #F36F28;
    font-size: 20px;
}

.hm-recovery-divider {
    color: #ddd;
}

.hm-recovery-message {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
}

.hm-recovery-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.hm-btn-continue {
    flex: 1;
    background: linear-gradient(135deg, #F36F28, #d95e1f);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    font-size: 14px;
}

.hm-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 111, 40, 0.2);
    color: white;
    /* Ensure persistent white text */
}

.hm-btn-dismiss {
    background: transparent;
    border: 1px solid #ddd;
    color: #7f8c8d;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
}

.hm-btn-dismiss:hover {
    background: #f5f5f5;
    color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .hm-recovery-modal {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
    }
}