body {
    font-family: sans-serif;
    padding: 20px;
    background: #fdce97;
    color: #000;
}

form,
#output {
    margin-top: 20px;
    background: #c57206;
    padding: 15px;
    border-radius: 10px;
}

body.dark {
    background: #240c01;
    color: #ffffff;
}

body.dark form,
body.dark #output {
    background: #d39e00;
}

button {
    margin: 5px 5px;
    padding: 8px 14px;
    font-weight: bold;
    background: #fff3c7;
    color: #542e0f;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

body.dark button {
    background: #844700;
    color: #fdfdfd;
}

#musicToggle {
    margin: 10px;
    font-size: 14px;
}

#volumeControl {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#volumeSlider {
    width: 150px;
}

footer {
    font-style: italic;
    opacity: 0.8;
}

#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    background: #fff8e1;
    border: 2px solid #d08900;
    border-radius: 10px;
    font-family: sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    user-select: none;
}

#chatHeader {
    background: #c57206;
    color: white;
    padding: 8px 10px;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: center;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#minimizeChat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#chatMessages {
    padding: 10px;
    height: 150px;
    overflow-y: auto;
    font-size: 14px;
    color: #333;
}

#chatInput {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-top: 1px solid #ccc;
    padding: 8px;
    border-radius: 0 0 8px 8px;
}

#chatbot.minimized #chatMessages,
#chatbot.minimized #chatInput {
    display: none;
}

#ingredientBuilder {
    margin-top: 30px;
    padding: 15px;
    background: #ffecc2;
    border: 2px solid #d08900;
    border-radius: 10px;
    text-align: center;
}

#ingredients img {
    width: 50px;
    margin: 5px;
    cursor: grab;
}

#pancakeTarget {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px auto;
    background: #fffbe8;
    border: 2px dashed #c57206;
    border-radius: 50%;
    overflow: hidden;
}

#pancakeBase {
    width: 100%;
    height: auto;
}

#addedIngredients img {
    width: 40px;
    position: absolute;
}

