.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .video-header h3 {
        font-size: 1.2rem;
        color: #1a1a1a;
        font-weight: 600;
    }

.video-player {
    background: #000;
    border-radius: 12px;
    aspect-ratio: 16/9;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-placeholder {
    color: #666;
    text-align: center;
    padding: 2rem;
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

    .play-button:hover {
        transform: scale(1.1);
        background: white;
    }

    .play-button::after {
        content: '';
        border-left: 25px solid #0066cc;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        margin-left: 5px;
    }

.video-info {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}


/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #6b7280;
}

    .loading::after {
        content: '';
        width: 48px;
        height: 48px;
        border: 4px solid #e5e7eb;
        border-top-color: #0066cc;
        border-radius: 50%;
        animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Docked View Styles */
.docked-view {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

    .video-header h3 {
        margin: 0;
        color: #343a40;
    }

.fullscreen-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-wrapper {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .video-wrapper:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

.video-info {
    margin-bottom: 15px;
}

    .video-info h5 {
        margin: 0 0 8px 0;
        color: #495057;
        font-weight: 600;
    }

    .video-info p {
        margin: 0;
        color: #6c757d;
        font-size: 14px;
    }

.video-player {
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.video-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

    .video-controls .btn {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 4px;
    }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    width: 95vw;
    max-width: 1400px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px;
    border-bottom: 1px solid #333;
    background: #2d2d2d;
    border-radius: 12px 12px 0 0;
}

.modal-title h4 {
    margin: 0 0 8px 0;
    color: white;
    font-weight: 600;
}

.modal-title p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

.close-btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #666;
}

.modal-body {
    padding: 30px;
}

.fullscreen-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.fullscreen-video-wrapper {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #444;
}

.fullscreen-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

    .fullscreen-video-header h6 {
        margin: 0;
        color: white;
        font-weight: 600;
    }

.video-time {
    color: #ccc;
    font-size: 12px;
    font-family: monospace;
}

.fullscreen-video-player {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.fullscreen-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.control-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.fullscreen-controls .btn {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-details {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #444;
}

    .video-details h5 {
        margin: 0 0 20px 0;
        color: white;
        font-weight: 600;
        border-bottom: 1px solid #444;
        padding-bottom: 10px;
    }

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

    .detail-item strong {
        color: white;
        display: block;
        margin-bottom: 4px;
    }

/* Video.js Theme Customization */
.video-js {
    border-radius: 6px;
}

    .video-js .vjs-big-play-button {
        background-color: rgba(0, 123, 255, 0.8);
        border-color: #007bff;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        line-height: 80px;
        margin-left: -40px;
        margin-top: -40px;
    }

    .video-js .vjs-control-bar {
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
        border-radius: 0 0 6px 6px;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}