body {
    background-color: #000;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

video {
    background-color: #222;
    object-fit: cover;
    transition: all 0.3s ease;
}

#localVideo {
    transform: scaleX(-1);
}

.full-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating {
    position: absolute;
    bottom: 120px;
    right: 20px;
    width: 30vw;
    max-width: 150px;
    height: 40vw;
    max-height: 200px;
    z-index: 2;
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
    align-items: center;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    transition: all 0.2s ease;
}

.call-start {
    background-color: #25D366 !important;
    /* Green */
}

.call-end {
    background-color: #FF3B30 !important;
    /* Red */
}

.control-btn {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    font-size: 24px;
}

.control-btn .material-icons {
    font-size: 30px;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.control-btn.off {
    background-color: #FF3B30;
}

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

button:disabled {
    background-color: #888 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Logging container adjustment */
#logs {
    display: none !important;
    /* Force hidden for production */
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: 100px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #0f0 !important;
    border: none !important;
    pointer-events: none;
    /* Let clicks pass through */
    font-size: 10px;
}