body {
    background: #eee;
}

button {
    font-size: 18px;
    border-radius: 20px;
    background: teal;
    color: white;
    width: 120px;
    height: 50px;
    margin-left: 4px;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#refreshCameraButton {
    width: auto;
    height: auto;
    font-size: 14px;
    border-radius: 10px;
    background: white;
    color: black;
    margin-left: 4px;
}

div.debug-controls {
    display: none;
    margin-left: auto;
    margin-right: 0;
    justify-content: space-between;
}

div.debug-controls table {
    width: 100%;
}

div.control-parent {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

div.controls {
    display: flex;
    justify-content: flex-start;
}

div.title-div {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

div.messageDiv {
    width: 80%;
    display: flex;
    justify-content: center;
    justify-items: stretch;
}

div.title {
    justify-self: start;
    justify-items: stretch;
}

div.debug-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.name-activity-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

#activitySelect {
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
}

/* VIDEO LAYOUT — Asymmetric: scope larger */

div.dual-video-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

div.video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.video-wrapper.scope-wrapper {
    flex: 2;
    max-width: 65%;
}

div.video-wrapper.integrated-wrapper {
    flex: 1;
    max-width: 35%;
}

div.video-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

div.video-parent {
    overflow: hidden;
    position: relative;
    border: 2px solid black;
}

div.scope-parent {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

video.video-child {
    display: block;
    width: 100%;
    height: auto;
}

#scope-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* PLAYBACK SECTION */

div.playback-section {
    padding: 10px;
}

div.playback-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
}

div.playback-upload label {
    font-size: 14px;
}

div.playback-transport {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

#seek-bar {
    flex: 1;
    height: 6px;
    cursor: pointer;
}

#play-pause-button {
    width: 80px;
    height: 40px;
    font-size: 16px;
}

#load-playback-button,
#back-to-record-button {
    width: auto;
    height: auto;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 10px;
}

#back-to-record-button {
    background: #c0392b;
}

span.time-display {
    font-family: monospace;
    font-size: 14px;
    min-width: 100px;
}
