turbo-frame[busy] .frame-loading-hide, turbo-frame .frame-loading-show {
    display: none;
}
turbo-frame[busy] .frame-loading-show {
    display: inline-block;
}

body>main{
    max-width: 700px;
    margin-inline: auto;
    width: 100%;
    margin-right: auto;
    margin-left: auto;

}

.qr{
    display: flex;
    justify-content: center;

}

.timer {
    font-size: 1em;
    font-weight: bold;
}

.transcription-wrapper {
    font-family: sans-serif;
    max-width: 600px;
    margin: auto;
}

.title {
    text-align: center;
    font-size: 1.2em;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1em;
}

.output {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.5em;
    height: 70vh;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.interim {
    color: gray;
}

.final {
    color: black;
    font-weight: bold;
}

@media (max-width: 600px) {
    .output {
        height: 60vh;
    }
}

.nav-bar{
    display: flex;
    margin-bottom: 0.75rem;
    align-items: center;
}

.nav-bar-end{
    margin-left: auto;
}

.section{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.btn-small{
    padding: 0.5rem;
}

.section button{
    width: 16rem;
}

.text-center{
    text-align: center;
}