/* 🎬 Media Panel Styles */

.panel-media {
    /* Panel layout handled by unified system */
}

.panel-media .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-media .panel-body {
    padding: 0;
    overflow-y: auto;
    height: calc(100% - 60px);
}

/* Media Stream Container */
.media-stream-container {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.stream-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.stream-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Media Controls */
.media-controls {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.media-control-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.media-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.media-control-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
}

/* Stream List */
.stream-list {
    padding: 1rem;
}

.stream-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.stream-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
}

.stream-thumbnail {
    width: 80px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    flex-shrink: 0;
}

.stream-info {
    flex: 1;
    min-width: 0;
}

.stream-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stream-meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .media-controls {
        flex-wrap: wrap;
    }

    .media-control-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }

    .stream-item {
        flex-direction: column;
        align-items: stretch;
    }

    .stream-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
