/* Video Comments Section Styles */
.comments-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 1px solid #333;
}

.comments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title i {
    margin-right: 10px;
}

.section-subtitle {
    color: #aaa;
    font-size: 1rem;
    margin: 0;
}

/* Comment Form Styles */
.comment-form-wrapper {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #404040;
}

.guest-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.guest-input-group {
    position: relative;
}

.guest-input {
    background: #1f1f1f;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.guest-input:focus {
    background: #252525;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    color: #fff;
}

.comment-textarea-wrapper {
    margin-bottom: 1rem;
}

.comment-textarea {
    background: #1f1f1f;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
}

.comment-textarea:focus {
    background: #252525;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    color: #fff;
}

.comment-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.comment-submit-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.comment-submit-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.comment-submit-btn i {
    margin-right: 8px;
}

.comment-moderation-text {
    color: #888;
    font-size: 0.85rem;
}

/* Comments List Styles */
.comments-list {
    margin-top: 2rem;
}

.comment-item {
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.comment-item:hover {
    border-color: #555;
    background: #2f2f2f;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #555;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    color: #888;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.member-badge {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-date {
    color: #888;
    font-size: 0.85rem;
}

.comment-content {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* No Comments State */
.no-comments {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}

.no-comments i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-comments p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-comments small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Comments Pagination */
.comments-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guest-info-row {
        grid-template-columns: 1fr;
    }
    
    .comment-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-author {
        width: 100%;
    }
    
    .comment-date {
        align-self: flex-end;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .comment-form-wrapper {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .author-avatar {
        width: 35px;
        height: 35px;
    }
    
    .comment-textarea {
        min-height: 80px;
    }
}
