/* Video Player Styles */
.watch-page {
    padding: 20px 0;
    animation: fadeIn 0.4s ease forwards;
}

.watch-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    width: 100%;
}

.main-player-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.player-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.player-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Sidebar for related videos */
.watch-sidebar {
    background: #fdfdfd;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--text-border);
}

.watch-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rec-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.rec-item:hover {
    transform: translateX(5px);
}

.rec-item img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.rec-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.rec-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.video-details-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.video-details-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.badge {
    background: var(--color-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 1100px) {
    .watch-layout {
        grid-template-columns: 1fr;
    }

    .watch-sidebar {
        width: 100%;
    }
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
