/* --- PREVIOUS STYLES --- */
.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

/* --- NEW STYLES FOR ACTION BUTTONS --- */

/* This container will hold the edit/delete buttons */
.card-actions {
    position: absolute;
    top: 1rem;
    /* 16px */
    right: 1rem;
    /* 16px */
    display: flex;
    gap: 0.5rem;
    /* 8px */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* The card group-hover will make the buttons visible */
.group:hover .card-actions {
    opacity: 1;
}

/* Styling for the individual buttons */
.action-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    /* rounded-full */
    padding: 0.5rem;
    /* 8px */
    color: white;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- NEW STYLES FOR TOAST NOTIFICATION --- */
#toast-notification {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    /* Can't click it when hidden */
}

#toast-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* Can click it when shown */
}