.favorite-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.favorite-btn:hover {
    color: #ffc107;
    transform: scale(1.1);
}

.favorite-btn.favorited {
    color: #ffc107;
}

.favorite-btn i {
    transition: all 0.3s ease;
}

.tool-card-main .card-header {
    position: relative;
    color: #000;
}

