/* Live Stream Styling */
.live-icon {
    margin-right: 5px;
    transition: color 0.3s ease;
}

.live-indicator {
    background: #ff0000;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.live-pulse {
    animation: livePulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes livePulse {
    0% { color: #ff0000; }
    50% { color: #ff6666; }
    100% { color: #ff0000; }
}

/* Live Stream Modal */
.live-stream-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.live-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.live-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.live-modal-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.live-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.live-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.live-modal-body {
    padding: 30px;
}

#youtube-player-container {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.live-info {
    text-align: center;
    color: white;
}

.live-info h3 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.live-info p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.live-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.live-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.live-actions .btn-primary {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.live-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.live-actions .btn-secondary {
    background: #333;
    color: #fff;
    border: 1px solid #555;
}

.live-actions .btn-secondary:hover {
    background: #444;
    transform: translateY(-2px);
}

/* Admin Live Stream Controls */
.admin-live-controls {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.admin-live-controls h3 {
    color: #ff6b35;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-control-form {
    display: grid;
    gap: 15px;
}

.live-control-form .form-group {
    margin-bottom: 15px;
}

.live-control-form label {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-weight: 500;
}

.live-control-form input,
.live-control-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.live-control-form input:focus,
.live-control-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.live-control-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.live-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.live-status-indicator.active {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.live-status-indicator.inactive {
    background: #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .live-modal-header {
        padding: 15px;
    }
    
    .live-title {
        font-size: 1.1rem;
    }
    
    .live-modal-body {
        padding: 20px;
    }
    
    .live-actions {
        flex-direction: column;
    }
    
    .live-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .live-control-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .live-indicator {
        display: none;
    }
    
    .nav-link {
        font-size: 14px;
    }
}
