body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.title {
    color: #333;
    font-size: 2rem;
}

.search-container {
    margin-bottom: 20px;
}

#search-input {
    padding: 10px;
    width: 250px;
    font-size: 16px;
}

#search-btn {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

#search-btn:hover {
    background-color: #218838;
}

.meal-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.meal-item {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    width: 200px;
}

.meal-item img {
    width: 100%;
    border-radius: 6px;
}

.view-btn {
    margin-top: 10px;
    padding: 6px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.view-btn:hover {
    background-color: #0056b3;
}

.not-found {
    font-size: 24px;
    color: red;
    margin-top: 40px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    text-align: left;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-content h2 {
    margin-top: 0;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #555;
}

.hidden {
    display: none;
}
