/* -----------------------------------------
   CORPORATE FITNESS THEME
------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Page container */
#app {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
}

/* -----------------------------------------
   HEADINGS
------------------------------------------*/
h1 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #0066cc;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* -----------------------------------------
   INFO PANEL
------------------------------------------*/
#infoPanel {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #666;
    font-weight: 500;
}

.value {
    color: #0066cc;
    font-weight: 600;
}

/* -----------------------------------------
   SELECT DROPDOWNS
------------------------------------------*/
select {
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #ffffff;
    color: #333;
    transition: 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

select:hover {
    border-color: #0066cc;
}

select:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* -----------------------------------------
   BUTTONS
------------------------------------------*/
button {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0066cc;
    border: 2px solid #0066cc;
    color: #ffffff;
    margin: 10px 0;
    font-weight: 500;
    transition: 0.2s;
}

button:hover {
    background: #0052a3;
    border-color: #0052a3;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

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

/* -----------------------------------------
   VIDEO WRAPPER
------------------------------------------*/
#videoWrapper {
    position: relative;
    width: 640px;
    height: 480px;
    margin: 25px auto;
    background: #000;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#video, #canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mirror webcam */
#video {
    transform: scaleX(-1);
}

/* -----------------------------------------
   RESPONSIVE
------------------------------------------*/
@media (max-width: 700px) {
    #videoWrapper {
        width: 95%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
