/* 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;
    overflow: hidden;
    background: #000;
    position: relative;
}
#localVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
#drawingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
}

.call-controls {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 30;
}

.call-button, .btn-switch {
    position: static; /* NE PAS mettre fixed ici ! */
    min-width: 120px;
    font-size: 18px;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

button {
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-switch[disabled], .call-button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-switch:hover, .call-button:hover {
    border: 2px solid transparent;
}

.btn-start {
    background: #28a745;
    color: white;
}
.btn-end {
    background: #dc3545;
    color: white;
}
.btn-start:hover {
    background: #218838;
    border: 2px solid white;
}
.btn-end:hover {
    background: #c82333;
    border: 2px solid white;
}
.status-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}