/* Custom styles for stream player */
.stream-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.placeholder-content {
    text-align: center;
    color: #666;
}

#stream-player {
    min-height: 80vh;
}

/* Loading animation */
.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Status message styles */
#status-message {
    transition: all 0.3s ease;
}

#status-message.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flex.space-x-4 {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flex.space-x-4 button {
        width: 100%;
    }
    
    #stream-player {
        min-height: 300px;
    }
}

/* Fullscreen styles */
#iframe-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
}

/* Ensure body doesn't scroll when in fullscreen */
body.fullscreen {
    overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}