body {
    margin: 0;
    padding: 16px;
    background-color: #121212;
    color: #FFFFFF;
    font-family: "Segoe UI", Arial, sans-serif;
}

h3 {
    margin: 0 0 10px 0;
    color: #FFA9D1F4;
}

button {
    background-color: #332940;
    color: #FFFFFF;
    border: none;
    padding: 8px 12px;
    margin-right: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease;
}

button:hover {
    background-color: #40324f;
}

button:active {
    transform: scale(0.97);
}

select {
    background-color: #332940;
    color: #FFFFFF;
    border: none;
    padding: 6px;
    border-radius: 6px;
    margin-left: 4px;
}

label {
    font-size: 14px;
}

video {
    border-radius: 8px;
    border: 1px solid #332940;
    background-color: #1F1A24;
}

#localVideoStatus,
#remoteVideoStatus,
#localMediaStatus,
#remoteMediaStatus {
    font-size: 12px;
    margin-top: 4px;
    color: #FFA9D1F4;
}

textarea {
    background-color: #1F1A24;
    color: #FFFFFF;
    border: 1px solid #332940;
    border-radius: 8px;
    padding: 8px;
    font-family: monospace;
    resize: none;
}

div {
    margin-bottom: 6px;
}

textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-thumb {
    background: #332940;
    border-radius: 4px;
}

.panel {
    background: #1F1A24;
    border: 1px solid #332940;
    border-radius: 10px;
    padding: 12px;
}

.remote-media-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px 0;
}

.remote-media-tile,
.remote-tile {
    flex: 0 0 auto;
    width: 320px;
}

.remote-media-tile video,
.remote-tile video {
    width: 320px;
    height: 240px;
    background: #111;
    border-radius: 8px;
    object-fit: cover;
}