/* Page title styling */
.page-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Video card improvements */
.video-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    color: white;
    text-decoration: none;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Video thumbnail container */
.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

/* Premium badge */
.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Duration badge */
.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Video info section */
.video-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.channel-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-name {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    font-size: 0.9rem;
    color: #bbbbbb;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video meta information */
.video-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    width: 12px;
}

.video-meta .category a {
    color: #007bff;
    text-decoration: none;
}

.video-meta .category a:hover {
    text-decoration: underline;
}

/* Video actions */
.video-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.video-actions .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* User info in header */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-right: 15px;
}

.username {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
}

/* Sidebar video count */
.video-count {
    font-size: 0.8rem;
    color: #888;
    font-weight: normal;
}

/* Category link styling */
.category-link {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-link:hover {
    color: #007bff;
    text-decoration: none;
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-thumbnail img {
        height: 180px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: 0.95rem;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .user-info {
        display: none;
    }
}