/* Tag wrapper for tag + remove button */
.tag-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

/* Tag remove button */
.tag-remove-btn {
    background: none;
    border: none;
    color: #828282;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 4px;
    margin: 0;
    transition: color 0.2s ease;
    font-weight: bold;
}

.tag-remove-btn:hover {
    color: #d00;
}

.tag-remove-btn:active {
    color: #900;
}

/* Ensure tag and remove button stay together */
.tag-with-vote {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Delete link styling */
.delete-link {
    color: #828282;
    text-decoration: none;
}

.delete-link:hover {
    color: #d93025;
    text-decoration: underline;
}