body {
    font-family: sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background: #fafafa;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

nav button {
    padding: 10px 16px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav button:hover {
    background: #0056b3;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

form {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="text"],
input[type="number"],
textarea {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    padding: 10px 14px;
    font-size: 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #218838;
}

ul {
    list-style: none;
    padding: 0;
}

li {
  background: #f0f0f0;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li .texto {
  flex: 1;
}

li .acoes {
  display: flex;
  gap: 5px;
}

li button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.pagina {
    display: none;
}

.botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.botoes button {
    background-color: #6c757d;
}

.botoes button:hover {
    background-color: #495057;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    form {
        gap: 8px;
    }

    button {
        width: 100%;
    }
}

#containerAddIngredientesInRecipe {
    padding-left: 3%;
    padding-right: 3%;
    border-radius: 3%;
    /* background-color: #0056b3; */
}
