body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 40px;
    background: #f7f7f7;
}

h1 {
    text-align: center;
}

#search {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tab {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #e0e0e0;
    cursor: pointer;
    font-size: 14px;
}

.tab:hover {
    background: #d0d0d0;
}

.tab.active {
    background: #333;
    color: white;
}

#recipes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.recipe {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.recipe h3 {
    margin-top: 0;
}

.ingredients {
    font-size: 14px;
    color: #555;
}

.timeline {
    margin-top: 10px;
    font-size: 14px;
}

.step {
    margin-bottom: 8px;
}
