body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
}

h1 {
    color: #d32f2f; /* Rouge Brasco */
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8em;
}

h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #555;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 8px;
    font-size: 1.3em;
}

#recordButton {
    display: block;
    width: 100%;
    padding: 18px;
    font-size: 1.25em;
    font-weight: bold;
    background-color: #d32f2f; /* Rouge Brasco */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

#recordButton:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
}

#recordButton:hover:not(:disabled) {
    background-color: #b71c1c; /* Rouge Brasco plus foncé */
}

#recordButton:active:not(:disabled) {
    transform: translateY(1px);
}

.display-box {
    background-color: #f0f0f0;
    padding: 12px 15px;
    border-radius: 5px;
    min-height: 45px;
    margin-bottom: 18px;
    white-space: pre-wrap; 
    word-wrap: break-word;
    font-size: 0.95em;
    border: 1px solid #e0e0e0;
}

.error-box {
    color: #c0392b; 
    background-color: #fddfe2; 
    border-color: #f5c6cb;
}

pre#orderPreview { 
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    line-height: 1.5;
}

p {
    line-height: 1.6;
    font-size: 0.95em;
}

.note {
    font-size: 0.85em;
    color: #777;
    margin-top: 20px;
    text-align: center;
}