.comments-section {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comments-section #loginPrompt { display: none; }
.comments-section .comment-form { display: none; }

.comment-item {
    padding: 0.75rem 0;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(0,0,0,0.02);
}

.comment-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comment-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f172a;
}

#commentText {
    resize: none;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#commentText:focus {
    border-color: #2962ff;
    box-shadow: 0 0 0 0.2rem rgba(41,98,255,0.1);
}

.comment-form {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.comment-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 150px;
    gap: 2px;
    color: #64748b;
    text-align: right;
}

.comment-author {
    font-weight: 600;
    color: #334155;
}

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

#postComment {
    background: linear-gradient(45deg, #2962ff, #3d5afe);
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

#postComment:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(41,98,255,0.2);
}

.pagination {
    margin-top: 0.75rem;
}
.pagination .page-link {
    min-width: 36px;
    text-align: center;
}
.pagination .page-item.active .page-link {
    background-color: #2962ff;
    border-color: #2962ff;
    color: #fff;
}
