* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff8f0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #e65100;
}

.search-section {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

#search-input {
    padding: 12px;
    border: 2px solid #ffb74d;
    border-radius: 25px;
    width: 300px;
    font-size: 16px;
}

#search-btn {
    padding: 12px 24px;
    background: #e65100;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

#category-filter {
    padding: 12px;
    border: 2px solid #ffb74d;
    border-radius: 25px;
    background: white;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recipe-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.recipe-card h3 {
    margin: 10px 0;
    color: #333;
}

.recipe-card p {
    color: #666;
    margin-bottom: 10px;
}

.save-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.remove-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.hidden {
    display: none;
}

.error {
    color: #f44336;
    text-align: center;
    padding: 20px;
}

.favorites-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff3e0;
    border-radius: 10px;
}