body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f7ef;
    color: #333;
}
header {
    background-color: #1f1f1f;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main {
    padding: 2rem;
    text-align: center;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
input[type="number"] {
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #ffe2af;
    border: none;
    border-bottom: 3px solid #e67e22;
    width: 80%;
    max-width: 300px;
    display: block;
    margin: 0 auto 2rem;
    border-radius: 8px;
}
button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
}
#next-button {
    background-color: #e67e22;
    color: white;
}
#info-button {
    font-size: 1.2rem;
    background: #3498db;
    color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
}
footer {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
}
#language-button {
    background: none;
    font-size: 2rem;
    border: none;
}
#info-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.hidden {
    display: none;
}
.modal-content {
    background: #fff0e5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
}

#food-search {
    padding: 1rem;
    font-size: 1.1rem;
    width: 80%;
    max-width: 300px;
    background-color: #ffe2af;
    border: none;
    border-bottom: 3px solid #e67e22;
    border-radius: 8px;
    margin-bottom: 2rem;
}
ul#food-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
}
ul#food-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #fdfdfd;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
ul#food-list li.selected {
    background-color: #ffe2af;
    border: 2px solid #e67e22;
}
.bottom-buttons {
    margin-top: 2rem;
}
.bottom-buttons button {
    margin: 0.5rem;
}

ul#food-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f0f0f0; /* Light gray tint */
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
}
ul#food-list li:hover {
    background-color: #e0e0e0;
}
ul#food-list li.selected {
    background-color: #ffe2af;
    border: 2px solid #e67e22;
}
.bottom-buttons {
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f7ef;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}
.bottom-buttons button {
    margin: 0.3rem;
    width: 90%;
    max-width: 320px;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-buttons {
    position: sticky;
    bottom: 0;
    background: #f8f7ef;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
}
#scroll-area {
    flex-grow: 1;
    overflow-y: auto;
    width: 100%;
    max-width: 500px;
}
footer.bottom-buttons {
    background: #f8f7ef;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}
footer.bottom-buttons button {
    margin: 0.3rem;
    width: 90%;
    max-width: 320px;
}

ul#food-list li {
    background-color: #e0e0e0 !important;
}
ul#food-list li:hover {
    background-color: #d0d0d0 !important;
}

#info-modal.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.form input {
    padding: 0.8rem;
    margin: 0.5rem;
    font-size: 1rem;
    width: 80%;
    max-width: 300px;
}
.form button {
    padding: 0.8rem;
    font-size: 1rem;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
}
ul#custom-food-list li {
    background-color: #fdfdfd;
    padding: 1rem;
    margin: 0.5rem auto;
    max-width: 400px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-box {
    background-color: #ffe2af;
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 400px;
    margin: 1rem auto;
    text-align: center;
}
.exchange-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}
.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.round-btn {
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.stiffer-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
}
