/* ── Saved Recipes ────────────────────────────────────── */

#title {
    text-align: center;
    font-family: var(--mainfont);
    font-style: italic;
    font-weight: 400;
    color: var(--text_primary);
}

/* ── Search Bar ───────────────────────────────────────── */

/* Mobile */
@media (max-width: 499px) {
    .simple-search-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 12px 5%;
        height: auto;
        gap: 10px;
    }

    .simple-search-bar button {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .simple-search-bar #search-bar {
        width: 65%;
        height: 42px;
        border-radius: 100px;
        font-size: 0.9rem;
        padding: 0 16px;
        border: 1px solid var(--border);
        background: white;
        font-family: var(--textfont);
    }
}

/* Tablet */
@media (min-width: 500px) {
    .simple-search-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        height: 50px;
        width: 100%;
    }

    .simple-search-bar #search-bar {
        width: 50%;
        height: 100%;
        border-radius: 100px;
        font-size: 0.95rem;
        padding: 0 18px;
        border: 1px solid var(--border);
        background: white;
        font-family: var(--textfont);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .simple-search-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        height: 50px;
        width: 100%;
    }

    .simple-search-bar #search-bar {
        width: 28%;
        height: 100%;
        border-radius: 100px;
        font-size: 1rem;
        padding: 0 20px;
        border: 1px solid var(--border);
        background: white;
        font-family: var(--textfont);
    }
}

/* Shared search bar focus state */
.simple-search-bar #search-bar:focus {
    outline: none;
    border-color: var(--accent_color);
    box-shadow: 0 0 0 3px rgba(201, 125, 94, 0.15);
}

.simple-search-bar button {
    background-color: var(--accent_color);
    color: white;
    border-radius: 100px;
    padding: 10px 22px;
    font-weight: 500;
    white-space: nowrap;
}

.simple-search-bar button:hover {
    background-color: var(--text_primary) !important;
    color: white !important;
}

/* ── Filter Blobs ─────────────────────────────────────── */
#blob-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

#blob-buttons button {
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.9rem;
    background-color: var(--main_color);
    border: 1px solid var(--border);
    color: var(--text_muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

#blob-buttons button:hover,
#blob-buttons button.active {
    background-color: var(--accent_color) !important;
    border-color: var(--accent_color) !important;
    color: white !important;
}