/* Styling for the delete buttons */

/* General delete button style */
.btn-delete {
    background-color: transparent;
    border: none;
    color: #f44336; /* Red color for delete action */
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.btn-delete:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Positioning for delete button on the tree card */
.tree-card {
    position: relative; /* Needed for absolute positioning of the child button */
}

.tree-card .btn-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(20, 20, 20, 0.7); /* Dark semi-transparent background */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Positioning for delete button on the journal entry */
.journal-entry {
    position: relative;
}

.journal-entry .btn-delete {
    position: absolute;
    top: 15px;
    right: 15px;
}
