/* Styles spécifiques pour le récepteur - déjà inclus dans le template EJS */       
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    background-color: #f0f0f0;
}
.left-panel {
    width: 70%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.status-panel {
    height: 50%;
    background: white;
    padding: 20px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.screenshots-panel {
    height: 50%;
    background: white;
    padding: 20px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}
.right-panel {
    min-width: 340px;
    width: 30%;
    height: 100vh;
    background: #000;
    position: relative;
}
.status-item {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background: #f8f9fa;
    opacity: 0.2;
    transition: opacity 0.3s;
}
.status-item.active {
    opacity: 1;
    background: #d4edda;
    border-left: 4px solid #28a745;
}
#remoteVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#drawingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: crosshair;
}
.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.btn-primary { background: #007bff; color: white; }
.btn-danger { background: #dc3545; color: white; }
.btn-secondary { background: #6c757d; color: white; }
.screenshot-item {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.screenshot-preview {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
}

#forcePlayBtn {
    padding:40px 20px;
    position: absolute;
    top: 50%;
    right: 50%;
    z-index: 1000;
    transform: translateX(50%);
}