a {
    color: #007BFF; /* Default link color; adjust if needed */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.deck-tree-card {
    border: 1px solid #dee2e6;
    margin-bottom: 1em;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tree-header {
    background-color: #f5f5f5;
    border-radius: 0.25rem 0.25rem 0 0;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.tree-header:hover {
    background-color: #e9ecef;
}

.header-content {
    display: block;
    color: #333;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-content:hover {
    color: #007BFF; /* You can use any desired hover color here */
}

.card-body {
    padding: 15px;
}

.child-node {
    margin-bottom: 10px;
}

.deck-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border: 1px solid lightgray;
    border-radius: 0.25rem;
}

.deck-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-meta {
    display: flex;
    align-items: center;
}

.card-count {
    margin-right: 10px;
    color: #777;  /* A muted color for the card count */
}

.deck-action {
    margin-left: 10px;
    color: #007BFF; /* Default link color; adjust if needed */
}

.deck-action:hover {
    color: #0056b3; /* Darkened blue color for hover effect */
}
