#transcript {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    max-height: 300px;
}
#transcript p.partial {
    color: #666;
    font-style: italic;
}
#transcript p.error {
    color: #e74c3c;
}
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.container {
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}
h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.status {
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#statusIndicator {
    font-size: 24px;
    margin-left: 10px;
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
button {
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
#startButton {
    background-color: #2ecc71;
}
#startButton:hover {
    background-color: #27ae60;
}
#stopButton {
    background-color: #e74c3c;
}
#stopButton:hover {
    background-color: #c0392b;
}
#clearButton {
    background-color: #f39c12;
}
#clearButton:hover {
    background-color: #d35400;
}
#transcript {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    min-height: 150px;
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.info-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}
.info-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}
.info-section ul {
    padding-left: 20px;
}
.footer {
    margin-top: 30px;
    font-size: 14px;
    color: #7f8c8d;
}