/* =============================================
   RECETTES-LIST.CSS - Liste des recettes
   ============================================= */

#view-recettes {
    background: var(--bg-body);
}

#view-recettes .recipes-header {
    padding: 0px 24px 10px;
    position: sticky;
    top: 0;
    background: var(--bg-body);
    z-index: 5;
}

#view-recettes h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
}

#view-recettes .recipes-top {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

#recipes-search {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    padding: 12px 40px 12px 14px;
    border-radius: 14px;
    font-weight: 600;
}

#recipes-search-clear {
    position: absolute;
    right: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#recipes-sort {
    background: #fff;
    border: 1px solid #eee;
    padding: 12px 10px;
    border-radius: 14px;
    font-weight: 700;
}

#recipes-grid {
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

#recipes-grid .recipe-card {
    min-width: 0;
    max-width: none;
    cursor: pointer;
}

#recipes-grid .recipe-card-img {
    height: 120px;
}

/* SECTION DIVIDER RECETTES */
.section-divider-recettes {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.section-divider-recettes span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}