/* Heart / favorite toggle button - CSS-only visual states, no image assets */
.spf-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
    color: #999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: color 0.15s, border-color 0.15s, transform 0.1s;
    justify-content: center;
}

.spf-favorite-btn:hover {
    color: #98784d;
    border-color: #98784d;
}

.spf-favorite-btn:active {
    transform: scale(0.92);
}

.spf-favorite-btn.is-favorited {
    color: #e0245e;
    border-color: #e0245e;
}

.spf-favorite-btn .spf-favorite-heart {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: fill 0.15s;
}

.spf-favorite-btn.is-favorited .spf-favorite-heart {
    fill: currentColor;
}

/* Variant with a text label, used inside the dashboard's favorites grid */
.spf-favorite-btn.spf-favorite-btn-labeled {
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 8px 14px;
    gap: 8px;
}

.spf-favorite-btn.spf-favorite-btn-labeled .spf-favorite-label {
    font-size: 13px;
    font-weight: 600;
}

.spf-favorite-btn.spf-favorite-btn-disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* "Save this Search" button, used on archive/search result pages */
.spf-save-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #98784d;
    color: #98784d;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.spf-save-search-btn:hover,
.spf-save-search-btn:focus,
.spf-save-search-btn:active {
    background: #98784d;
    color: #ffffff !important;
}

.spf-save-search-message {
    margin-left: 10px;
    font-size: 13px;
    color: #27a844;
}

.spf-save-search-message.spf-save-search-error {
    color: #e74c3c;
}
