/* Comments Section Styling */
.comments-section {
    padding-top: 2rem;
}

.comment-item {
    transition: all 0.3s ease;
}

.comment-content-wrapper {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.comment-content-wrapper::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #f8f9fa;
}

.comment-body {
    line-height: 1.6;
    font-size: 0.95rem;
}

.x-small {
    font-size: 0.75rem;
}

.comment-actions .btn-link {
    font-size: 0.8rem;
    color: #6c757d;
}

.comment-actions .btn-link:hover {
    color: #0d6efd;
}

.comment-actions .text-danger:hover {
    color: #dc3545 !important;
}

.replies-list {
    border-left: 2px solid #e9ecef;
    padding-left: 1.5rem;
}

/* Comment Form */
.comment-form .form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.comment-form .form-control:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

.comment-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Pagination Styling */
.comments-section .pagination {
    margin-bottom: 0;
}

.comments-section .page-link {
    border-radius: 0.5rem;
    margin: 0 2px;
    border: none;
    color: #6c757d;
}

.comments-section .page-item.active .page-link {
    background-color: #0d6efd;
    color: #fff;
}
