.recipe-line {
    background: var(--bg-secondary);
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.recipe-line label {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.recipe-line input[type="checkbox"] {
    flex-shrink: 0;
}

.fav-star {
    color: var(--accent);
    margin-right: auto;
}

.pagination {
    text-align: center;
    margin-top: 1rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}


.history-section {
    margin-top: 2rem;
}

.history-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.history-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.history-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.history-recipe {
    margin-bottom: 0.75rem;
}

.history-recipe:last-child {
    margin-bottom: 0;
}

.history-recipe-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--accent);
}

.history-ingredients {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-ingredients li {
    font-size: 0.9rem;
    padding: 0.15rem 0;
    color: var(--text-secondary, inherit);
}

