*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    height: 100dvh;
    width: 100dvw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 2rem;
}

.connection-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.controls-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.input-field {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.device-selectors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.selector {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dropdown {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#log-area {
    width: 100%;
    margin-top: 10px;
    font-family: monospace;
}

.log-container {
    width: 100%;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

audio {
    display: hidden;
}