﻿
/* ============================================
       استایل‌های اختصاصی صفحه پخش ویدیو
       ============================================ */
.video-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.video-breadcrumb {
    background: transparent;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef2f6;
}

.video-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
}

    .video-breadcrumb-item a {
        color: #4a5568;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .video-breadcrumb-item a:hover {
            color: #dc3545;
        }

    .video-breadcrumb-item.active {
        color: #dc3545;
        font-weight: 500;
    }

.video-breadcrumb-sep {
    color: #cbd5e0;
    font-size: 12px;
}

/* پلیر ویدیو */
.video-player-wrapper {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    position: relative;
}

    .video-player-wrapper video {
        width: 100%;
        display: block;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

/* اطلاعات ویدیو */
.video-info-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

.video-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 15px;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
}

    .video-stat-item i {
        color: #dc3545;
    }

.video-description {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
}

    .video-description p {
        font-size: 14px;
        line-height: 1.8;
        color: #4a5568;
        margin-bottom: 15px;
    }

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.video-tag {
    background: #e9ecef;
    color: #4a5568;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .video-tag:hover {
        background: #dc3545;
        color: white;
    }

/* سایدبار ویدیوهای مرتبط */
.related-videos-sidebar {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    margin-bottom: 25px;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #dc3545;
    display: inline-block;
}

.related-video-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

    .related-video-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .related-video-item:hover {
        transform: translateX(-5px);
    }

.related-video-img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.related-video-info {
    flex: 1;
}

.related-video-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.45;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .related-video-title a {
        color: #2d3748;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .related-video-title a:hover {
            color: #dc3545;
        }

.related-video-meta {
    font-size: 11px;
    color: #6c757d;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .related-video-meta i {
        color: #dc3545;
    }

/* محصولات مرتبط */
.related-product-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

    .related-product-item:hover {
        transform: translateX(-5px);
    }

.related-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.related-product-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .related-product-title a {
        color: #2d3748;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .related-product-title a:hover {
            color: #dc3545;
        }

/* بخش نظرات */
.comments-section {
    margin-top: 30px;
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #dc3545;
    display: inline-block;
}

.comment-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

    .comment-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f6;
}

.comment-author {
    font-weight: 700;
    color: #2d3748;
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
}

.comment-text {
    color: #4a5568;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 12px;
}

.comment-positives {
    background: #e8f5e9;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 12px;
}

.comment-negatives {
    background: #ffebee;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 12px;
}

.comment-response {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    border-right: 3px solid #dc3545;
}

.comment-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .video-title {
        font-size: 20px;
    }

    .related-video-img {
        width: 100px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .video-page-container {
        padding: 0 15px;
    }

    .video-title {
        font-size: 18px;
    }

    .video-stats {
        gap: 12px;
    }

    .video-stat-item {
        font-size: 12px;
    }

    .related-video-img {
        width: 90px;
        height: 55px;
    }

    .related-video-title {
        font-size: 12px;
    }
}


