/* Live Stream Styles (Core) */

/* Live Controls Container */
.live-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Live Button Icon (Base) */
.live-btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
}

.live-btn-icon:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    color: #ff4444;
    transform: scale(1.1);
}

.live-btn-icon.active {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
}

/* Room Info */
.room-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2px 5px 2px 12px;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.room-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.participant-count-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #4ade80;
    font-weight: bold;
}

.participant-count-wrapper .material-symbols-outlined {
    font-size: 16px;
}

/* Copy Button */
.copy-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.copy-btn .material-symbols-outlined {
    font-size: 18px;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Live Status Overlay */
.live-status-overlay {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #ff4444;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Remote Videos Container */
#remoteVideoContainer {
    position: absolute;
    right: 20px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 5px;
    pointer-events: auto;
}

.remote-video-player {
    width: 240px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.remote-video-player video {
    object-fit: cover !important;
}

.remote-video-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
}

/* Paused State Overlay */
.camera-panel.paused::after {
    content: "pause_circle";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    z-index: 10;
    cursor: pointer;
    border-radius: inherit;
    pointer-events: none;
}

/* Go Live Button Tweaks (Consolidated) */
#btnGoLive {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#btnGoLive .material-symbols-outlined {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1 !important;
    font-size: 22px !important;
    margin: 0 !important;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

/* Active State Adjustments */
#btnGoLive.active .material-symbols-outlined {
    transform: translate(-50%, calc(-50% + 1px)) !important;
}

/* [LOG: 20260130_1518] Away Overlay - Mobile Device Busy */
.away-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: fadeIn 0.3s ease;
}

.away-message {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.away-icon {
    font-size: 48px;
    animation: pulse 2s ease-in-out infinite;
}

.away-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.away-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}
/* [LOG: 20260130_1710] No Stream Available Message */
.no-stream-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.no-stream-content {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.no-stream-icon {
    font-size: 64px;
    opacity: 0.6;
}

.no-stream-text {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}
