body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin-bottom: 20px;
}

h1, h2 {
    color: #5a3e36; /* A brownish color for a 'yardhouse' theme */
    text-align: center;
}

textarea {
    width: calc(100% - 22px); /* Full width minus padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding and border don't add to width */
}

button {
    background-color: #8c6b5d; /* A complementary brownish button color */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

button:hover {
    background-color: #73554a;
}

#qrcodeContainer {
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 50px; /* Ensure it's visible even when empty */
}

#qrcodeContainer p {
    margin-bottom: 10px;
    text-align: center;
    color: #666;
}

#qrcodeContainer div { /* This will style the div created by qrcode.js */
    display: flex;
    justify-content: center;
}

#orderDetailsDisplay {
    margin-top: 20px;
    padding: 15px;
    background-color: #e9e9e9;
    border-radius: 4px;
    border: 1px solid #ccc;
    min-height: 50px;
}

#orderDetailsDisplay p {
    margin: 5px 0;
    white-space: pre-wrap; /* Preserve line breaks from text area */
}
