/* css/components.call-controls.css - v2.2.0 */

/* Gutachter Controls Area (in .video-area) */
.controls-area { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); 
    z-index: 20; 
    border-radius: 0 0 calc(var(--radius) - 4px) calc(var(--radius) - 4px); 
}
@media (max-width: 480px) { .controls-area { gap: 5px; padding: 10px; } }

/* Shared Control Button Styles */
.control-btn { 
    background-color: rgba(44, 44, 44, 0.7); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: white; 
    width: 56px; 
    height: 56px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0; 
    transition: background-color 0.2s, transform 0.1s; 
}
.control-btn:hover:not(:disabled) { 
    background-color: rgba(60, 60, 60, 0.8); 
    transform: scale(1.05); 
}
.control-btn:active:not(:disabled) { transform: scale(0.95); }

/* Gutachter specific overrides */
.controls-area .control-btn { 
    background-color: rgba(255, 255, 255, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    width: 50px; 
    height: 50px; 
}
.control-btn.shutter { 
    width: 64px; 
    height: 64px; 
    background-color: white; 
    border: 3px solid white; 
    box-shadow: 0 0 0 3px var(--accent-color); 
    margin: 0 10px; 
}
.control-btn.shutter svg { 
    stroke: var(--accent-color); 
    fill: none; 
}
.control-btn.shutter:hover:not(:disabled) { background-color: #f0f0f0; }

/* Hangup / Disabled */
.control-btn.hangup { background-color: var(--error-color); }
.control-btn.hangup:hover { background-color: var(--error-color-hover); }
.control-btn:disabled { 
    background-color: rgba(100, 100, 100, 0.3); 
    border-color: rgba(100, 100, 100, 0.4); 
    opacity: 0.6; 
    cursor: not-allowed; 
}
.control-btn:disabled svg { opacity: 0.5; }

/* Icons */
.control-btn svg { width: 28px; height: 28px; fill: #FFFFFF; }
.controls-area .control-btn svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }
.control-btn.shutter svg { width: 36px; height: 36px; }

/* Icon Toggling (Mic, Cam) */
.control-btn .icon-on, .control-btn .icon-off { display: flex; align-items: center; justify-content: center; }
.control-btn.is-off .icon-off { display: flex; } .control-btn.is-off .icon-on { display: none; }
.control-btn .icon-on { display: flex; } .control-btn .icon-off { display: none; }

/* Connection Status (Gutachter) */
#connection-status { 
    position: absolute; 
    top: 10px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: rgba(0,0,0,0.5); 
    color: white; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 14px; 
    z-index: 20; 
    transition: opacity 0.3s; 
}
