/* Comment System Styles */
.comment-option {
    margin-top: 30px;
}

.co-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.co-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.co-widget {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.like-btn, .reply-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.like-btn:hover, .reply-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.like-btn.liked {
    color: #e74c3c;
}

.like-btn.liked i {
    color: #e74c3c;
}

.like-count, .share-count {
    margin-left: 5px;
    font-weight: 600;
}

.co-pic {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.co-pic img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.co-pic h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.co-text p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #555;
}

.co-text small {
    color: #999;
    font-size: 12px;
}

/* Reply Form Styles */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #363636;
}

.reply-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    background: #151515;
    color: white;
}

.reply-form textarea:focus {
    outline: none;
    border-color: #363636;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.reply-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.reply-form button:hover {
    background: #0056b3;
}

/* Comment Form Styles */

#comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

#comment-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}


/* Share Button Styles */
.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.share-btn:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.share-btn[data-platform="facebook"]:hover {
    background: #1877f2;
    color: white;
}

.share-btn[data-platform="twitter"]:hover {
    background: #1da1f2;
    color: white;
}

.share-btn[data-platform="email"]:hover {
    background: #ea4335;
    color: white;
}

.share-count {
    margin-left: 5px;
    font-weight: 600;
}

/* Form Button Styles */
.co-widget form {
    margin: 0;
    padding: 0;
}

.co-widget form button {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.co-widget form button:hover {
    background: #f8f9fa;
    color: #333;
}

.co-widget form button.liked {
    color: #e74c3c;
}

.co-widget form button.liked i {
    color: #e74c3c;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.pagination-wrapper .pagination {
    justify-content: center;
}

.pagination-wrapper .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 4px;
}

.pagination-wrapper .page-link:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.pagination-wrapper .page-item.active .page-link {
    background: #007bff;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .co-item {
        padding: 15px;
    }
    
    .reply-comment {
        margin-left: 15px;
        padding-left: 15px;
    }
    
    .leave-comment {
        padding: 20px;
    }
    
    .co-widget {
        flex-direction: column;
        gap: 5px;
    }
    
    .like-btn, .reply-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Loading States */
.like-btn.loading, .reply-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error Messages */
.comment-message {
    padding: 10px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
}

.comment-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Empty State */
.comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.comments-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.comments-empty h6 {
    margin-bottom: 10px;
    color: #333;
}

.comments-empty p {
    margin: 0;
    font-size: 14px;
}
