body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #fff6c4;
}

header {
    background-color: #06837f;
    padding: 5px;
    text-align: center;

}

#search {
    margin: 20px auto; 
    text-align: center;
    max-width: 600px;
}

#searchInput {
    width: 100%; 
    padding: 10px; 
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#searchInput:focus {
    outline: none;
    border-color: #06837f;
}

#filterButton {
    background-color: #06837f;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
#categoryFilter {
    background-color: rgba(255, 255, 255, 0.7);
}

#search select option {
    background-color: rgba(255, 255, 255, 0.7);
}

#search select option:hover {
    background-color: #06837f;
}

#recipeList {
    margin: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recipe-template {
    margin: 20px;
    text-align: center;
    border-radius: 20px;
    border-color: #f8b400;
    border-bottom-style: solid;
    width: 50%;
}

.recipe-category {
    font-size: 15px;
    font-style: italic;
}

.toggle-instructions {
    background-color: #f8b400;
    border-style: none;
    color: white;
    padding: 10px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 5px;
}

.toggle-instructions:hover {
    background-color: #06837f;
}

#managementButtons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

#managementButtons button {
    background-color: #06837f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#managementButtons button:hover {
    color: #f8b400;
}

.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal input, .modal textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
}

.modal button {
    background-color: #f8b400;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal button:hover {
    background-color: #d89100;
}

.dropdown-Cat {
    border-radius: 15px;
}
.modalMessage {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.modalMessage.success {
    background-color: green;
    color: #155724;
}

.modalMessage.error {
    background-color: red;
    color: #721c24;
}
