/* Apply a modern font and center everything */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Center content in a clean container */
.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 350px;
}

/* Style the heading */
h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Style the list */
ul {
    list-style: none;
    padding: 0;
}

/* Style each flower item */
li {
    background: #f1f1f1;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    position: relative;
}

/* Hover effect for flowers */
li:hover {
    background: #ffebcc;
}

/* Delete button (❌) styling - smaller and only appears on hover */
.delete-btn {
    background: none;
    border: none;
    font-size: 14px; /* Make it smaller */
    color: rgba(255, 0, 0, 0.5); /* Light red for subtlety */
    cursor: pointer;
    padding: 5px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease, color 0.3s ease;
}

/* Show the delete button only when hovering over the list item */
li:hover .delete-btn {
    opacity: 1; /* Make it visible on hover */
}

/* Make the button slightly darker on hover */
.delete-btn:hover {
    color: darkred;
}

/* Animation: Fade out when removing a flower */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.fade-out {
    animation: fadeOut 0.4s forwards;
}

/* Style the button */
button {
    background: #ff7f50;
    color: white;
    border: none;
    padding: 
