body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 1.5rem;
    color: #555;
}

.search-bar {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.recipe-list {
    max-width: 600px;
    margin: 0 auto 20px;
}

.recipe-list .recipe-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.recipe-list img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 5px;
    margin-right: 10px;
    object-fit: cover;
}

.btn {
    padding: 10px 20px;
    border: none;
    background-color: #ffd700;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffc107;
}

.btn-danger {
    background-color: #ff4d4d;
}

.btn-danger:hover {
    background-color: #ff1a1a;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
    text-align: left;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

input[type="text"], textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#recipe-details-image {
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 10px 0;
    object-fit: cover;
}
